- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CPU usage (top output)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО03-10-2003 10:54 AM
тАО03-10-2003 10:54 AM
CPU usage (top output)
Can any one give some idea or suggest the links where i can find the related docs ..
Load averages: 2.88, 2.60, 2.54
212 processes: 198 sleeping, 14 running
Cpu states: (avg)
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
2.88 70.9% 0.0% 13.5% 15.6% 0.0% 0.0% 0.0% 0.0%
Memory: 1187820K (741656K) real, 2203156K (1551420K) virtual, 24816K free Page# 1/8
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 3902 root 152 20 18492K 83796K run 613:44 144.62 144.37 java
0 ? 1191 root 168 10 599M 453M sleep 11182:07 7.42 7.41 diagmond
1 ? 28797 root 152 20 43068K 97304K run 39:06 0.72 0.72 java
0 ? 0 root 127 20 0K 0K sleep 131:26 0.40 0.40 swapper
0 ? 34 root 152 20 0K 6464K run 92:02 0.33 0.33 vxfsd
0 ? 976 root 178 20 1780K 560K run 28:33 0.26 0.26 snmpdm
1 ? 14435 root 152 20 148M 4188K run 306:46 0.25 0.25 mad
sar output
00:20:07 %usr %sys %wio %idle
00:20:12 70 6 1 22
00:20:17 67 6 1 26
00:20:22 71 7 2 21
00:20:27 68 7 2 23
00:20:32 70 3 1 25
Average 69 6 1 23
Thanks in advance ,
spv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2003 10:56 AM
тАО03-10-2003 10:56 AM
Re: CPU usage (top output)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2003 11:02 AM
тАО03-10-2003 11:02 AM
Re: CPU usage (top output)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2003 11:08 AM
тАО03-10-2003 11:08 AM
Re: CPU usage (top output)
To be the most precise top gets mad in multithreaded processes. It calculates the percentage by summarizing time for every thread that was ready (not meaning they were runnung) and divides it by the total elapsed time.
So if you have pure busy-loop, if you start it in two threads you'll receive 200%. In 3 threads - 300%... Perfect hardware accelerator ain't it? ;)
Good luck
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2003 11:09 AM
тАО03-10-2003 11:09 AM
Re: CPU usage (top output)
You may have to consider using GlancePlus to find out the usage/CPU and then recalculate the total system usage, IDLE time etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2003 11:18 AM
тАО03-10-2003 11:18 AM
Re: CPU usage (top output)
SEP
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
тАО03-10-2003 11:26 AM
тАО03-10-2003 11:26 AM
Re: CPU usage (top output)
The java must be multi-threaded, otherwise it can only go to 100%, or using all of one processor.
We run java and it is a pig (spelled PIG) in both memory and cpu usage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2003 11:37 AM
тАО03-10-2003 11:37 AM
Re: CPU usage (top output)
There is 2 processers in the server .
I will see the options u suggested ,
thankx ,
spv