HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Recomended interval for sar -w
Operating System - HP-UX
1837979
Members
2969
Online
110124
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
Go to solution
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
02-14-2002 07:52 AM
02-14-2002 07:52 AM
I need to run the "sar -w" to monitor the possible swapping during a day. Is there a recomendation of the interval of the readings?
I understand that check every second the whole day may be a little overkill, might have some impact on the performance as well?
Thanx in advance and good luck in the Olympic Games! Sweden only have two brons medals yet:-(
I understand that check every second the whole day may be a little overkill, might have some impact on the performance as well?
Thanx in advance and good luck in the Olympic Games! Sweden only have two brons medals yet:-(
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2002 07:57 AM
02-14-2002 07:57 AM
Solution
Hi:
There is no really good answer other than 'it depends'. A good starting point is 20 minute intervals. That is a reasonable compromise between the number of data points and performance impact. You can then adjust from there. Really the only swapping number to be concerned about is the pageout rate. If you want really good system statistics, MeasureWare is hard to beat.
There is no really good answer other than 'it depends'. A good starting point is 20 minute intervals. That is a reasonable compromise between the number of data points and performance impact. You can then adjust from there. Really the only swapping number to be concerned about is the pageout rate. If you want really good system statistics, MeasureWare is hard to beat.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2002 07:59 AM
02-14-2002 07:59 AM
Re: Recomended interval for sar -w
Hello:
you can put this in your cron
0 * * * * /usr/lbin/sa/sa1 1200 3
0 0 * * * /usr/lbin/sa/sa2 -s 00:00 -e 23:45 -i 3600 -A
that way you can get the whole days worth, and can run sar on the file it creates in /var/adm/sa/sa## where the ## is the day of the month it collected.
I know this is more than you wanted, but this is the most popular method I have seen. And you can get other results by running different options on the files.
scott
you can put this in your cron
0 * * * * /usr/lbin/sa/sa1 1200 3
0 0 * * * /usr/lbin/sa/sa2 -s 00:00 -e 23:45 -i 3600 -A
that way you can get the whole days worth, and can run sar on the file it creates in /var/adm/sa/sa## where the ## is the day of the month it collected.
I know this is more than you wanted, but this is the most popular method I have seen. And you can get other results by running different options on the files.
scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2002 08:00 AM
02-14-2002 08:00 AM
Re: Recomended interval for sar -w
Sar must not be run for less than 5 seconds.
At a first step you must take metrics 4 or 5 times per hour.
Once you have located when swap incresasses, thencan restrict to minutes or seconds.
See man sa2.
unsupported
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