summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.1
diff options
context:
space:
mode:
authorCai Qian2008-07-17 14:19:40 +0200
committerKarel Zak2008-07-18 03:01:49 +0200
commit5dd7507c18fa3d739266aeda4847be41e0613fad (patch)
treed63bf45f7a8ee769e8f0d645cae2b3845664c7de /sys-utils/lscpu.1
parentwrite: doesn't check for tty group (diff)
downloadkernel-qcow2-util-linux-5dd7507c18fa3d739266aeda4847be41e0613fad.tar.gz
kernel-qcow2-util-linux-5dd7507c18fa3d739266aeda4847be41e0613fad.tar.xz
kernel-qcow2-util-linux-5dd7507c18fa3d739266aeda4847be41e0613fad.zip
lscpu: new command
Add a lscpu(1) utility program. [kzak@redhat.com: - indent by linux-2.6/scripts/Lindent - add lscpu.{c,1} to sys-utils/Makefile.am - add NLS suport - complete code refactoring ] Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Cai Qian <qcai@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu.1')
-rw-r--r--sys-utils/lscpu.129
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-utils/lscpu.1 b/sys-utils/lscpu.1
new file mode 100644
index 000000000..78da8a1d4
--- /dev/null
+++ b/sys-utils/lscpu.1
@@ -0,0 +1,29 @@
+.\" 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 [-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 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.
+.SH OPTIONS
+.IP -h, --help
+Print a help message.
+.IP -p, --parse
+Print out in parsable instead of printable format.
+.SH BUGS
+The program at the moment does not handle the system installed with
+different types of physical processors.
+.SH AUTHOR
+Cai Qian <qcai@redhat.com>
+.SH AVAILABILITY
+The setarch command is part of the util-linux-ng package and is available from
+ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.