LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

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
and
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.


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

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
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
ZAMO
Member
 
Registered: Mar 2007
Distribution: Redhat &CentOS
Posts: 579

Original Poster
Rep: Reputation: 30
Thanks a Lot
 
  


Reply

Tags
sar


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


All times are GMT -5. The time now is 05:19 AM.

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