Skip to content

freeyssu/linux-hw-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Linux-HW-Info

Supported HW

chassis, system, cpu, mainboard, dimm, gpu, psu, nic, transceiver

Platform

linux / python3

Requirements

  • one of nvidia-smi or nvflash required to collect gpu meta info
  • lshw required to collect nic meta info

Usage

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages