* how to capture output from nfsstat ?
@ 2002-10-23 9:06 Shaun.Racine
0 siblings, 0 replies; only message in thread
From: Shaun.Racine @ 2002-10-23 9:06 UTC (permalink / raw)
Hi Managers,
This seems so simple but its driving me nuts. I want to record the output
from nfsstat in a file.
We have a regular system panic on our ES40 (v5.1A), Compaq support have
suggested it may be overload of NFS service, which I doubt.
I can use nfsstat to monitor this online, but I want to record output in a
file to view after system crash. The commands I have tried are;
nfsstat -s -i 60 > nfs.log 2>&1
echo 'nfsstat -s -i 60 > nfs.log 2>&1'|at now
nohup nfsstat -s -i 60 > nfs.log 2>&1 &
But in each case the logfile always remains 0 length with no data in it!
One that sort of works is;
echo 'nfsstat -s -i 60'|at now
and the output is captured in mail after the process is terminated, but I
can't guarantee the mail would appear in the event of a crash.
I welcome all suggestions.
Regards,
Shaun Racine
Systems Development Manager
email: shaun.racine@intier.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-23 9:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-23 9:06 how to capture output from nfsstat ? Shaun.Racine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox