- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to install 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
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-07-2007 04:08 PM
тАО06-07-2007 04:08 PM
regards
ng
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2007 04:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2007 04:12 PM
тАО06-07-2007 04:12 PM
Re: how to install sar
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2007 04:20 PM
тАО06-07-2007 04:20 PM
Re: how to install sar
You DO have a backup, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2007 04:21 PM
тАО06-07-2007 04:21 PM
Re: how to install sar
db1:/backup# sar
sar: Can't open /var/adm/sa/sa08
regards
alson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2007 04:33 PM
тАО06-07-2007 04:33 PM
Re: how to install sar
sar 5 60 (run every 5 sec's for 60 times)
This should work ,as it would output to the STDOUT.
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2007 06:35 PM
тАО06-07-2007 06:35 PM
Re: how to install sar
Did you make sure it has the same permissions?
(I guess that's not it since it has 555.)
Are you root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2007 10:04 PM
тАО06-10-2007 10:04 PM
Re: how to install sar
db1:/usr/bin# id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)
db1:/usr/bin#
db1:/usr/bin# ll sar
-rwxrwxrwx 1 root sys 45056 Jun 6 17:07 sar
db1:/usr/bin# sar
sar: Can't open /var/adm/sa/sa11
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2007 10:28 PM
тАО06-10-2007 10:28 PM
Re: how to install sar
sar 1
or
sar -d 1
Otherwise, the man page documents how to use the special sar files.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2007 10:42 PM
тАО06-10-2007 10:42 PM
Re: how to install sar
Please check.
$ sar
sar: Can't open /var/adm/sa/sa11
$
Where 11 is today's date!
/var/adm/sa/sa11 is an example of the standard system activity daily data file /var/adm/sa/sadd for the current day dd.
Generally file format is: /var/adm/sa/sadd
daily data file, where dd is two digits representing the day of the month.
Below a few examples of the SAR command:
Watch CPU activity evolve for 5 seconds:
sar 1 5
Watch CPU activity evolve for 10 minutes and save data:
sar -o temp 60 10
Review disk and tape activity from that period later:
sar -d -f temp
Review cpu utilization on a multi-processor system later:
sar -u -M -f temp
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2007 10:06 AM
тАО06-11-2007 10:06 AM
Re: how to install sar
You should fix the permissions on sar with:
# chmod a-w sar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2007 05:51 PM
тАО06-11-2007 05:51 PM
Re: how to install sar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2007 05:54 PM
тАО06-11-2007 05:54 PM