Linux commands for CPU, RAM and GPU info

Some helpful commands for showing hardware information on Linux.

Show memory speed

sudo dmidecode --type 17

Show CPU Frequency in MHz

cat /proc/cpuinfo | grep MHz

Show a bunch of system info with inxi, may need to install it.


Another cool program is screenfetch. Gives a nice overview of system specs

sudo dnf install screenfetch

and run with


VMware esxtop, looking for CPU performance issues has some guidance on thresholds for different metrics.

Run esxtop, hit the “c” key to view CPU info and compare the usage with the thresholds.

Here are few from the above link.

Metric Threshold
%RDY 10

Note: if your in esxtop you can hit the “f” key and it’ll give you a menu to specify more fields to display.