]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: add cpu polarization to parseable output
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 10 Aug 2011 08:34:33 +0000 (10:34 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Sun, 14 Aug 2011 15:34:34 +0000 (17:34 +0200)
commit2b8fcb8138ab8d6455c60b23bf75b7b3e687c6d7
tree4bdc0e055db3c6cd4445391d3029c4c0dce030cc
parenta0fff77e932b704b3d2ab0ad789d466cb42047ed
lscpu: add cpu polarization to parseable output

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