Various commands to get the PC specification in Linux

Various commands to get the PC specification in Linux

To get the number of sockets, cores per socket, threads per core

lscpu | grep -E '^Thread|^Core|^Socket|^CPU\('

To get cache size, CPU name, frequency rate

cat /proc/cpuinfo

To get GPGPU information (nvidia driver is required), including memory spaces, driver version, cuda toolkit version, gpgpu name, etc...

nvidia-smi

To get memory spaces

free

Get disk space

df
Buy Me A Coffee