top command on multi core processorCPU and core usage statsWhy does top report the incorrect CPU usage?CPU...
Some questions about Lightning and Tor
Is torque as fundamental a concept as force?
Received email from ISP saying one of my devices has malware
Are there any writings by blinded and/or exiled Byzantine emperors?
Why didn't Thatcher give Hong Kong to Taiwan?
properties that real numbers hold but complex numbers does not
What percentage of the mass/energy of the universe is in the form of electromagnetic waves?
Does secure hashing imply secure symmetric encryption?
Do index funds really have double-digit percents annual return rates?
How to check status of Wi-Fi adapter through command line?
Where is the correct position to set right or left of muscle names for anatomical names?
Taking the first element in a list of associations
Why do we need explainable AI?
What is the significance of 104%?
What is a "fat pointer" in Rust?
If the UK government illegally doesn't ask for article 50 extension, can parliament do it instead?
Why not use futuristic pavise ballistic shields for protection?
Initializing a std::array with a constant value
Can there be plants on the dark side of a tidally locked world?
Plotting level sets of the form f(x,y,c)==0
FHE: What is the difference between multiplicative depth and multiplicative level?
'Hard work never hurt anyone' Why not 'hurts'?
Design of 50 ohms RF trace for 2.4GHz...Double layer FR-4 PCB
What is the converted mana cost of land cards?
top command on multi core processor
CPU and core usage statsWhy does top report the incorrect CPU usage?CPU and core usage statsUnexpected processor/core counts for AMD processorLinux top -n 1 Command doesn't get updateHow to get all processes running on each CPU core in Ubuntu?using top to identify cpu core number with qsub pbspro
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am using freescale IMX6 quad processor. I want to know if the top command lists the CPU usage of all 4 cores or of a single core. I am seeing an application's CPU usage being the same with 4 cores and with a single core. I was guessing the CPU usage by the application will increase on a single core and decrease on 4 cores but it has not changed.
linux top parallelism cpu-usage
|
show 3 more comments
I am using freescale IMX6 quad processor. I want to know if the top command lists the CPU usage of all 4 cores or of a single core. I am seeing an application's CPU usage being the same with 4 cores and with a single core. I was guessing the CPU usage by the application will increase on a single core and decrease on 4 cores but it has not changed.
linux top parallelism cpu-usage
5
try pressing 1 while top is running
– Dani_l
Jul 23 '14 at 10:57
Could you please elaborate. As in what happens if I press 1. Because I am getting this inconsistent result since 2 days.
– user3818847
Jul 23 '14 at 10:59
you may find this link useful: unix.stackexchange.com/questions/41311/cpu-and-core-usage-stats
– Tejas
Jul 23 '14 at 11:05
1
Which application is that? Why do you think your application should use multiple cores if available? There are many applications out there that work on a single CPU/core and for which nobody bothered to take the time to parallize them.
– Anthon
Jul 23 '14 at 11:05
1
no. if multiple cores, they accumulate to over 100%. 4 cores can get as high as 800% with hyperthreading on each core
– Dani_l
Jul 23 '14 at 11:35
|
show 3 more comments
I am using freescale IMX6 quad processor. I want to know if the top command lists the CPU usage of all 4 cores or of a single core. I am seeing an application's CPU usage being the same with 4 cores and with a single core. I was guessing the CPU usage by the application will increase on a single core and decrease on 4 cores but it has not changed.
linux top parallelism cpu-usage
I am using freescale IMX6 quad processor. I want to know if the top command lists the CPU usage of all 4 cores or of a single core. I am seeing an application's CPU usage being the same with 4 cores and with a single core. I was guessing the CPU usage by the application will increase on a single core and decrease on 4 cores but it has not changed.
linux top parallelism cpu-usage
linux top parallelism cpu-usage
edited Sep 12 '17 at 2:02
Jeff Schaller♦
49.5k11 gold badges72 silver badges164 bronze badges
49.5k11 gold badges72 silver badges164 bronze badges
asked Jul 23 '14 at 10:45
user3818847user3818847
3912 gold badges4 silver badges7 bronze badges
3912 gold badges4 silver badges7 bronze badges
5
try pressing 1 while top is running
– Dani_l
Jul 23 '14 at 10:57
Could you please elaborate. As in what happens if I press 1. Because I am getting this inconsistent result since 2 days.
– user3818847
Jul 23 '14 at 10:59
you may find this link useful: unix.stackexchange.com/questions/41311/cpu-and-core-usage-stats
– Tejas
Jul 23 '14 at 11:05
1
Which application is that? Why do you think your application should use multiple cores if available? There are many applications out there that work on a single CPU/core and for which nobody bothered to take the time to parallize them.
– Anthon
Jul 23 '14 at 11:05
1
no. if multiple cores, they accumulate to over 100%. 4 cores can get as high as 800% with hyperthreading on each core
– Dani_l
Jul 23 '14 at 11:35
|
show 3 more comments
5
try pressing 1 while top is running
– Dani_l
Jul 23 '14 at 10:57
Could you please elaborate. As in what happens if I press 1. Because I am getting this inconsistent result since 2 days.
– user3818847
Jul 23 '14 at 10:59
you may find this link useful: unix.stackexchange.com/questions/41311/cpu-and-core-usage-stats
– Tejas
Jul 23 '14 at 11:05
1
Which application is that? Why do you think your application should use multiple cores if available? There are many applications out there that work on a single CPU/core and for which nobody bothered to take the time to parallize them.
– Anthon
Jul 23 '14 at 11:05
1
no. if multiple cores, they accumulate to over 100%. 4 cores can get as high as 800% with hyperthreading on each core
– Dani_l
Jul 23 '14 at 11:35
5
5
try pressing 1 while top is running
– Dani_l
Jul 23 '14 at 10:57
try pressing 1 while top is running
– Dani_l
Jul 23 '14 at 10:57
Could you please elaborate. As in what happens if I press 1. Because I am getting this inconsistent result since 2 days.
– user3818847
Jul 23 '14 at 10:59
Could you please elaborate. As in what happens if I press 1. Because I am getting this inconsistent result since 2 days.
– user3818847
Jul 23 '14 at 10:59
you may find this link useful: unix.stackexchange.com/questions/41311/cpu-and-core-usage-stats
– Tejas
Jul 23 '14 at 11:05
you may find this link useful: unix.stackexchange.com/questions/41311/cpu-and-core-usage-stats
– Tejas
Jul 23 '14 at 11:05
1
1
Which application is that? Why do you think your application should use multiple cores if available? There are many applications out there that work on a single CPU/core and for which nobody bothered to take the time to parallize them.
– Anthon
Jul 23 '14 at 11:05
Which application is that? Why do you think your application should use multiple cores if available? There are many applications out there that work on a single CPU/core and for which nobody bothered to take the time to parallize them.
– Anthon
Jul 23 '14 at 11:05
1
1
no. if multiple cores, they accumulate to over 100%. 4 cores can get as high as 800% with hyperthreading on each core
– Dani_l
Jul 23 '14 at 11:35
no. if multiple cores, they accumulate to over 100%. 4 cores can get as high as 800% with hyperthreading on each core
– Dani_l
Jul 23 '14 at 11:35
|
show 3 more comments
3 Answers
3
active
oldest
votes
I'm not entirely sure what you're asking here. Yes, top shows CPU usage as a percentage of a single CPU by default. That's why you can have percentages that are >100. On a system with 4 cores, you can see up to 400% CPU usage.
You can change this behavior by pressing I (that's Shift + i and toggles "Irix mode") while top is running. That will cause it to show the pecentage of available CPU power being used. As explained in man top:
1. %CPU -- CPU Usage
The task's share of the elapsed CPU time since the last screen
update, expressed as a percentage of total CPU time. In a
true SMP environment, if 'Irix mode' is Off, top will operate
in 'Solaris mode' where a task's cpu usage will be divided by
the total number of CPUs. You toggle 'Irix/Solaris' modes
with the 'I' interactive command.
Alternatively, you can press 1 which will show you a breakdown of CPU usage per CPU:
top - 13:12:58 up 21:11, 17 users, load average: 0.69, 0.50, 0.43
Tasks: 248 total, 3 running, 244 sleeping, 0 stopped, 1 zombie
%Cpu0 : 33.3 us, 33.3 sy, 0.0 ni, 33.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 16.7 us, 0.0 sy, 0.0 ni, 83.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 60.0 us, 0.0 sy, 0.0 ni, 40.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 8186416 total, 6267232 used, 1919184 free, 298832 buffers
KiB Swap: 8191996 total, 0 used, 8191996 free, 2833308 cached
1
with hyperthread I believe you can see up to 800% as /proc/cpuinfo will show each thread as a cpu
– Dani_l
Jul 23 '14 at 11:37
@Dani_l yes, whether the "core" is physical or virtual is irrelevant, it is treated as a "CPU" bytop. The output I show is from my laptop which has a single physical CPU with two cores, each of which has a 2nd logical core. The result is thattopsees 4 cores.
– terdon♦
Jul 23 '14 at 11:44
Sorry for the nitpicking, in my dayjob we have to distinguish between sockets, cores and threads when reserving resources. I guess the habit stuck.
– Dani_l
Jul 23 '14 at 11:48
add a comment |
just click on '1' while top is running
5
This answer is in the comments for years now... please add something new.
– yeti
Mar 28 '18 at 12:05
add a comment |
If you're wanting to open top immediately displaying separate CPUs without needing to press 1, you can use the -1 option.
e.g.:
top -1
...
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 44.7 us, 55.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 46.7 us, 53.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
...
New contributor
Leigh McCulloch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f146085%2ftop-command-on-multi-core-processor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I'm not entirely sure what you're asking here. Yes, top shows CPU usage as a percentage of a single CPU by default. That's why you can have percentages that are >100. On a system with 4 cores, you can see up to 400% CPU usage.
You can change this behavior by pressing I (that's Shift + i and toggles "Irix mode") while top is running. That will cause it to show the pecentage of available CPU power being used. As explained in man top:
1. %CPU -- CPU Usage
The task's share of the elapsed CPU time since the last screen
update, expressed as a percentage of total CPU time. In a
true SMP environment, if 'Irix mode' is Off, top will operate
in 'Solaris mode' where a task's cpu usage will be divided by
the total number of CPUs. You toggle 'Irix/Solaris' modes
with the 'I' interactive command.
Alternatively, you can press 1 which will show you a breakdown of CPU usage per CPU:
top - 13:12:58 up 21:11, 17 users, load average: 0.69, 0.50, 0.43
Tasks: 248 total, 3 running, 244 sleeping, 0 stopped, 1 zombie
%Cpu0 : 33.3 us, 33.3 sy, 0.0 ni, 33.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 16.7 us, 0.0 sy, 0.0 ni, 83.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 60.0 us, 0.0 sy, 0.0 ni, 40.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 8186416 total, 6267232 used, 1919184 free, 298832 buffers
KiB Swap: 8191996 total, 0 used, 8191996 free, 2833308 cached
1
with hyperthread I believe you can see up to 800% as /proc/cpuinfo will show each thread as a cpu
– Dani_l
Jul 23 '14 at 11:37
@Dani_l yes, whether the "core" is physical or virtual is irrelevant, it is treated as a "CPU" bytop. The output I show is from my laptop which has a single physical CPU with two cores, each of which has a 2nd logical core. The result is thattopsees 4 cores.
– terdon♦
Jul 23 '14 at 11:44
Sorry for the nitpicking, in my dayjob we have to distinguish between sockets, cores and threads when reserving resources. I guess the habit stuck.
– Dani_l
Jul 23 '14 at 11:48
add a comment |
I'm not entirely sure what you're asking here. Yes, top shows CPU usage as a percentage of a single CPU by default. That's why you can have percentages that are >100. On a system with 4 cores, you can see up to 400% CPU usage.
You can change this behavior by pressing I (that's Shift + i and toggles "Irix mode") while top is running. That will cause it to show the pecentage of available CPU power being used. As explained in man top:
1. %CPU -- CPU Usage
The task's share of the elapsed CPU time since the last screen
update, expressed as a percentage of total CPU time. In a
true SMP environment, if 'Irix mode' is Off, top will operate
in 'Solaris mode' where a task's cpu usage will be divided by
the total number of CPUs. You toggle 'Irix/Solaris' modes
with the 'I' interactive command.
Alternatively, you can press 1 which will show you a breakdown of CPU usage per CPU:
top - 13:12:58 up 21:11, 17 users, load average: 0.69, 0.50, 0.43
Tasks: 248 total, 3 running, 244 sleeping, 0 stopped, 1 zombie
%Cpu0 : 33.3 us, 33.3 sy, 0.0 ni, 33.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 16.7 us, 0.0 sy, 0.0 ni, 83.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 60.0 us, 0.0 sy, 0.0 ni, 40.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 8186416 total, 6267232 used, 1919184 free, 298832 buffers
KiB Swap: 8191996 total, 0 used, 8191996 free, 2833308 cached
1
with hyperthread I believe you can see up to 800% as /proc/cpuinfo will show each thread as a cpu
– Dani_l
Jul 23 '14 at 11:37
@Dani_l yes, whether the "core" is physical or virtual is irrelevant, it is treated as a "CPU" bytop. The output I show is from my laptop which has a single physical CPU with two cores, each of which has a 2nd logical core. The result is thattopsees 4 cores.
– terdon♦
Jul 23 '14 at 11:44
Sorry for the nitpicking, in my dayjob we have to distinguish between sockets, cores and threads when reserving resources. I guess the habit stuck.
– Dani_l
Jul 23 '14 at 11:48
add a comment |
I'm not entirely sure what you're asking here. Yes, top shows CPU usage as a percentage of a single CPU by default. That's why you can have percentages that are >100. On a system with 4 cores, you can see up to 400% CPU usage.
You can change this behavior by pressing I (that's Shift + i and toggles "Irix mode") while top is running. That will cause it to show the pecentage of available CPU power being used. As explained in man top:
1. %CPU -- CPU Usage
The task's share of the elapsed CPU time since the last screen
update, expressed as a percentage of total CPU time. In a
true SMP environment, if 'Irix mode' is Off, top will operate
in 'Solaris mode' where a task's cpu usage will be divided by
the total number of CPUs. You toggle 'Irix/Solaris' modes
with the 'I' interactive command.
Alternatively, you can press 1 which will show you a breakdown of CPU usage per CPU:
top - 13:12:58 up 21:11, 17 users, load average: 0.69, 0.50, 0.43
Tasks: 248 total, 3 running, 244 sleeping, 0 stopped, 1 zombie
%Cpu0 : 33.3 us, 33.3 sy, 0.0 ni, 33.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 16.7 us, 0.0 sy, 0.0 ni, 83.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 60.0 us, 0.0 sy, 0.0 ni, 40.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 8186416 total, 6267232 used, 1919184 free, 298832 buffers
KiB Swap: 8191996 total, 0 used, 8191996 free, 2833308 cached
I'm not entirely sure what you're asking here. Yes, top shows CPU usage as a percentage of a single CPU by default. That's why you can have percentages that are >100. On a system with 4 cores, you can see up to 400% CPU usage.
You can change this behavior by pressing I (that's Shift + i and toggles "Irix mode") while top is running. That will cause it to show the pecentage of available CPU power being used. As explained in man top:
1. %CPU -- CPU Usage
The task's share of the elapsed CPU time since the last screen
update, expressed as a percentage of total CPU time. In a
true SMP environment, if 'Irix mode' is Off, top will operate
in 'Solaris mode' where a task's cpu usage will be divided by
the total number of CPUs. You toggle 'Irix/Solaris' modes
with the 'I' interactive command.
Alternatively, you can press 1 which will show you a breakdown of CPU usage per CPU:
top - 13:12:58 up 21:11, 17 users, load average: 0.69, 0.50, 0.43
Tasks: 248 total, 3 running, 244 sleeping, 0 stopped, 1 zombie
%Cpu0 : 33.3 us, 33.3 sy, 0.0 ni, 33.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 16.7 us, 0.0 sy, 0.0 ni, 83.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 60.0 us, 0.0 sy, 0.0 ni, 40.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 8186416 total, 6267232 used, 1919184 free, 298832 buffers
KiB Swap: 8191996 total, 0 used, 8191996 free, 2833308 cached
answered Jul 23 '14 at 11:13
terdon♦terdon
142k34 gold badges293 silver badges470 bronze badges
142k34 gold badges293 silver badges470 bronze badges
1
with hyperthread I believe you can see up to 800% as /proc/cpuinfo will show each thread as a cpu
– Dani_l
Jul 23 '14 at 11:37
@Dani_l yes, whether the "core" is physical or virtual is irrelevant, it is treated as a "CPU" bytop. The output I show is from my laptop which has a single physical CPU with two cores, each of which has a 2nd logical core. The result is thattopsees 4 cores.
– terdon♦
Jul 23 '14 at 11:44
Sorry for the nitpicking, in my dayjob we have to distinguish between sockets, cores and threads when reserving resources. I guess the habit stuck.
– Dani_l
Jul 23 '14 at 11:48
add a comment |
1
with hyperthread I believe you can see up to 800% as /proc/cpuinfo will show each thread as a cpu
– Dani_l
Jul 23 '14 at 11:37
@Dani_l yes, whether the "core" is physical or virtual is irrelevant, it is treated as a "CPU" bytop. The output I show is from my laptop which has a single physical CPU with two cores, each of which has a 2nd logical core. The result is thattopsees 4 cores.
– terdon♦
Jul 23 '14 at 11:44
Sorry for the nitpicking, in my dayjob we have to distinguish between sockets, cores and threads when reserving resources. I guess the habit stuck.
– Dani_l
Jul 23 '14 at 11:48
1
1
with hyperthread I believe you can see up to 800% as /proc/cpuinfo will show each thread as a cpu
– Dani_l
Jul 23 '14 at 11:37
with hyperthread I believe you can see up to 800% as /proc/cpuinfo will show each thread as a cpu
– Dani_l
Jul 23 '14 at 11:37
@Dani_l yes, whether the "core" is physical or virtual is irrelevant, it is treated as a "CPU" by
top. The output I show is from my laptop which has a single physical CPU with two cores, each of which has a 2nd logical core. The result is that top sees 4 cores.– terdon♦
Jul 23 '14 at 11:44
@Dani_l yes, whether the "core" is physical or virtual is irrelevant, it is treated as a "CPU" by
top. The output I show is from my laptop which has a single physical CPU with two cores, each of which has a 2nd logical core. The result is that top sees 4 cores.– terdon♦
Jul 23 '14 at 11:44
Sorry for the nitpicking, in my dayjob we have to distinguish between sockets, cores and threads when reserving resources. I guess the habit stuck.
– Dani_l
Jul 23 '14 at 11:48
Sorry for the nitpicking, in my dayjob we have to distinguish between sockets, cores and threads when reserving resources. I guess the habit stuck.
– Dani_l
Jul 23 '14 at 11:48
add a comment |
just click on '1' while top is running
5
This answer is in the comments for years now... please add something new.
– yeti
Mar 28 '18 at 12:05
add a comment |
just click on '1' while top is running
5
This answer is in the comments for years now... please add something new.
– yeti
Mar 28 '18 at 12:05
add a comment |
just click on '1' while top is running
just click on '1' while top is running
answered Mar 28 '18 at 7:15
AbdullahAbdullah
691 silver badge1 bronze badge
691 silver badge1 bronze badge
5
This answer is in the comments for years now... please add something new.
– yeti
Mar 28 '18 at 12:05
add a comment |
5
This answer is in the comments for years now... please add something new.
– yeti
Mar 28 '18 at 12:05
5
5
This answer is in the comments for years now... please add something new.
– yeti
Mar 28 '18 at 12:05
This answer is in the comments for years now... please add something new.
– yeti
Mar 28 '18 at 12:05
add a comment |
If you're wanting to open top immediately displaying separate CPUs without needing to press 1, you can use the -1 option.
e.g.:
top -1
...
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 44.7 us, 55.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 46.7 us, 53.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
...
New contributor
Leigh McCulloch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
If you're wanting to open top immediately displaying separate CPUs without needing to press 1, you can use the -1 option.
e.g.:
top -1
...
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 44.7 us, 55.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 46.7 us, 53.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
...
New contributor
Leigh McCulloch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
If you're wanting to open top immediately displaying separate CPUs without needing to press 1, you can use the -1 option.
e.g.:
top -1
...
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 44.7 us, 55.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 46.7 us, 53.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
...
New contributor
Leigh McCulloch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
If you're wanting to open top immediately displaying separate CPUs without needing to press 1, you can use the -1 option.
e.g.:
top -1
...
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 44.7 us, 55.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 46.7 us, 53.3 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
...
New contributor
Leigh McCulloch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Leigh McCulloch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 2 hours ago
Leigh McCullochLeigh McCulloch
1011 bronze badge
1011 bronze badge
New contributor
Leigh McCulloch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Leigh McCulloch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f146085%2ftop-command-on-multi-core-processor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
5
try pressing 1 while top is running
– Dani_l
Jul 23 '14 at 10:57
Could you please elaborate. As in what happens if I press 1. Because I am getting this inconsistent result since 2 days.
– user3818847
Jul 23 '14 at 10:59
you may find this link useful: unix.stackexchange.com/questions/41311/cpu-and-core-usage-stats
– Tejas
Jul 23 '14 at 11:05
1
Which application is that? Why do you think your application should use multiple cores if available? There are many applications out there that work on a single CPU/core and for which nobody bothered to take the time to parallize them.
– Anthon
Jul 23 '14 at 11:05
1
no. if multiple cores, they accumulate to over 100%. 4 cores can get as high as 800% with hyperthreading on each core
– Dani_l
Jul 23 '14 at 11:35