Results 1 to 5 of 5
Hi All,
I am setting up Linux SAR to record performance stats on my linux box.
I want to retain the data for 1 month.I changed the variable history to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-01-2011 #1Just Joined!
- Join Date
- Sep 2011
- Posts
- 5
Question on SAR
Hi All,
I am setting up Linux SAR to record performance stats on my linux box.
I want to retain the data for 1 month.I changed the variable history to 31 days in /etc/sysconfig/sysstat and also on /usr/lib64/sa/sa2.
My question:
1. Since I set this only on october 30 and my SAR datafiles begin from october 17( previous datafiles were already removed) - will 31st day be only on november 17 or is it per calendar month like oct 1 - oct 31?
I am following this link ( FAQ 2.19)
<link > sebastien.godard.pagesperso-orange.fr/faq.html#sar < link>
Thanks in advance for the help.
- 11-02-2011 #2Just Joined!
- Join Date
- Oct 2011
- Posts
- 50
it's per calendar days, there's nothing to worry about
- 11-02-2011 #3Just Joined!
- Join Date
- Sep 2011
- Posts
- 5
Thanks you for the reply. But on the box I see this.According to the link I provided on the previous post, I should be seeing a folder <YYYYMM> and datafile <saDD>. But these files placed under /var/log/sa instead . I am a bit confused. Anything missing here?
-rw-r--r-- 1 root root 578513 Oct 30 23:53 sar30
-rw-r--r-- 1 root root 546288 Oct 31 23:50 sa31
-rw-r--r-- 1 root root 578513 Oct 31 23:53 sar31
-rw-r--r-- 1 root root 546288 Nov 1 23:50 sa01
-rw-r--r-- 1 root root 578513 Nov 1 23:53 sar01
-rw-r--r-- 1 root root 227760 Nov 2 09:50 sa02
- 02-08-2013 #4Just Joined!
- Join Date
- Feb 2013
- Location
- Manila
- Posts
- 17
How can I extract data using SAR in just a given time, like for example 03:00:00? Below is my syntax, but nothing comes out...
>sar -s 03:00:00 -e 03:00:01 -r | awk '{print $5}'
I plan to get the RAM used percentage...
- 02-08-2013 #5
This is an old thread, please start your own.
ClosingYou must always face the curtain with a bow.




