- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sar and sysstat
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
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
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-21-2015 06:34 AM - edited 09-21-2015 06:35 AM
09-21-2015 06:34 AM - edited 09-21-2015 06:35 AM
Sar and sysstat
Hello!
I'm seeing a big difference in sar and other tools output:
[root@xxx /opt/perf]# sar -u 1 100
HP-UX xxx B.11.31 U ia64 09/21/15
10:19:13 %usr %sys %wio %idle
10:19:14 7 1 44 47
10:19:15 7 1 45 47
10:19:16 8 0 46 47
10:19:17 7 1 47 43
10:19:18 8 1 46 45
10:19:19 7 1 48 45
10:19:20 7 1 47 46
10:19:21 9 1 48 42
[root@xxx /opt/perf]# vmstat 1 100
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
4 41 0 5462030 69688205 0 0 5 0 0 0 2 132068 520080 13552 3 4 93
7 44 0 5647427 69694114 0 0 0 0 0 0 0 72429 647027 28506 8 2 90
7 44 0 5647427 69693232 0 0 0 0 0 0 0 73995 660449 28919 6 1 93
7 44 0 5647427 69693223 0 0 0 0 0 0 0 75840 678034 29388 7 2 91
7 44 0 5647427 69690105 0 0 0 0 0 0 0 75848 696993 29104 5 2 93
Using sar, I'm seeing a lot of wait for i/o but in vmstat, I'm seeing a lot of idle. Glance shows information similar to vmstat.
Who is saying the truth?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2015 11:21 AM
09-22-2015 11:21 AM
Re: Sar and sysstat
Your 'sar' output is essentially just a bit more granular in what it is reporting than sysstat or glance.
With sysstat and glance the %WIO (waiting on I/O) is included in the regular idle percentage.
If you were to run sysstat and 'sar -u' at the same time you would likely see that the idle percentage that sysstat reports is the same the sum of %wio and %idle from 'sar -u'.
%wio is likely included with idle becuase the process is not really doing anything except waiting on an I/O of some sort which does not take any CPU cycles.