Search code examples
linuxstatisticshp-ux

HPUX machinfo equivalent for Linux? or What hardware am I using?


In HPUX the command "machinfo" list machine information such as Number of CPUs, Clock speed, Bus speed, processor type, Cache information, total memory, and OS version information.

Is there an equivalent Linux utility?


Solution

  • There are a lot of files in /proc that contain information about the system, e.g /proc/cpuinfo, /proc/meminfo etc. See the man page of proc for more details.

    There are also some utilities which may help you, although some of these may not be installed:

    • dmidecode
    • x86info
    • lspci
    • lsusb
    • uname

    ... and there are probably others, some of which are distribution-dependent.