Help with vmstat
Russ Brandon
msitd32 at ms3.UUCP
Tue Apr 22 00:28:10 AEST 1986
I'm looking for some advice, help, hints, and maybe a point
of contact for getting 'vmstat' to execute in the back round.
I've been trying for some time now to get vmstat to execute
from a back round process(i.e. at and crontab) with no success.
I have looked at the source for vmstat and can see no reason
for it not working from the back round. The program executes
fine from the foreground but when executed from the back round I
can't get any output. I've put DEBUG code in to monitor the
actions of the program, but I don't get any output from these
either. I commented out the following code,
setbuf(stdout, _sobuf);
where _sobuf was defined as
extern char _sobuf[];
thinking that the program was failing from the back round because
there was no stdout associated with the process. This had no
effect on the execution of the program.
I need to execute vmstat once an hour for an indefinite period
to calculate capacity assessments for the system. We are using
VAX 11/780s running 4.1BSD.
If you have any suggestions or know of someone who might I'd
appreciate some help.
--
Russell Brandon ...!seismo!vrdxhq!ms3!RSB
c/o ISN, Crop
1235 Jefferson Davis Hwy
Arlington, Va. 22202
More information about the Comp.unix.wizards
mailing list