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
To get GPGPU information (nvidia driver is required), including memory spaces, driver version, cuda toolkit version, gpgpu name, etc...
To get memory spaces
Get disk space