lscpu command produces incorrect output with the options -b and -c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux