Questions tagged [lscpu]
The lscpu tag has no summary.
25 questions
19 votes
1 answer
2k views
CPU number not equal to threads per core X cores per socket X sockets
As far as I understand, the number of CPUs in my computer should be given by CPU = Thread(s) per core x Core(s) per socket x Socket(s) Here are the first few lines of the lscpu output: $ lscpu | head -...
0 votes
1 answer
169 views
why nr_involuntary_switches of a process runs on an isolated cpu is constantly increasing?
I have a server (linux 4.18+intel xeon) which has isolated cpus for latency-sensitive service. I noticed that the service process's nr_involuntary_switches is gradually increasing every a few seconds ...
0 votes
1 answer
122 views
Why is Linux in ChromeOS Flex reporting wrong number of CPU sockets?
dajnyx@penguin:~$ lscpu ... CPU(s): 2 On-line CPU(s) list: 0,1 Vendor ID: GenuineIntel Model name: Intel(R) Celeron(R) CPU 1037U @ 1.80GHz CPU ...
1 vote
1 answer
137 views
Curious lscpu Output Related to CPU Calculation
I have been trying to understand lscpu's output and came across several threads dedicated to concepts of CPUs, physical cores, and threads. Based on those threads, to get the total number of CPUs (...
-1 votes
1 answer
386 views
How to transform lscpu output to JSON format?
I've had to deal with case I need the JSON format data of lscpu output, but -J key hasn't supported. So I made simple command line script allows to transform plain output to JSON which I'll post here ...
-1 votes
1 answer
271 views
How can I find the human readable name for a CPU? [duplicate]
I need to know the name of the CPU used in a GKE cluster I have launched. The gcloud command has a --min-cpu-platform option, but my understanding is that is the minimum and I may get a later CPU ...
1 vote
1 answer
236 views
Interpret the output of lscpu
Where I work, I have access to a cluster. I logged in into one node and did "lscpu". Here's the output: Now I am very confused. If I google the CPU: Intel® Xeon® Processor E5-2699 v4: https:...
1 vote
0 answers
161 views
lscpu list different max cpu freq
Is this a bug from lscpu? How to fix it? ~$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: ...
2 votes
0 answers
940 views
What is the exact source of Architecture info in lscpu command
Tl;dr I need to mock info about CPU architecture on the server for testing purpose. The only way that I can achieve it, is by changing info source about CPU architecture, that is used by lscpu command ...
-3 votes
1 answer
57 views
grep/awk/sed lines from match until text
I would like to get the following output from lscpu: (number of cores) x (cpu model name) @ (max mhz) I already figured out the attribute I need: Model name: Core(s) per socket CPU max MHz But on ...
0 votes
2 answers
3k views
multi-core linux workstation recognizes only 1 cpu, 1 core, 1 thread
I'm using ubuntu 20.04 on Dell Precision 7820. $ uname -a Linux myhost 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Only one cpu is used/known by the OS,...
0 votes
1 answer
442 views
Could thread be counted as a CPU? [duplicate]
So I typed in lscpu into my terminal and saw this: CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 The no. of CPU(s) is 4 here ...
1 vote
0 answers
425 views
CPU MHz don't reach CPU min MHz in lscpu
I think CPU MHZ is always more than CPU min MHz. But, my server can't do that now. When it looks like below, what should I check? Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit ...
1 vote
0 answers
115 views
How system slots or ports are detected by linux?
how does an operating system say linux understand how many ram/pci/cpu slots/sockets are there? Does the operating system detect this or just the info is passed from bios acpi if so please tell how ...
1 vote
0 answers
76 views
Is there a way to make my computers fans turn on instead of the CPU dropping frequency? I'm using Linux Mint 19.3
My computer, for whatever reason, will lower CPU usage when it gets hot instead of turning on its fan. I don't know if it's a driver issue or something else. Thanks! The above is at 80 degrees ...