Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to inventory the hardware on some Linux clients I recently "inherited". In the past, on Windows, I've used the excellent CPU-z to generate the hardware inventory. Is there a Linux equivalent?


locked by HopelessN00b Dec 5 '14 at 6:30

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

Would you mind editing your question and changing the subject to describe what CPU-z does? The only way I caught this question was from the tags, so with a clearer title you may catch the attention of other Linux experts. (Remember, many gurus might only be familiar with one platform.) – jhs May 3 '09 at 14:05
For those not aware of CPUz its a tool that is used on Windows to display detailed CPU, motherboard and memory information. – Adam Gibbins May 3 '09 at 14:18
up vote 2 down vote accepted

you can use CPU-G, see the example here

CPU-G is an application that shows useful information about your hardware. It collects and displays information about your CPU, RAM, Motherboard, some general information about your system and more

That I will definitely have to test later tonight. – AnonJr May 25 '11 at 14:07
% dmidecode
% cat /proc/cpuinfo
% lspci -vvv

As root will all show you info about both CPU and memory, you might want to run update-pciids prior to some of those commands in download the newest version of the PCI ID list to ensure everything reports your hardware correctly.


Other answers about /proc/cpuinfo, lspci, dmidecode and other tools are helpful. I would try to get away with them first if I could.

But for big jobs, HAL is the major mechanism to enumerate and identify hardware on Linux. Strictly, speaking, HAL is an API accessible over the system DBus, but there are command-line tools to make HAL information available for human or script consumption.

To start out, try this:

$ lshal

The UDI is a namespace within HAL for all devices in your system. Everything else is key/value pairs where the keys are in a hierarchy defined in the HAL specification

I'm not familiar with CPU-z, but if you are interested in CPU information, search or grep for info.category = 'processor' which will give you a list of processors on the system, the manufacturer, whether they can throttle, etc. In general, info.category is the basic grouping of devices (battery, AC adapter, disk, etc.)

You should post the last paragraph as separate question if you really want answers ;) – David Schmitt May 3 '09 at 15:29
Yes, I am unsure whether to post it here or on Stack Overflow. Maybe I'll start here. – jhs May 3 '09 at 18:14
% cat /proc/cpuinfo
% dmidecode

x86info can decode CPU features and display them in human readable from.


You can list all hardware using




Not the answer you're looking for? Browse other questions tagged or ask your own question.