- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cannot sar -u
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
08-18-2002 08:09 AM
08-18-2002 08:09 AM
when I do sar -u it shows
sar: Can't open /var/adm/sa/sa19
how do I get the sar daemon run ???
TIA
Sri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2002 09:58 AM
08-18-2002 09:58 AM
Re: cannot sar -u
If you don't specify a sampling interval, 'sar' looks for a previously recorded file. Try something like:
# sar 5 10
This will yield 5-samples taken every 10-seconds. See the man pages (1M) for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2002 10:28 AM
08-18-2002 10:28 AM
Re: cannot sar -u
to setup "sadc" (the System Activity Data Collector) read the man page about "sadc" and follow the instruction about the "crontab" entries for "sa1" ("sa2" is not really needed).
About an hour later you should be able to use "sar" without interval parameters!
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2002 05:51 PM
08-18-2002 05:51 PM
Re: cannot sar -u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2002 06:44 PM
08-18-2002 06:44 PM
SolutionParameters were missing in your sar command, the correct syntax should be,
sar -u
where
BTW, there is no daemon process for sar (it doesn't require one).
Rgds,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2002 09:09 PM
08-18-2002 09:09 PM
Re: cannot sar -u
Thanks everybody
I should read the man pages more !!!
Thanks Again
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 10:35 AM
08-20-2002 10:35 AM
Re: cannot sar -u
# Sar records every 20 minutes during working hours and hourly otherwise
0 * * * 0,6 /usr/lbin/sa/sa1
0 8-17 * * 1-5 /usr/lbin/sa/sa1 1200 3
0 18-7 * * 1-5 /usr/lbin/sa/sa1
good luck