- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Refresh my memory (sar/sadc)
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
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
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
тАО07-11-2001 06:58 AM
тАО07-11-2001 06:58 AM
Refresh my memory (sar/sadc)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 07:03 AM
тАО07-11-2001 07:03 AM
Re: Refresh my memory (sar/sadc)
# 0 * * * 0-6 /usr/lib/sa/sa1
# 20,40 8-17 * * 1-5 /usr/lib/sa/sa1
# 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A
should do the trick.
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 07:04 AM
тАО07-11-2001 07:04 AM
Re: Refresh my memory (sar/sadc)
You might have a look at roots crontab and see if you see sar running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 07:15 AM
тАО07-11-2001 07:15 AM
Re: Refresh my memory (sar/sadc)
0 * * * * /usr/lib/sa/sa1
3 23 * * * /usr/lbin/sa/sa2 -s 6:00 -e 23:01 -i 3600 -A
Here's what I remember though: the second entry in the crontab WON'T work unless something creates (sadc) the necessary date directories @ boot time. I have a script in /sbin/init.d that I wrote called "sars" (attached). But I thought it had to have a ln in one of the rc#.d cirs to execute...but I can't find it? Am I going about it all wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 07:17 AM
тАО07-11-2001 07:17 AM
Re: Refresh my memory (sar/sadc)
Sar should be invoked through crontab for root.
0 * * * * /usr/lbin/sa sa1 1200 3
Should collect data at 20 min. interval
55 23 * * * /usr/lbin/sa/sa2 -s 0:00 -e 23:55 -i 1200 -A
Should create sar report for entire day (00 till 23.55)
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 07:21 AM
тАО07-11-2001 07:21 AM
Re: Refresh my memory (sar/sadc)
then why does the /usr/lib/sa/sadc command exist?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 07:21 AM
тАО07-11-2001 07:21 AM
Re: Refresh my memory (sar/sadc)
Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 07:24 AM
тАО07-11-2001 07:24 AM
Re: Refresh my memory (sar/sadc)
I looked at the man page.. but it doesn't mention what runlevel or if the /sbin/init.d script should be symbolically linked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2001 07:40 AM
тАО07-11-2001 07:40 AM
Re: Refresh my memory (sar/sadc)
Sa1 and sa2 are the scripts.
sa1 script calls sadc command to collect data.
Thanks.
Prashant Deshpande.