~ubuntu-branches/ubuntu/precise/util-linux/precise-proposed

« back to all changes in this revision

Viewing changes to sys-utils/lscpu.1

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-06-20 22:31:50 UTC
  • mfrom: (1.6.3 upstream) (4.5.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110620223150-lz8wrv0946ihcz3z
Tags: 2.19.1-2ubuntu1
* Merge from Debian unstable, remaining changes:
  - Build for multiarch.
  - Add pre-depends on multiarch-support.
  - configure.ac: don't try to be clever about extracting a path name from
    $libdir to append to /usr in a way that's not overridable; instead,
    reuse the built-in configurable libexecdir.
  - Fix up the .pc.in files to know about libexecdir, so our substitutions
    don't leave us with unusable pkg-config files.
  - Install custom blkid.conf to use /dev/.blkid.tab since we don't
    expect device names to survive a reboot
  - Mention mountall(8) in fstab(5) manpages, along with its special
    options.
  - Since upstart is required in Ubuntu, the hwclock.sh init script is not
    called on startup and the hwclockfirst.sh init script is removed.
  - Drop depends on initscripts for the above.
  - Replace hwclock udev rule with an Upstart job.
  - For the case where mount is called with a directory to mount, look
    that directory up in mountall's /lib/init/fstab if we couldn't find
    it mentioned anywhere else.  This means "mount /proc", "mount /sys",
    etc. work.
  - mount.8 points to the cifs-utils package, not the obsolete smbfs one. 
* Dropped changes:
  - mount.preinst: lsb_release has been fixed in lucid and above to be
    usable without configuration, so we don't have to diverge from Debian
    here anymore.
* Changes merged upstream:
  - sfdisk support for '+' with '-N'
  - mount/umount.c: fix a segfault on umount with empty mtab entry
  - Fix arbitrary unmount with fuse security issue

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" Process this file with
2
2
.\" groff -man -Tascii lscpu.1
3
3
.\"
4
 
.TH LSCPU 1 "JULY 2008" Linux "User Manuals"
 
4
.TH LSCPU 1 "February 2011" Linux "User Manuals"
5
5
.SH NAME
6
6
lscpu \- CPU architecture information helper
7
7
.SH SYNOPSIS
8
8
.B lscpu
9
 
.RB [ \-hp ]
 
9
.RB [ \-hpx ]
 
10
.RB [ \-s
 
11
.IR directory ]
10
12
.SH DESCRIPTION
11
13
.B lscpu
12
14
gathers CPU architecture information like number of CPUs, threads,
13
15
cores, sockets, NUMA nodes, information about CPU caches, CPU family,
14
 
model and stepping from sysfs and /proc/cpuinfo, and prints it in
15
 
human-readable format. Alternatively, it can print out in parsable
16
 
format including how different caches are shared by different CPUs,
17
 
which can also be fed to other programs.
 
16
model, bogoMIPS, byte order and stepping from sysfs and /proc/cpuinfo, and prints it in
 
17
a human-readable format.  It supports both online and offline CPUs.
 
18
It can also print out in a parsable format,
 
19
including how different caches are shared by different CPUs,
 
20
which can be fed to other programs.
18
21
.SH OPTIONS
19
22
.TP
20
23
.BR \-h , " \-\-help"
21
24
Print a help message.
22
25
.TP
23
26
.BR \-p , " \-\-parse"
24
 
Print out in parsable instead of printable format.
 
27
Print out in parsable instead of human-readable format.
 
28
.TP
 
29
.BR \-s , " \-\-sysroot " \fIdirectory\fP
 
30
Use the specified \fIdirectory\fP as system root.  This allows you to inspect
 
31
a snapshot from a different system.
 
32
.TP
 
33
.BR \-x , " \-\-hex"
 
34
Use hexadecimal masks for CPU sets (e.g. 0x3).  The default is to print the sets
 
35
in list format (e.g. 0,1).
25
36
.SH BUGS
26
 
The program at the moment does not handle the system installed with
27
 
different types of physical processors.
 
37
The basic overview about CPU family, model, etc. is always based on the first
 
38
CPU only.
28
39
 
29
 
Sometimes in Xen Dom0 kernel reports wrong data.
 
40
Sometimes in Xen Dom0 the kernel reports wrong data.
30
41
.SH AUTHOR
 
42
.nf
31
43
Cai Qian <qcai@redhat.com>
 
44
Karel Zak <kzak@redhat.com>
 
45
.fi
32
46
.SH AVAILABILITY
33
 
The setarch command is part of the util-linux-ng package and is available from
34
 
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
 
47
The lscpu command is part of the util-linux package and is available from
 
48
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.