HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error when using SAR command
Operating System - HP-UX
1838612
Members
2993
Online
110128
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-19-2003 11:53 AM
06-19-2003 11:53 AM
Error when using SAR command
executed the following command for cron
/usr/lib/sa/sa2 -s 12:00 -e 18:01 -i 300 -A
Which created /var/adm/sa/sar19, but nothing is being written to the file ? I was expecting
every 5mins. ( 300 sec ) for an update to happen.
Learn More
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2003 12:22 PM
06-19-2003 12:22 PM
Re: Error when using SAR command
Remember how cron works... Try running the command like this...
"nohup /usr/lib/sa/sa2 -s 12:00 -e 18:01 -i 300 -A" >>/dev/null
Regards,
Shannon
"nohup /usr/lib/sa/sa2 -s 12:00 -e 18:01 -i 300 -A" >>/dev/null
Regards,
Shannon
Microsoft. When do you want a virus today?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2003 07:48 PM
06-22-2003 07:48 PM
Re: Error when using SAR command
Hi Jerry,
You need to run the following steps at the first time you run that cronjob :
# mkdir /var/adm/sa
# /usr/lbin/sa/sadc /var/adm/sa/sa`date +%d`
Hope this information can help you.
Regards,
AW.
PS : please see the kmine doc : UPERFKBRC00012090
You need to run the following steps at the first time you run that cronjob :
# mkdir /var/adm/sa
# /usr/lbin/sa/sadc /var/adm/sa/sa`date +%d`
Hope this information can help you.
Regards,
AW.
PS : please see the kmine doc : UPERFKBRC00012090
now working, next not working ... that's unix
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP