- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CPU Used - top x sar
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
Discussions
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
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-18-2002 09:14 AM
09-18-2002 09:14 AM
With top i had 40% CPU Idle, and with sar 35 % wio and 2,5% idle.
WIO is the amount of time in state "waiting for I/O", is CPU used or idle in this moment ?
The attach is the top and sar reports.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 09:24 AM
09-18-2002 09:24 AM
Re: CPU Used - top x sar
The same scenario you can see at Glance also. You will find that the bar is telling that CPU Usage is 100% but when you get the Alert report you will see that the CPU is 75% busy.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 10:02 AM
09-18-2002 10:02 AM
Re: CPU Used - top x sar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 11:48 AM
09-18-2002 11:48 AM
Re: CPU Used - top x sar
I want to know if, in this case, CPU is 40% or 2,5% idle for another process ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 03:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 03:58 AM
09-19-2002 03:58 AM
Re: CPU Used - top x sar
In this case, top is a bad tool to verify CPU idle ?
Glance report this problem too ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 04:42 AM
09-19-2002 04:42 AM
Re: CPU Used - top x sar
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000024669440&admit=-682735245+1032439057876+28353475
From that document:
An example sar(1M) output may be similar to the following:
# sar 4 5
17:08:59 %usr %sys %wio %idle
17:09:03 0 0 0 100
17:09:07 0 3 26 71
17:09:11 0 11 89 0
17:09:15 0 3 40 56
17:09:19 0 0 0 100
Average 0 3 31 66
The %usr is the percentage of time the CPU spent running in user code.
The %sys is the percentage of time the CPU spent running system code.
The %wio is the percentage of time the CPU spent blocked on IO. This only includes block IO, raw IO, or Virtual Memory operations like pagein/swapin. It does not include time spent on tape IO or terminal IO. If %wio is high, it could be an indication of a disk bottleneck or it could simply mean that the CPU has nothing else to do while it waits for a process to complete its IOs.
The %idle is the percentage of time the CPU is totally idle, with essentially nothing running or nothing performing disk or other
block/raw IO.
In the above example, we started off with an idle system (%idle=100%).
Then the cp(1) command was issued to make a copy of the kernel. This caused us to enter system code (%sys), and do disk I/O to copy the
data (%wsio=89). The cp(1) command was constantly reading the source
file then copying to the destination file. So the CPU was either in the cp(1) code, or it was waiting for I/O to complete. Once the cp was
complete, the system returned to an idle state.
Remember, however, that other processes can make use of the %wsio time when the CPU is blocked on I/O, thus causing the %wsio to decrease as %user and $sys increase.
So as I understand it, a cpu in %wio can process other requests since it isn't really "doing" anything at the time. Effectively, the cpu is idle.
Darrell