Use the YUM command to install pip.
$ sudo yum install python-pip python-devel
Execute the following pip command to install python-hwinfo.
$ sudo pip install python-hwinfo
Execute the following command to check the existing hardware of the local machine. The output is very clear and neat, which I have not seen in other commands.
hwinfo
Its output is divided into five categories:
- Bios Info (BIOS information): BIOS vendor name, system product name, system serial number, system unique identifier, system manufacturer, BIOS release date, and BIOS version.
- CPU Info: CPU number, supplier ID, CPU series code, model, step number, model name, CPU frequency.
- Ethernet Controller Info (network card information): vendor name, vendor ID, device name, device ID, sub-vendor name, sub-vendor ID, sub-device name, sub-device ID.
- Storage Controller Info (storage device information): vendor name, vendor ID, device name, device ID, sub-vendor name, sub-vendor ID, sub-device name, sub-device ID.
- GPU Info (GPU information): vendor name, vendor ID, device name, device ID, sub-vendor name, sub-vendor ID, sub-device name, sub-device ID.