Questions tagged [cpuinfo]

cpuinfo is a virtual file located in the /proc filesystem. When accessed, it provides real-time information both about unchanging hardware characteristics of the CPU, and about how it is currently running (most notably, what clock speed it or each of its cores is at).

cpuinfo is a virtual file located in the /proc filesystem. When accessed, it provides real-time information both about unchanging hardware characteristics of the CPU, and about how it is currently running (most notably, what clock speed it or each of its cores is at).

On systems with multiple CPUs or multiple core CPUs, cpuinfo contains entries for each.

To access it run:

cat /proc/cpuinfo

(Or otherwise open that file.)

See man 5 proc and this article for details.

For more abbreviated information, you may prefer to run lscpu instead.

35 questions
232
votes
6 answers

How to find the number of CPU cores including virtual?

How do I find out the number of cores my CPU has, including virtual cores (hyper threading cores) using the command line?
TellMeWhy
  • 17,964
  • 41
  • 100
  • 142
24
votes
2 answers

Is there any Widget that can show my CPU and other performances live?

I am ubuntu user currently working on Image Processing Project, I need to have a constant look at my CPU and Ram usage which is shown in system monitor very clearly but I have to switch between system monitor and my Project to see the graphs and cpu…
21
votes
1 answer

Getting information about CPU

I am new to the world of Linux and Ubuntu. I want say get maximum information about CPU. (cpufreq , no. of cores, no. of threads per core, instruction set, size of caches, instruction set, virtualization etc.) I would prefer a method which works on…
foxtrot9
  • 567
16
votes
3 answers

How do I get the model name of my processor?

I am making a conky config and I want to display the CPU model as one of the stats. For this, I need a command that outputs just the CPU name as a string, for example, "Intel Core i7 7700K". I think both /proc/cpuinfo and the output from lscpu have…
13
votes
2 answers

View size of CPU cache through the command-line?

How do I view the size of my CPU cache using the command-line? I want to view information on L1, L2 and L3 cache. Also, would it be possible to ouput only information on cache, so that all other information is filtered out?
TellMeWhy
  • 17,964
  • 41
  • 100
  • 142
11
votes
2 answers

Ubuntu System monitor shows 4 cpu while I have 2 cores

Acording to my laptop website and intel website, my CPU is Intel i5-2410M Processor Number i5-2410M Cores 2 Threads 4 Clock Speed 2.3 GHz Max Turbo Frequency 2.9 GHz so I have two cores, but why does ubuntu 12.04 show 4 cpus for my cpu ?
Medya
  • 551
9
votes
1 answer

System Monitor showing incorrect number of CPUs

I'm currently running Ubuntu 14.04.2 Desktop. The System Monitor tool is showing me 32 CPUs when I'm expecting 56. Should I be concerned? Screenshot of System Monitor: As you can see, it shows 32 CPUs. Output of lscpu: ~$ lscpu Architecture: …
8
votes
2 answers

Showing total CPU usage by using htop

Online I found the following figure where you can see "CPU" as first row and it should represent the total amount of the used CPU. Amongst the options of the htop I run on my PC there isn't the above CPU option. Where can I find it?
7
votes
1 answer

Does my computer have 1 or 2 CPUs? (cpuinfo and lscpu differ)

When I run cat /proc/cpuinfo I get the following output (only the relevant line included): cpu cores: 1 However, lscpu gives me the following output: CPU(s): 2 Which of the two is correct, and more importantly, why are they giving me different…
IQAndreas
  • 3,298
6
votes
2 answers

Why does "top" show some processes running longer than the system's uptime?

I've got a problem with my system where phantomjs remains running after finishing its job. To debug this issue, two days ago I rebooted the system: Today when I ran top, I saw this: If I understand right these two phantomjs process have been there…
shenkwen
  • 449
5
votes
1 answer

CPU scaling: how can current frequency be out of min-max range?

I'm trying to understand why my CPUs don't run at higher frequencies (related link) Can someone explain me how is it possible that when a min and a max are defined, the effective value finally goes out of that range? $ cat…
3
votes
1 answer

Why does /proc/cpuinfo say "cpu cores: 2" on an AMD FX-4100 Quad-Core Processor

I'm trying to figure out how to interpret my /proc/cpuinfo. I've got an AMD FX-4100 quad-core and cpuinfo gives, as it should, 1 'physical id', 4 'core id's and 4 'siblings', but why does 'cpu cores' say 2 instead of 4? Also, the FX-4100 specs say…
3
votes
1 answer

Power USB at certain CPU temperature

I have an unusual server set-up. Basically, I have a combination of salvaged parts from 3 Powerbook G4s running a non-graphical distribution of lubuntu. Problem is, I'm better with hardware than the software side of things. I'm powering a USB fan…
2
votes
0 answers

How to get cpuinfo to show Turbo frequency?

How do I get the frequency of my CPU when it is turbo boosted to show up in cpuinfo?
2
votes
0 answers

Ubuntu 14.04 - Processor details is empty

while installing ubuntu via JetPack [ it's Nvidia Jetson TX1 embedded board - supports full OS installation ] the processor details as shown in the image below is empty. the OS keeps hanging and restarting. using command lscpu
1
2 3