-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
rhel-10.0
-
None
-
No
-
Low
-
rhel-sst-cs-base-utils
-
ssg_core_services
-
3
-
False
-
-
None
-
None
-
None
-
None
-
-
s390x
-
None
What were you trying to do that didn't work?
In a test we are using "nproc --all" to take all the CPUs on the machine so we could run tasks in parallel with taskset. In a virtual s390x machine with 2 cores the command return that it has 64 cores (I imagine is the total cores of the parent machine) and it didn't agree with the lscpu comand output.
$ nproc --all 64 $ lscpu ... CPU(s): 2 ...
What is the impact of this issue to you?
Low since we can migrate to lscpu
Please provide the package NVR for which the bug is seen:
coreutils-9.5-5.el10.s390x.rpm
coreutils-common-9.5-5.el10.s390x.rpm
coreutils-single-9.5-5.el10.s390x.rpm
How reproducible is this bug?:
Always
Steps to reproduce
- Run "nproc --all" to an s390x virtual machine
Expected results
nproc --all will give me the cores of the virtual machine
Actual results
nproc --all give me more cores (probably all the cores on the physical machine)