- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAR (SA1) Activity Report
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
тАО06-26-2003 05:38 AM
тАО06-26-2003 05:38 AM
SAR (SA1) Activity Report
Thanks in advance, Charles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2003 05:45 AM
тАО06-26-2003 05:45 AM
Re: SAR (SA1) Activity Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2003 05:48 AM
тАО06-26-2003 05:48 AM
Re: SAR (SA1) Activity Report
you can also use the -f
Enrico.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2003 05:49 AM
тАО06-26-2003 05:49 AM
Re: SAR (SA1) Activity Report
DFILE=/var/adm/sa/sa$DATE
You can modify this to put the sa files where you like.
You should update sa2 as well if you plan on using it, as it has /var/adm/sa in several places.
You can also make /var/adm/sa a symlink to another directory, and avoid changing the scripts. This would help if you do and upgrade or patch that replaces sa1 and sa2, since you would lose your changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2003 05:55 AM
тАО06-26-2003 05:55 AM
Re: SAR (SA1) Activity Report
Exapmple, send sar sample to sar.out every 3 sec, 2 times:
# sar -o /tmp/sar.out 3 2
HP-UX e4402usw B.11.11 U 9000/800 06/26/03
09:40:24 %usr %sys %wio %idle
09:40:27 0 0 0 100
09:40:30 0 0 0 100
Average 0 0 0 100
--> reading cpu info :
# sar -u -f /tmp/sar.out
HP-UX e4402usw B.11.11 U 9000/800 06/26/03
09:40:24 %usr %sys %wio %idle
09:40:27 0 0 0 100
09:40:30 0 0 0 100
Average 0 0 0 100
--> reading disk info :
# sar -d -f /tmp/sar.out
HP-UX e4402usw B.11.11 U 9000/800 06/26/03
09:40:24 device %busy avque r+w/s blks/s avwait avserv
09:40:27 c1t6d0 2.66 0.50 2 15 8.50 15.03
09:40:30 c1t6d0 0.33 0.50 0 1 8.89 10.12
Average c1t6d0 1.50 0.50 1 8 8.55 14.33
Hope this helps.
Cheers
T??