lscpu command produces incorrect output with the options -b and -c
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