Results 1 to 3 of 3
Do anyone have a syntax to get the current SAR stat?
Example, it's 3:06AM, the command will get the cpu time of 3:00am only (one line)...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-13-2013 #1Just Joined!
- Join Date
- Feb 2013
- Location
- Manila
- Posts
- 17
SAR Current Stat extracttion
Do anyone have a syntax to get the current SAR stat?
Example, it's 3:06AM, the command will get the cpu time of 3:00am only (one line)
- 02-15-2013 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,156
By default, the sar data collection cron job (/etc/cron.d/sysstat) will only collect on 10 minute intervals, which is why you are getting what you are getting. If you need sar collection in one minute intervals, then you will need to edit the /etc/cron.d/sysstat file so it collects on 1 minute intervals, and then restart the cron daemon with the command "service crond restart".
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-18-2013 #3Just Joined!
- Join Date
- Feb 2013
- Location
- Manila
- Posts
- 17


Reply With Quote

