tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Shaun.Racine@intier.com
Subject: how to capture output from nfsstat ?
Date: Wed, 23 Oct 2002 10:06:00 +0100	[thread overview]
Message-ID: <OF29ED152A.30684B18-ON80256C5B.0030D796@MIS.Magna-Europa.com> (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



                 reply	other threads:[~2002-10-23  9:06 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