- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: top USER and SYS
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
Forums
Discussions
Discussions
Forums
Discussions
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
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
09-03-2006 02:52 PM
09-03-2006 02:52 PM
top USER and SYS
10 CPU,
From the top outputs, USER avg: 53.1%,
SYS avg: 26.0%
Does anyone knows any formula for top commana USER and SYS? I just want to know why USER 53.1 % and SYS 26 % . Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2006 05:06 PM
09-03-2006 05:06 PM
Re: top USER and SYS
and the avg figure is average for all the CPUs thus representing the overall system time spent in each of the states.
If you are asking for formula for avg - its naturally - (Sum of records)/number of records.
Thus in your case the total of SYS colum comes to 260.5 and since you have 10 CPUs - 260.5/10 = 26.0 %
If you are asking how top calculates USER, SYS etc percentage for each CPU - it uses the kernel information to present you the data.
Hope that clarifies.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2006 05:19 PM
09-03-2006 05:19 PM
Re: top USER and SYS
And if you look it means that the system is spending 53.1% of time in User proccess and only 26.1% of time on system proccess which is good as it gives you good performance. And if you have the reverse then your system would actually be getting hammered because of system resources. Also if you have 0% IDLE then your system surely has bottleneck of resource as its fully utilized and any addition to applications on this server will result in poor performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 01:55 AM
09-05-2006 01:55 AM
Re: top USER and SYS
In the Glance, there's also "SYS"%, it inlucding system call,context switch,virtual fault and so on.
I'd really appreciated anyone can give me some advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 10:05 AM
09-05-2006 10:05 AM
Re: top USER and SYS
Bill Hassell, sysadmin