Unix administration - sar problem: updates timestamp, but no sar data

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > November 2004 > sar problem: updates timestamp, but no sar data





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author sar problem: updates timestamp, but no sar data
Patrick Beckhelm

2004-11-09, 5:53 pm

Greetings folks,

I'm trying to figure out a problem that happened to me twice
yesterday. I've done extensive searching and haven't found any
explanation for this behaviour. So, here's the scenario:

I renamed and readdressed two servers, say Box1 and Box2. They have
no real link to one another, save for the fact that they perform
similar functions. Prior to the rename/readdress each of the machines
sar was running fine, reporting data at the expected intervals (sa1
was being run from cron at 5 min intervals). Once the
rename/readdress took place, and the host was booted (just for my own
sanity), I found that while sar would run, and the timestamp on
/var/adm/sa/sa0x would be updated, when running sar -f
/var/adm/sa/sa0x by hand showed that the actual sar data from sa1
wasn't there.

The only solution I could come up with was to move the old datafile
aside and touch (and chmod/chown) an new one. That solved the problem
in that the file was once again actually being written to, however,
that doesn't explain the strange behaviour when trying to write to the
original file. Oh, another note, even when running sa1 by hand, the
file still didn't get written to (either running it as root or as
sys).

Any ideas? The hosts are both SunFire V440's running Sol9, with
/usr/lib/sa/sa1 running at 5 min intervals from the sys crontab.

TIA,

Patrick
Frank Langelage

2004-11-09, 5:53 pm

Patrick Beckhelm wrote:
> Greetings folks,
>
> I'm trying to figure out a problem that happened to me twice
> yesterday. I've done extensive searching and haven't found any
> explanation for this behaviour. So, here's the scenario:
>
> I renamed and readdressed two servers, say Box1 and Box2. ....


How does /etc/rc2.d/S21perf look like on this machine ? Are the line
commented or uncommented ?
If they are not uncommented the saXX files don't get the "reboot flag"
and aren't written further for this day.

If those line are uncommented I would guess that the machine name is
inside of this saXX-files and sar doesn't write further information to it.

regards,
Frank
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com