- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to run 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
тАО06-16-2009 11:17 PM
тАО06-16-2009 11:17 PM
we are getting error below.
#sar
sar: Can't open /var/adm/sa/sa17
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 11:32 PM
тАО06-16-2009 11:32 PM
Re: unable to run sar
Some files are missing or may be permission could be change.
post output or "whereis sar"
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 11:34 PM
тАО06-16-2009 11:34 PM
Re: unable to run sar
It could be a permissions issue on the directory if it is there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 11:42 PM
тАО06-16-2009 11:42 PM
Re: unable to run sar
Check files under /var/adm/sa.
Above message expects file /var/adm/sa/sa17, which is not present.
For an example , To get the current statistics:
You may run sar 2 2
HP-UX nido B.11.00 U 9000/800 06/17/09
02:41:26 %usr %sys %wio %idle
02:41:28 2 3 5 90
02:41:30 1 3 1 95
Average 2 3 3 92
Check the man page of sar for details:
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 11:46 PM
тАО06-16-2009 11:46 PM
Re: unable to run sar
you may see the example below
# sar
sar: Can't open /var/adm/sa/sa17
[rx260-15]/
# uname -r
B.11.23
[rx260-15]/
# sar
sar: Can't open /var/adm/sa/sa17
[rx260-15]/
# sar -d 1 1
HP-UX rx260-15 B.11.23 U ia64 06/17/09
03:48:23 device %busy avque r+w/s blks/s avwait avserv
03:48:24 c2t1d0 4.95 0.50 8 127 0.00 17.96
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2009 11:57 PM
тАО06-16-2009 11:57 PM
Re: unable to run sar
Thanks for responding
#sar 2 2
HP-UX UAT B.11.31 U ia64 06/17/09
13:12:52 %usr %sys %wio %idle
13:12:54 0 0 0 100
13:12:56 0 0 0 99
#whereis sar
sar: /usr/sbin/sar /usr/bin/sar /usr/share/man/man1m.Z/sar.1m
The directory sa is not present in /var/adm
sh: /var/adm/sa: not found.
Please give me what steps do i need to take.
Thanks,
Phani Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 12:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 12:57 AM
тАО06-17-2009 12:57 AM
Re: unable to run sar
Thanks now i am able to run and sar.
Thanks
Phani Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 01:06 AM
тАО06-17-2009 01:06 AM
Re: unable to run sar
>>Please give me what steps do i need to take.
Check with other hp server create a new directiory under /var/adm
#mkdir sa
give proper owner and permission as other
server
then check with "sar"
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 01:19 AM
тАО06-17-2009 01:19 AM