Unix/Linux Go Back    

Linux 2.6 - man page for lscpu (linux section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

LSCPU(1)				   User Manuals 				 LSCPU(1)

       lscpu - CPU architecture information helper

       lscpu [-hpx] [-s directory]

       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 sup-
       ports both online and offline CPUs.  It can also print out in a parsable format, including
       how different caches are shared by different CPUs, which can be fed to other programs.

       -h, --help
	      Print a help message.

       -p, --parse
	      Print out in parsable instead of human-readable format.

       -s, --sysroot directory
	      Use  the specified directory as system root.  This allows you to inspect a snapshot
	      from a different system.

       -x, --hex
	      Use hexadecimal masks for CPU sets (e.g. 0x3).  The default is to print the sets in
	      list format (e.g. 0,1).

       The basic overview about CPU family, model, etc. is always based on the first CPU only.

       Sometimes in Xen Dom0 the kernel reports wrong data.

       Cai Qian <qcai@redhat.com>
       Karel Zak <kzak@redhat.com>

       The  lscpu  command is part of the util-linux package and is available from ftp://ftp.ker-

Linux					  February 2011 				 LSCPU(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 07:36 AM.