add nproc txt command, unify procesor info in lscpu and /proc/cpuinfo (#1343)

Signed-off-by: Matej Dujava <mdujava@kocurkovo.cz>
Co-authored-by: Matej Dujava <mdujava@kocurkovo.cz>
This commit is contained in:
Matej Dujava 2020-05-05 04:08:22 +02:00 committed by GitHub
parent edf4d01626
commit c825c12032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -1,21 +1,21 @@
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
CPU(s): 2
On-line CPU(s) list: 0-1
Thread(s) per core: 1
Core(s) per socket: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 44
Stepping: 1
Model: 23
Stepping: 6
CPU MHz: 2200.000
BogoMIPS: 4400.00
BogoMIPS: 4270.03
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
NUMA node0 CPU(s): 0
L2 cache: 6144K
NUMA node0 CPU(s): 0-1

View File

@ -0,0 +1 @@
2