- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: where is the /var/adm/sa/ directory?
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-07-2000 08:44 AM
12-07-2000 08:44 AM
I'm novice with HP-UX 11.00 on server 9000, and i have to use the "sar" command. In the man page, i see that the file sar[dd] (where dd is the day of the month) in the directory /var/adm/sa/ contains the daily activity report when we use the sar commande. but there is no file and no directory sa/ in var/adm/. what 's the problem?
thanks for all
thomas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 08:48 AM
12-07-2000 08:48 AM
Re: where is the /var/adm/sa/ directory?
mkdir /var/adm/sa
2. Excute following: usr/lbin/sa/sadc /var/adm/sa/sa`date +%d`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 08:52 AM
12-07-2000 08:52 AM
Re: where is the /var/adm/sa/ directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 09:05 AM
12-07-2000 09:05 AM
Solution/var/adm/sa isn't created by default during install.
No problem, just create it manually with (as root) 'mkdir /var/adm/sa' followed by a 'chmod 775 /var/adm/sa'
You will then be able to use 'sadc' like this:
/usr/lbin/sa/sadc [t n] [ofile]
See 'man sadc' for details.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 09:08 AM
12-07-2000 09:08 AM
Re: where is the /var/adm/sa/ directory?
Run sa1 from cron to get your sa(dd)
30 * * * * /usr/lbin/sa/sa1 1200 3
This would collect data every 20 mins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 12:37 PM
12-07-2000 12:37 PM
Re: where is the /var/adm/sa/ directory?
If you want sar to daily make a new file, add the following to your cron(root):
0 * * * 0-6 /usr/lbin/sa/sa1
13 * * * * /usr/lbin/sa/sa1 600 6
If you just want to take snap shots with sar, you can do the following:
sar -d -q 2 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2000 01:47 AM
12-08-2000 01:47 AM