Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
  1. #1
    Just 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.

  2. #2
    Just Joined!
    Join Date
    Oct 2011
    Posts
    50
    it's per calendar days, there's nothing to worry about

  3. #3
    Just Joined!
    Join Date
    Sep 2011
    Posts
    5
    Quote Originally Posted by vasile002 View Post
    it's per calendar days, there's nothing to worry about

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...