HPE GreenLake Administration
Operating System - HP-UX
1836468
Members
2802
Online
110101
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
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
12-13-2000 04:39 PM
12-13-2000 04:39 PM
sar
I would like to see how our system performance is by running sar so I used this command:
sar -u
It gave me these results.
%usr %sys %wio %idle
How come there is no numbers/rate showing how the system is performing?
I also ran this command and gave me this result:
device %busy avque r+w/s blks/s avwait avserv
Please let me know if I'm doing it wrong.
Thanks.
a
sar -u
It gave me these results.
%usr %sys %wio %idle
How come there is no numbers/rate showing how the system is performing?
I also ran this command and gave me this result:
device %busy avque r+w/s blks/s avwait avserv
Please let me know if I'm doing it wrong.
Thanks.
a
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 06:15 PM
12-13-2000 06:15 PM
Re: sar
You need to specify an interval and count. To get CPU info every 5 seconds 5 times, use:
sar -u 5 5
Other useful reports from sar are:
-b Report buffer activity
-d Report activity for each block device
-w Report system swapping and switching activity
-q Report average queue length
-v Report status of text, process, inode and file tables
sar -u 5 5
Other useful reports from sar are:
-b Report buffer activity
-d Report activity for each block device
-w Report system swapping and switching activity
-q Report average queue length
-v Report status of text, process, inode and file tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 08:27 PM
12-13-2000 08:27 PM
Re: sar
Hi Jade,
sar -u without any interval/count parms should show you the current days data. But you must be collecting the data first. Do you have any files in /var/adm/sa? Are you running the sa1/sa2 scripts via cron? See the reference manuals for full details but something like this:
0 * * * * /usr/lib/sa/sa1 900 4
will give you 15min intervals, 24 x 7. There are many ways to configure the collection, hourly, 15 mins, vary it overnight or at weekends, whatever suits your environment best.
greg
sar -u without any interval/count parms should show you the current days data. But you must be collecting the data first. Do you have any files in /var/adm/sa? Are you running the sa1/sa2 scripts via cron? See the reference manuals for full details but something like this:
0 * * * * /usr/lib/sa/sa1 900 4
will give you 15min intervals, 24 x 7. There are many ways to configure the collection, hourly, 15 mins, vary it overnight or at weekends, whatever suits your environment best.
greg
Confucious Confused
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