From 5dd7507c18fa3d739266aeda4847be41e0613fad Mon Sep 17 00:00:00 2001 From: Cai Qian Date: Thu, 17 Jul 2008 14:19:40 +0200 Subject: 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 Signed-off-by: Cai Qian Signed-off-by: Karel Zak --- sys-utils/lscpu.1 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sys-utils/lscpu.1 (limited to 'sys-utils/lscpu.1') 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 +.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/. -- cgit v1.2.3-55-g7522