- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sar on HP-UX
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
Forums
Discussions
Discussions
Discussions
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
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
03-22-2000 12:28 AM
03-22-2000 12:28 AM
sar on HP-UX
of unix. Please can someone throw some light on this and how to resolve this.
When I use $sar -b at unix command prompt I get the error message "Sar: Can't
open /var/adm/sa/sa22" same as when I use root, but on an AT&T unix box it
gives me the values for every 20 minutes since boot up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2000 12:53 AM
03-22-2000 12:53 AM
Re: sar on HP-UX
OUTPUT?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2000 01:55 AM
03-22-2000 01:55 AM
Re: sar on HP-UX
/var/adm/sa/sa22" >
The system is looking for the file /var/adm/sa/sa22
22 means today (format saDD)
I suppose you have no /var/adm/sa/
So:
var/adm>mkdir sa
alphard:..var/adm> /usr/lbin/sa/sadc \ var/adm/sa/sa`date +%d`
alphard:..var/adm>sar -b
18:46:03 HP-UX restarts
HP-UX alphard B.11.00 E 9000/813 03/22/00
bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
Hope I have helped a little
Regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2000 03:10 AM
03-22-2000 03:10 AM
Re: sar on HP-UX
acctually you need to give Time interval, its required not optional
eg. sar -b 5 5 or sar -b 5 (for 5 sec. interval)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2000 07:03 AM
03-22-2000 07:03 AM
Re: sar on HP-UX
than use the utility for interactive real-time data gathering then you need to
configure entries in cron to gather and format the information appropriately.
For instance, to gather data every 15 minutes during business hours and every
20 minutes off hours you might use:
0 8-17 * * 1-5 /usr/lbin/sa/sa1 900 4
0 18-7 * * 1-5 /usr/lbin/sa/sa1 1200 3
0 * * * 0,6 /usr/lbin/sa/sa1 1200 3
45 23 * * 1-5 /usr/lbin/sa/sa2 -s 00:00 -e 23:30 -i 3600 -A
Please see man sa1 & man sa2 for details on how these scripts function. The
default location for file output is /var/adm/sa, so this directory should exist
and be writable to the sa utilities.