* lscpu command produces incorrect output with the options -b and -c
@ 2012-08-05 10:31 faizan husain
0 siblings, 0 replies; only message in thread
From: faizan husain @ 2012-08-05 10:31 UTC (permalink / raw)
To: util-linux
Options for lscpu command are giving incorrect output. As per the man page or help,
'-b' option should limit the output to online CPUs and
'-c' option should limit the output to offline CPUs.
But we could see the output is same for '-a','-b' and '-c' options.
---Steps to Reproduce---
[root@mx3650m2 ~]# lscpu -a
...
...
CPU(s): 16
On-line CPU(s) list: 0-5,7-13,15
Off-line CPU(s) list: 6,14
...
...
[root@mx3650m2 ~]# lscpu -b
Architecture: x86_64
...
...
CPU(s): 16
On-line CPU(s) list: 0-5,7-13,15
Off-line CPU(s) list: 6,14
...
...
[root@mx3650m2 ~]# lscpu -c
...
...
CPU(s): 16
On-line CPU(s) list: 0-5,7-13,15
Off-line CPU(s) list: 6,14
...
...
patch in the next mail fixes this issue.
Thanks
Faizan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-05 10:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-05 10:31 lscpu command produces incorrect output with the options -b and -c faizan husain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).