hardinfo is a graphical system information tool for Linux systems that displays hardware information in a GUI window. It provides detailed information about the hardware components of a system, including the processor, memory, storage, and network devices.
hardinfo is written in C and uses the GTK+ toolkit to display the information in a user-friendly format. The information is organized into different sections such as CPU, Memory, Storage Devices, Hardware Sensors, and PCI Devices. To use hardinfo, simply launch the command in the terminal and it will open a GUI window displaying all the hardware information. The program can also generate a report in HTML format, which can be saved to a file or printed.
It provides a lot of information about the system, including the processor model, clock speed, cache size, and number of cores. It also shows the memory size, type, and clock speed. Storage devices like hard drives and solid-state drives are also displayed with details of the size, file system, and read/write speeds. Hardware sensors like temperature and voltage, as well as PCI devices like sound cards and network adapters, can also be viewed.
If you encounter the below error while running the command hardinfo:
hardinfo: command not found
you may try installing the below package as per your choice of distribution:
|Debian||apt-get install hardinfo|
|Ubuntu||apt-get install hardinfo|
|Arch Linux||pacman -S hardinfo|
|Kali Linux||apt-get install hardinfo|
|Raspbian||apt-get install hardinfo|
hardinfo Command Examples
1. Start hardinfo:
2. Print report to standard output:
# hardinfo -r
3. Save report to HTML file:
# hardinfo -r -f html > hardinfo.html