summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.1
Commit message (Collapse)AuthorAgeFilesLines
* docs: add lscpu max mhz to manual and bash completionSami Kerola2013-06-071-0/+5
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* doc: remove incorrect spaces from lscpu synopsis in manpageBenno Schulenberg2013-01-301-30/+29Star
| | | | | | Also normalize text spacing and add some formatting. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* lscpu: limit options --all, --online, --offline to parsable and extended outputHeiko Carstens2012-08-131-3/+6
| | | | | | | Passing the --all, --online or --offline options for the output summary doesn't make much sense. It should be limited to the two list output options. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* lscpu: man page updateHeiko Carstens2011-10-111-39/+97
| | | | | | | Rather large man page update which adds more information. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: add --offline optionHeiko Carstens2011-09-271-3/+6
| | | | | | | | | | | | | | Implement "--offline" option which only prints offline cpus. As a side effect we can get rid of the internal "allcpus" flag, since if we want to print informations for online and offline cpus we simply set both flags. When reading sysfs attributes of cpus this is now done for all cpus, since e.g. the topology informations of the online cpus may influence the topology informations of the offline cpus. This mainly because online cpus may contain masks which include offline cpus while offline cpus have a missing topology directory. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* lscpu: add --online optionKarel Zak2011-09-091-1/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: add --all optionHeiko Carstens2011-09-091-1/+3
| | | | | | | The parsable output includes only lines of online CPUs. To also include lines for all offline CPUs the "--all" option can be specified. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* lscpu: add online state to outputHeiko Carstens2011-09-091-1/+1
| | | | | | | | | | | | | | lscpu only prints lines for online CPUs. At least for the human readable list the offline CPUs are of interest as well. In order to distinguish between online and offline CPUs introduce the "Online" column. By default the human readable output now displays online and offline CPUs. The parsable output is not changed. It will print only lines for online CPUs as it used to do. [kzak@redhat.com: - minor changes] Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: add configured state to outputHeiko Carstens2011-09-091-1/+1
| | | | | | | | | CPUs may be in a configured or deconfigured state depending if the CPU resource may be used by the guest. If a CPU is in configured state the guest may use it (i.e. set it online). It it is in deconfigured state it cannot use it before changing its state to configured. Display this CPU attribute as well. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* lscpu: add human readable extended cpu table outputKarel Zak2011-09-091-8/+21
| | | | | | | | | | | | | | | | | Based on patch from Heiko Carstens <heiko.carstens@de.ibm.com>: lscpu currently only supports a parsable output which contains a row for each cpu and its attributes. This output contains only comas as separators and is hard to read for humans. Therefore add a new option "-e | --extended" which outputs the rows in a much more readable (and non-parsable) form. Just like for the -p option a list of columns can be specified that shall be included in the output. By default this option will print all columns that contain data. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: add --version optionHeiko Carstens2011-09-091-1/+4
| | | | | | | Add a --version option like most other tools have it. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'chcpu' of ↵Karel Zak2011-08-311-0/+2
|\ | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/heiko/util-linux * 'chcpu' of git://git.kernel.org/pub/scm/linux/kernel/git/heiko/util-linux: chcpu: new tool cpuset: add option to allow cpulist_parse() to fail
| * chcpu: new toolHeiko Carstens2011-08-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | chcpu can modify the logical state of CPUs. It can enable and disable CPUs, scan for new CPUs, change the CPU dispatching mode of the underlying hypervisor and request (configure) or give logical CPUs back (deconfigure) to the the underlying hypervisor. This is quite useful if you work a lot with virtual servers, since doing all the configuration stuff directly via sysfs becomes a pain. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* | Merge branch 'lscpu' of ↵Karel Zak2011-08-301-2/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/heiko/util-linux * 'lscpu' of git://git.kernel.org/pub/scm/linux/kernel/git/heiko/util-linux: lscpu: add physical cpu address to parseable output lscpu: add cpu polarization to parseable output lscpu: show dispatching mode lscpu: use hypervisor generated topology information lscpu: detect IBM hypervisor lscpu: fix fallback nthreads calculation lscpu: fix cpu map array sizes lscpu: fix s390 bogomips detection coding style
| * | lscpu: add physical cpu address to parseable outputHeiko Carstens2011-08-141-2/+3
| | | | | | | | | | | | | | | | | | | | | Print also the physical cpu address for each logical cpu in parsable output if selected and present via sysfs. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
| * | lscpu: add cpu polarization to parseable outputHeiko Carstens2011-08-141-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running in different dispatching mode the virtual cpus may have different polarizations. E.g. in "vertical" mode cpus may have a polarization of "vertical:high" which means the virtual cpu has dedicated physical cpu assigned. Print this information in the parsable output. Note that this breaks the current rule that a) the parseable output contains only numbers b) these numbers are equal or increased in each line Since however this new item must be selected with the "list" argument this shouldn't be a problem. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
* / docs: uniformize the header and footer lines in man pagesBenno Schulenberg2011-08-221-2/+2
|/ | | | | | | | | | Use dates without the day, use the full month name, put "util-linux" in the lower left corner, and "User Commands" or "System Administration" at the top center. Also improve here and there the one-line program description. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* lscpu: extend --parse functionalityKarel Zak2011-07-271-1/+14
| | | | | | | | | | | | | | | | | | | | ... to allow define output columns, for example: $ lscpu --parse=CPU,CORE,NODE,CACHE # CPU,Core,Node,L1d:L1i:L2 0,0,0,0:0:0 1,1,0,1:1:0 Note that CPU caches are separated by ":" in the new format. The output for --parse (without the list of the columns) is backwardly compatible, it means: $ lscpu --parse # CPU,Core,Socket,Node,,L1d,L1i,L2 0,0,0,0,,0,0,0 1,1,0,0,,1,1,0 Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: add description of --sysroot option to man page, plus grammar touchesBenno Schulenberg2011-02-081-9/+16
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: update lscpu.1 to include new additions.Davidlohr Bueso2010-09-171-2/+2
| | | | Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* lscpu: add -x and {On,Off}-line CPU(s) mask/listKarel Zak2010-08-111-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: fix typo in lscpu.1Francesco Cosoleto2010-06-301-1/+1
| | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* lscpu: use cpuset masks, read data for all CPUsKarel Zak2010-06-011-2/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu.1: formattingPeter Breitenlohner2009-08-171-3/+6
| | | | Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
* lscpu: add Hypervisor detectionKarel Zak2008-10-221-0/+2
| | | | | | | | | | | | | | | This patch adds two new fields: * "Hypervisor vendor" -- based on CPUID and hypervisor specific PCI devices. lscpu(1) supports KVM, XEN, Microsoft HV now. * "Virtualization type" - "none" = Xen dom0 - "full" = full virtualization (KVM, Xen, ...) - "para" = Xen paravirtualization Co-Author: Ky Srinivasan <ksrinivasan@novell.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: new commandCai Qian2008-07-181-0/+29
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>