<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=rtl><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1255">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY dir=ltr bgColor=#ffffff>
<DIV><FONT size=2>Hi Y'all,</FONT></DIV><FONT size=2></FONT>
<DIV><BR><FONT face=Verdana size=2>I'm trying to run sar and it stopped
functioning:<BR><BR><BR>/root # sar -q<BR>Invalid system activity file:
/var/log/sa/sa20<BR><BR><BR>/root # sar<BR>Invalid system activity file:
/var/log/sa/sa20<BR><BR>I tried to uninstall it and then re-install the
package,. but to no avail.<BR>I keep getting the same error.<BR><BR>This has
actually happen several months ago,. but I neglected to take care of
it.<BR><BR>drwxr-xr-x 2 root root 4096 May 20 00:00 sa<BR><BR>/var/log/sa #
ll<BR>total 5860<BR>-rw-r--r-- 1 root root 257136 May 12 23:50
sa12<BR>-rw-r--r-- 1 root root 257136 May 13 23:50 sa13<BR>-rw-r--r-- 1 root
root 257136 May 14 23:50 sa14<BR>-rw-r--r-- 1 root root 257136 May 15 23:50
sa15<BR>-rw-r--r-- 1 root root 257136 May 16 23:50 sa16<BR>-rw-r--r-- 1 root
root 257136 May 17 23:50 sa17<BR>-rw-r--r-- 1 root root 257136 May 18 23:50
sa18<BR>-rw-r--r-- 1 root root 257136 May 19 23:50 sa19<BR>-rw-r--r-- 1 root
root 173288 May 20 16:00 sa20<BR>-rw-r--r-- 1 root root 407362 May 11 23:53
sar11<BR>-rw-r--r-- 1 root root 407362 May 12 23:53 sar12<BR>-rw-r--r-- 1 root
root 407362 May 13 23:53 sar13<BR>-rw-r--r-- 1 root root 407362 May 14 23:53
sar14<BR>-rw-r--r-- 1 root root 407362 May 15 23:53 sar15<BR>-rw-r--r-- 1 root
root 407362 May 16 23:53 sar16<BR>-rw-r--r-- 1 root root 407362 May 17 23:53
sar17<BR>-rw-r--r-- 1 root root 407362 May 18 23:53 sar18<BR>-rw-r--r-- 1 root
root 407362 May 19 23:53 sar19<BR><BR>So something is happening,. but the sar
itself is not able to read the files created.<BR><BR><BR>/var/log/sa # sar -q 1
20<BR>Linux 2.4.21-32.0.1.ELsmp (bess.hosites.com) 05/20/2006<BR><BR>04:09:40 PM
runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15<BR>04:09:41 PM 1 286 0.74 0.99
0.96<BR>04:09:42 PM 1 285 0.74 0.99 0.96<BR>04:09:43 PM 0 285 0.68 0.97
0.95<BR>04:09:44 PM 0 284 0.68 0.97 0.95<BR>04:09:45 PM 0 284 0.68 0.97
0.95<BR>04:09:46 PM 0 283 0.68 0.97 0.95<BR><BR>(this is probably running from
memory as it is a 'live' reading)</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>So sar, by itself it running correctly,. it just
can't read the sysstats log files or something like that.<BR><BR>Any
pointers?<BR><BR>Thanks,<BR><BR>-Alon.</FONT></DIV></BODY></HTML>