Adsense code (2021-10-05)

Monday, August 25, 2014

Linux command, lscpu, to get CPU architecture information

The Linux command lscpu  gathers  CPU  architecture  information  like  number  of  CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches,  CPU family,  model,  bogoMIPS,  byte  order  and  stepping  from  sysfs and /proc/cpuinfo, and prints it in a human-readable format.   It  supports both online and offline CPUs.  It can also print out in a parsable for‐mat, including how different caches are shared by different CPUs, which can be fed to other programs.