- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sar data not configured, directory/data files miss...
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
Forums
Discussions
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
08-21-2007 03:03 AM
08-21-2007 03:03 AM
I was supposed to gather some data on this box from the weekend but now obviously I can't.
How do go about starting up the monitoring for sar? Other than creating the directory?
I feel kinda dumb asking this question, so bear with me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 03:08 AM
08-21-2007 03:08 AM
SolutionTitle: How to setup sar(1m) within cron to collect data .
Document ID: emr_na-c01030856-1
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01030856-1
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01030856-1
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 03:15 AM
08-21-2007 03:15 AM
Re: sar data not configured, directory/data files missing
A good sar script, though you may want to add a mkdir command to it:
http://www.hpux.ws/system.perf.sh
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 03:20 AM
08-21-2007 03:20 AM
Re: sar data not configured, directory/data files missing
If you server in a Mission Critical OE, you should have OVPA (mwa) installed on the system, it will be a good performance tools to measure your system performance.
It will be much more easier right ?
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 03:42 AM
08-21-2007 03:42 AM
Re: sar data not configured, directory/data files missing
I can't run any sar scripts because I have no /var/adm/sa directory and no data is being captured.
How do I ensure that it is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 03:43 AM
08-21-2007 03:43 AM
Re: sar data not configured, directory/data files missing
apparently I have no access to the links you provided.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 04:08 AM
08-21-2007 04:08 AM
Re: sar data not configured, directory/data files missing
Have a look at this thread. (Geoff's answer)
https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1029577
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 04:12 AM
08-21-2007 04:12 AM
Re: sar data not configured, directory/data files missing
# sar -d -o /tmp/iorpt.$(date +%d) 30 1000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 05:19 AM
08-21-2007 05:19 AM
Re: sar data not configured, directory/data files missing
how do i configure the sar data to be captured automatically, after i create the /var/adm/sa directories on my boxes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 05:22 AM
08-21-2007 05:22 AM
Re: sar data not configured, directory/data files missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 05:58 AM
08-21-2007 05:58 AM
Re: sar data not configured, directory/data files missing
thanks Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 06:15 AM
08-21-2007 06:15 AM
Re: sar data not configured, directory/data files missing
Don't know why - feature?
Yes, you have to:
mkdir /var/adm/sa
then setup cron...something like:
# SAR
0 * * * * /usr/lib/sa/sa1
10,20,30,40,50 5-19 * * * /usr/lib/sa/sa1
# reduce the sar data
5 19 * * * /usr/lib/sa/sa2 -s 5:00 -e 19:01 -i 600 -A
Rgds...Geoff