summaryrefslogblamecommitdiffstats
path: root/sys-utils/lscpu.1
blob: 5818db989d8aceacf5c0bd69cf311d649bbd08a7 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                            

            



                                                                     

                                                                                                            


                                                                   

                     
                     

                      
                                                  



                                                                               
        

                                                                             

                                                
          
   
                          

                           
                

                                                                         
.\" Process this file with
.\" groff -man -Tascii lscpu.1
.\"
.TH LSCPU 1 "JULY 2008" Linux "User Manuals"
.SH NAME
lscpu \- CPU architecture information helper
.SH SYNOPSIS
.B lscpu
.RB [ \-hp ]
.SH DESCRIPTION
.B 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
human-readable format. It supports both online and offline CPUs. 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.
.SH OPTIONS
.TP
.BR \-h , " \-\-help"
Print a help message.
.TP
.BR \-p , " \-\-parse"
Print out in parsable instead of printable format.
.TP
.BR \-x , " \-\-hex"
Use hexadecimal masks for CPU(s) sets (e.g. 0x3). The default is print the sets
in the list format (e.g. 0,1).
.SH BUGS
The basic overview about CPU family, model, etc. is always based on the first
CPU only.

Sometimes in Xen Dom0 kernel reports wrong data.
.SH AUTHOR
.nf
Cai Qian <qcai@redhat.com>
Karel Zak <kzak@redhat.com>
.fi
.SH AVAILABILITY
The lscpu command is part of the util-linux package and is available from
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.