- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: using 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
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
тАО08-20-2009 08:34 AM
тАО08-20-2009 08:34 AM
using sar
See out of sar with 3 different options below:-
# sar 1 5 -c
OSF1 sinope V5.1 2650 alpha 20Aug2009
17:26:35 %usr %sys %wio %idle
17:26:36 0 0 0 100
17:26:37 0 0 0 100
17:26:38 0 0 0 100
17:26:39 0 0 0 100
17:26:40 0 1 0 98
Average 0 0 0 100
#
# sar 1 5 -u
OSF1 sinope V5.1 2650 alpha 20Aug2009
17:26:50 %usr %sys %wio %idle
17:26:51 0 0 0 100
17:26:52 0 0 0 100
17:26:53 0 0 0 100
17:26:54 0 0 0 100
17:26:56 0 20 0 80
Average 0 5 0 95
#
# sar 1 5 m
OSF1 sinope V5.1 2650 alpha 20Aug2009
17:27:12 %usr %sys %wio %idle
17:27:13 0 0 0 100
17:27:14 0 0 0 100
17:27:15 0 0 0 100
17:27:16 0 0 0 100
17:27:17 7 4 1 88
Average 1 1 0 98
#
I have read the sar man pages but I sar is not displaying the expected output.
Can someone elaborate for me please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2009 06:33 AM
тАО08-21-2009 06:33 AM
Re: using sar
# sar -c 1 5
# sar -u 1 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2009 08:25 AM
тАО08-21-2009 08:25 AM
Re: using sar
I want to be able to submit a cronjob to run sar reports every 5 minutes. The report sar report should include cpu,mem and disk usage.
Is there a way to setup in crontab to do this on Tru64?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2009 10:41 AM
тАО08-21-2009 10:41 AM
Re: using sar
# crontab -e
Add the entry:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/opt/svr4/usr/bin/sar -udr 60 1
I used an interval of 60 seconds to give sar what I think is a reasonable amount of time to collect stat.s. Since output isn't directed to a file this example will e-mail the output to root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 08:59 AM
тАО08-26-2009 08:59 AM
Re: using sar
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2009 09:02 AM
тАО08-26-2009 09:02 AM
Re: using sar
I just noticed your other question mentioning it.
Hein.