Skip to content

lpereira/hardinfo

Folders and files

NameName
Last commit message
Last commit date
Oct 3, 2020
Dec 29, 2020
Mar 24, 2025
May 10, 2020
Apr 9, 2017
Oct 13, 2023
Aug 15, 2023
Mar 24, 2025
Feb 2, 2021
May 24, 2023
Oct 27, 2023
May 15, 2023
Mar 24, 2025
Jul 5, 2019
Jun 30, 2019
Dec 4, 2018
May 15, 2023
Jul 30, 2023
Oct 24, 2019
May 4, 2010
Mar 20, 2024
May 6, 2010
Dec 29, 2020
Nov 8, 2021
Jun 2, 2021

Repository files navigation

Warning

This repository is being decomissioned and will remain as a personal archive of HardInfo source code. The development continues in the @hardinfo2/hardinfo2 repository. This branch will soon become a mirror of the main branch from the hardinfo2 repository.

HARDINFO

HardInfo is a system profiler and benchmark for Linux systems. It is able to obtain information from both hardware and basic software, and organize it in a simple to use GUI.

Features include:

  • Report generation (in either HTML or plain text)
  • Benchmark result synchronization
  • Ability to explore the information on remote computers

Status

Capabilities: HardInfo currently detects most software and hardware detected by the OS. Features: The remote sync was disabled due to server loss. Development: Currently done by contributors, a new dedicated maintainer is needed.

Server code can be found in the "server" branch: https://github.com/lpereira/hardinfo/tree/server

DEPENDENCIES

Required:

  • GTK+ 2.10 (or newer)
  • GLib 2.10 (or newer)
  • Zlib (for zlib benchmark)

Optional (for synchronization/remote):

  • Libsoup 2.24 (or newer)

BUILDING

Create a build directory and build from there:

	hardinfo $ mkdir build
	hardinfo $ cd build
	build $ cmake ..
	build $ make

There are some variables that can be changed:

  • CMAKE_BUILD_TYPE: Can either be Release or Debug.
    • [Default: Release] Debug prints messages to console and is not recommended for general use.
  • CMAKE_INSTALL_PREFIX: Sets the installation prefix.
    • [Default: /usr/local]: Distributions usually change this to /usr.
  • HARDINFO_NOSYNC: Disables network synchronization.
    • [Default: 1]: Disabled by default due to the server being lost.

To set a variable, use cmake's -D parameter. For example:

build $ cmake .. -DCMAKE_BUILD_TYPE=Debug

Network sync is enabled if libsoup is detected. If having trouble building with libsoup, disable it with:

build $ cmake -DHARDINFO_NOSYNC=1

SETTING UP

Most hardware is detected automatically by HardInfo, however, some hardware needs manual set up. They are:

Sensors

lm-sensors: If your computer is compatible with lm-sensors module, use by example the sensors-detect program included with the lm-sensors package of Debian based distros, and be sure to have the detected kernel modules loaded.

hddtemp: To obtain the hard disk drive temperature, be sure to run hddtemp in daemon mode, using the default port.

Memory Speed

The module eeprom must be loaded to display info about your currently installed memory. Load with modprobe eeprom and refresh the module screen.