]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: add online state to output
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 6 Sep 2011 00:52:59 +0000 (02:52 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 9 Sep 2011 21:49:22 +0000 (23:49 +0200)
commita7e5300c9714db147a3a700b7ebc55e391922d7d
tree0f181750274ed53510c48d38886b4c739087c652
parentd231eea114e61e5237f482c3477fc8de6b6a7c43
lscpu: add online state to output

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>
sys-utils/lscpu.1
sys-utils/lscpu.c