lscpu — CPU architecture information helper
lscpu
[−hp
]
lscpu gathers CPU architecture information like number of CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches, CPU family, model and stepping from sysfs and /proc/cpuinfo, and prints it in human-readable format. Alternatively, it can print out in parsable format including how different caches are shared by different CPUs, which can also be fed to other programs.
−h,
−−help
Print a help message.
−p,
−−parse
Print out in parsable instead of printable format.