HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What does %CPU mean in the output of "top" command
Operating System - HP-UX
1829107
Members
2764
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 10:17 AM
07-22-2009 10:17 AM
one of process xyz in the result of "top" command is showing 60%, but the the overall cpu utilization in Glace is only showing 34%.
I don't feel that %CPU really represent the cpu persontage this particular process is taking from all CPU's on the server. But, what does this represent?
Also, what value of the normal load should be on 8 cpu's server?
Thanks,
I don't feel that %CPU really represent the cpu persontage this particular process is taking from all CPU's on the server. But, what does this represent?
Also, what value of the normal load should be on 8 cpu's server?
Thanks,
none
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 10:49 AM
07-22-2009 10:49 AM
Solution
Shalom,
Two utilities, two different calculation methods. People could argue all day about which is better and will do so, especially if you reward points for it.
CPU % is bases on sampling and demand for CPU cycles. It changes millisecond to millisecond. Also note that taking performance data CHANGES system performance.
Try doing it over time:
http://www.hpux.ws/?p=6
Second question: Load factor, there is no such thing as a normal level. You can have a load factor of 40 and perfectly normal system response if there are a lot of processes waiting in line for CPU.
The answer there is it depends. I generally start getting excited when I pass 10, but I've seen many, many many situations with higher numbers and no problems at all.
SEP
Two utilities, two different calculation methods. People could argue all day about which is better and will do so, especially if you reward points for it.
CPU % is bases on sampling and demand for CPU cycles. It changes millisecond to millisecond. Also note that taking performance data CHANGES system performance.
Try doing it over time:
http://www.hpux.ws/?p=6
Second question: Load factor, there is no such thing as a normal level. You can have a load factor of 40 and perfectly normal system response if there are a lot of processes waiting in line for CPU.
The answer there is it depends. I generally start getting excited when I pass 10, but I've seen many, many many situations with higher numbers and no problems at all.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 12:41 PM
07-22-2009 12:41 PM
Re: What does %CPU mean in the output of "top" command
glance measure is based on delta time between context changes, so it is precise
top measure is a sample made on every tic.
basically it count 1 in the 3 category at tic time: IDLE SYSTEM USER
So you can have 1 process which appears to use 100% of the cpu when glance say about 0%
it just means that that thread is running at tic time. and only at that time.
You can also have a thread holding about 100% of CPU but top indicate 0%.
so use glance for precise measures.
top measure is a sample made on every tic.
basically it count 1 in the 3 category at tic time: IDLE SYSTEM USER
So you can have 1 process which appears to use 100% of the cpu when glance say about 0%
it just means that that thread is running at tic time. and only at that time.
You can also have a thread holding about 100% of CPU but top indicate 0%.
so use glance for precise measures.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 09:27 PM
07-22-2009 09:27 PM
Re: What does %CPU mean in the output of "top" command
Hi,
Any also top shows the usage of independant cpu utilisation whereas glance shows the overall utilisation.
If you have multiple cpus, the process which shows 60% is on one particular cpu not the total cpu utilisation.
Any also top shows the usage of independant cpu utilisation whereas glance shows the overall utilisation.
If you have multiple cpus, the process which shows 60% is on one particular cpu not the total cpu utilisation.
Best wishes,
Ganesh.
Ganesh.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP