Crontab / SAR Question
2007-12-24 19:19:00
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C08BBD.E29B6B10
Content-Type: text/plain;
charset="iso-8859-1"
Hi,
I am trying to run sar through crontab since I want to collect data over a
period of 7 days.
I have the following in the root crontab (the ls -l for the root crontab
looks like -r--r--r-- 1 root other 500 Jan 31 10:19 root )
:
0 * * * 0-6 /usr/lib/sa/sa1 300 11
0 * * * 0-6 /usr/lib/sa/sa2 -s 00:00 -e 23:55 -i 1200 -A
I expect it to run every hour but somehow it doesnt even get started.
Before that I had the following in the sys crontab(the ls -l for the sys
crontab looks like -r--r--r-- 1 root sys 287 Jan 31 09:28
sys ):
0 * * * 0-6 /usr/lib/sa/sa1
0 * * * 0-6 /usr/lib/sa/sa2 -s 00:00 -e 23:55 -i 1200 -A
just like it mentioned in the man pages and that too didnt run.
What am I missing here?
TIA,
Nabeel
------_=_NextPart_001_01C08BBD.E29B6B10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Crontab / SAR Question</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Hi,</FONT>
</P>
<P><FONT SIZE=3D2>I am trying to run sar through crontab since I want =
to collect data over a period of 7 days.</FONT>
</P>
<P><FONT SIZE=3D2>I have the following in the root crontab (the ls -l =
for the root crontab looks like -r--r--r-- =
1 root =
other 500 Jan 31 10:19 root ) =
:</FONT></P>
<P><FONT SIZE=3D2>0 * * * 0-6 /usr/lib/sa/sa1 300 11</FONT>
<BR><FONT SIZE=3D2>0 * * * 0-6 /usr/lib/sa/sa2 -s 00:00 -e 23:55 -i =
1200 -A</FONT>
<BR><FONT SIZE=3D2>I expect it to run every hour but somehow it doesnt =
even get started.</FONT>
</P>
<P><FONT SIZE=3D2>Before that I had the following in the sys =
crontab(the ls -l for the sys crontab looks like -r--r--r-- =
1 root =
sys 287 Jan 31 09:28 =
sys ):</FONT></P>
<P><FONT SIZE=3D2>0 * * * 0-6 /usr/lib/sa/sa1 </FONT>
<BR><FONT SIZE=3D2>0 * * * 0-6 /usr/lib/sa/sa2 -s 00:00 -e 23:55 -i =
1200 -A</FONT>
</P>
<P><FONT SIZE=3D2>just like it mentioned in the man pages and that too =
didnt run.</FONT>
</P>
<P><FONT SIZE=3D2>What am I missing here?</FONT>
</P>
<P><FONT SIZE=3D2>TIA,</FONT>
<BR><FONT SIZE=3D2>Nabeel</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C08BBD.E29B6B10--
Comments
Got something to say?
You must be logged in to post a comment.

