Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-08-2010, 12:56 PM   #1
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 593

Rep: Reputation: 30
sar output for a particular day

Hi all,

I have to output a sar report which was created on Mar 1 and am trying with

sar -f sar01
sar -o sar01

Can someone help me,to which option i can use to extract the output from sa01. Further any link to learn the "SAR" ,documents are appreciated.

Old 03-08-2010, 01:31 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,959
Blog Entries: 14

Rep: Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180Reputation: 1180
sar -f /var/log/sa/sa01

You have to specify the path to the sar file for the day in which you're interested. Also the file names for the daily files are "sa##" not "sar##".

Typing "man sar" will show you the sar man page and give you a great deal of detail on the various flags you can use to see subsets of the information.

You can also type "man sadc" for the sar data collector command that generates the above files.

In UNIX/Linux for most commands (and many config files) typing "man" and the command or config name will give you some information.

Also typing "man -k <keyword>" might give you other man pages that include information on the subject. e.g. "man -k sar".
Old 03-08-2010, 01:39 PM   #3
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 593

Original Poster
Rep: Reputation: 30
Thanks a Lot



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sysstat output (using sar) cabloy Linux - Software 2 04-27-2010 04:10 AM
sar output for the past 4 days ZAMO Linux - Enterprise 2 12-24-2008 05:00 PM
Advise on sar output squidusr Linux - Enterprise 2 03-13-2008 03:39 AM
output of SAR yusufs Linux - Newbie 7 11-03-2007 03:10 AM
Question on top, ps and sar output Sathya Linux - Newbie 3 10-19-2007 12:58 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration