chassis, system, cpu, mainboard, dimm, gpu, psu, nic, transceiver
linux / python3
- one of nvidia-smi or nvflash required to collect gpu meta info
- lshw required to collect nic meta info
import module
from hw_info_collector import HWInfoCollector
hw_info_collector = HWInfoCollector()
hw_info = hw_info_collector.get_hw_meta_info() # json object returned
run directly
python hw_info_collector.py # display the result of json object