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
12-13-2000 03:09 PM
12-13-2000 03:09 PM
sar
# sar -a
sar: Can't open /var/adm/sa/sa13
I have followed the instructions on the documentation page but the command does not work at all. Do I have to create a directory called sa??
I have also used this command:
/usr/lib/sa/sadc /usr/adm/sa/sa`date +%d`
Please let me know if you can help out??
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 03:37 PM
12-13-2000 03:37 PM
Re: sar
...Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 03:58 PM
12-13-2000 03:58 PM
Re: sar
If the directory does exist, perhaps it is a permissions problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2000 11:38 PM
12-13-2000 11:38 PM
Re: sar
sar -a 1
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 04:06 AM
12-14-2000 04:06 AM
Re: sar
By default the /var/adm/sa doesn't exists.
check man sar and sa1.
You can add it in cron so that every night a new file is created and that sar monitors your system.
If you have all the above but it still doesn't work, check with "what /usr/sbin/sar", which revision you have and with "cksum /usr/sbin/sar" for the sizes, if they are correct according with what it should be.
If you want to monitor sar for just now use:
sar -u 2 5.
Have Fun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 04:44 AM
12-14-2000 04:44 AM
Re: sar
# sar -a
this error is going to happen. You must specify the time interval.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 05:06 AM
12-14-2000 05:06 AM
Re: sar
The full credit has to go to Vladimir.
The answer given by him is correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 05:58 AM
12-14-2000 05:58 AM
Re: sar
0 6-22 * * * /usr/lbin/sa/sa1 1200 4
30 22-5 * * * /usr/lbin/sa/sa1 1200 3
30 23 * * * /usr/lbin/sa/sa2 -s 00:00 -e 23:45 -i 3600 -u -b -d -w -q -v
Create directory "sa" in /var/adm and update your crontab as shown above or use the time intervals that suits you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2000 01:54 PM
12-14-2000 01:54 PM
Re: sar
mkdir /var/adm/sa/sa13
And you should be all set.
And after that you can start to figure out the various other settings that are available with sar.
Regards,
Nabeel