From: Chris Bryant <cbryant () dollar ! com>
To: tru64-unix-managers
Subject: SUMMARY: Question about sar.
Date: Thu, 08 Nov 2001 14:15:42 +0000 [thread overview]
Message-ID: <102653643321660.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C1685F.9CD3C521", Size: 7339 bytes --]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1685F.9CD3C521
Content-Type: text/plain;
charset="iso-8859-1"
Thanks to Mandell Degerness, Gavin Kreuither, Vince D'Antonio, Jim Belonis,
Dennis Sylvester, Jesper Frank Nemholt, and Joe Fletcher for their
responses. It was Mandell Degerness, Gavin Kreuither, and Vince D'Antonio's
suggestions that worked.
Mandell Degerness - You need to have started to record the information (man
sa) before you are able to report on the information.
Gavin Kreuither -
The directory /var/adm/sa is not created by default -- create it!.
To run sar interactively, you simply need to ads a sleep period and loop
count:
sar 5 5
sar -d 10 2
etc. If you want to save data at regular intervals, you need to setup sadc
in cron. Check the man pages (if they are installed!)
Gavin
Vince D'Antonio -
you need to create the directories and put this in your crontab:
# collect Sar data
0 * * * * /usr/opt/svr4/usr/lib/sa/sa1
24,40 8-17 * * 1-5 /usr/opt/svr4/usr/lib/sa/sa1
I made sure all the directories were created, put Vince's suggestion in the
cron and let it collect data overnight. This morning I checked sar and it
worked.
Thanks again,
Chris Bryant
Unix Administrator
Dollar Rent A Car
(918) 669-3213
-----Original Message-----
From: Chris Bryant [mailto:cbryant@dollar.com]
Sent: Wednesday, November 07, 2001 3:23 PM
To: Tru64 Unix (E-mail)
Subject: Question about sar.
Admins,
I have installed the Extended_System_V software from the associated
products CD and am trying to use sar. When trying to run sar from the
command line, I get the following error: Can't open /var/adm/sa/sa07. This
is a 5.1 system on various hardware, since this is happening on all my 5.1
systems there should not be any hardware complications, I hope. Does
anybody have any idea how I can get this resolved?
TIA,
Chris Bryant
Unix Administrator
Dollar Rent A Car
(918) 669-3213
------_=_NextPart_001_01C1685F.9CD3C521
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Question about sar.</TITLE>
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=453070914-08112001><FONT face=Arial color=#0000ff size=2>Thanks
to Mandell Degerness, Gavin Kreuither, Vince D'Antonio, Jim Belonis, Dennis
Sylvester, Jesper Frank Nemholt, and Joe Fletcher for their responses. It
was Mandell Degerness, Gavin Kreuither, and Vince D'Antonio's suggestions that
worked. </FONT></SPAN></DIV>
<DIV><SPAN class=453070914-08112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=453070914-08112001><FONT face=Arial color=#0000ff
size=2>Mandell Degerness - <SPAN class=698162621-07112001>You need to have
started to record the information (man sa) before you are able to report on the
information.</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=453070914-08112001><FONT face=Arial color=#0000ff size=2><SPAN
class=698162621-07112001></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=453070914-08112001><SPAN class=698162621-07112001><FONT
face=Arial color=#0000ff size=2>Gavin Kreuither - </FONT>
<DIV><SPAN class=103562721-07112001><FONT face=Arial color=#0000ff size=2>The
directory /var/adm/sa is not created by default -- create
it!.</FONT></SPAN></DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial color=#0000ff size=2>To run
sar interactively, you simply need to ads a sleep period and loop
count:</FONT></SPAN></DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial><FONT color=#0000ff
size=2> sar 5 5</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial><FONT color=#0000ff
size=2> sar -d 10 2</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial color=#0000ff
size=2>etc. If you want to save data at regular intervals, you need to
setup sadc in cron. Check the man pages (if they are
installed!)</FONT></SPAN></DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial color=#0000ff
size=2>Gavin</FONT></SPAN></DIV>
<DIV><SPAN class=103562721-07112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=103562721-07112001><SPAN class=453070914-08112001><FONT
face=Arial color=#0000ff size=2>Vince D'Antonio - </FONT>
<P><FONT face=Arial color=#0000ff size=2>you need to create the directories and
put this in your crontab:</FONT></P>
<P><FONT face=Arial color=#0000ff size=2># collect Sar data</FONT></P>
<P><FONT face=Arial color=#0000ff size=2>0 * * * *
/usr/opt/svr4/usr/lib/sa/sa1</FONT></P>
<P><FONT face=Arial color=#0000ff size=2>24,40 8-17 * * 1-5
/usr/opt/svr4/usr/lib/sa/sa1</FONT></P>
<P><FONT face=Arial color=#0000ff size=2></FONT> </P>
<P><SPAN class=453070914-08112001><FONT face=Arial color=#0000ff size=2>I made
sure all the directories were created, put Vince's suggestion in the cron and
let it collect data overnight. This morning I checked sar and it
worked.</FONT></SPAN></P>
<P><SPAN class=453070914-08112001><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </P>
<P><SPAN class=453070914-08112001><FONT face=Arial color=#0000ff size=2>Thanks
again,</FONT></SPAN></SPAN></SPAN></SPAN></SPAN></P></DIV></DIV>
<P><FONT face=Arial size=2>Chris Bryant</FONT> <BR><FONT face=Arial size=2>Unix
Administrator</FONT> <BR><FONT face=Arial size=2>Dollar Rent A Car</FONT>
<BR><FONT face=Arial size=2>(918) 669-3213</FONT> </P>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Chris Bryant
[mailto:cbryant@dollar.com]<BR><B>Sent:</B> Wednesday, November 07, 2001 3:23
PM<BR><B>To:</B> Tru64 Unix (E-mail)<BR><B>Subject:</B> Question about
sar.<BR><BR></FONT></DIV>
<P><FONT face=Arial size=2>Admins,</FONT> </P>
<P> <FONT face=Arial size=2>I have
installed the Extended_System_V software from the associated products CD and am
trying to use sar. When trying to run sar from the command line, I get the
following error: Can't open /var/adm/sa/sa07. This is a 5.1 system on
various hardware, since this is happening on all my 5.1 systems there should not
be any hardware complications, I hope. Does anybody have any idea how I
can get this resolved?</FONT></P>
<P><FONT face=Arial size=2>TIA,</FONT> </P>
<P><FONT face=Arial size=2>Chris Bryant</FONT> <BR><FONT face=Arial size=2>Unix
Administrator</FONT> <BR><FONT face=Arial size=2>Dollar Rent A Car</FONT>
<BR><FONT face=Arial size=2>(918) 669-3213</FONT> </P></BODY></HTML>
------_=_NextPart_001_01C1685F.9CD3C521--
reply other threads:[~2001-11-08 14:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox