From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Shaun.Racine@intier.com Newsgroups: gmane.os.tru64.managers Subject: how to capture output from nfsstat ? Date: Wed, 23 Oct 2002 10:06:00 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035363998 15321 80.91.224.249 (23 Oct 2002 09:06:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 09:06:38 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 184HTH-0003yf-00 for ; Wed, 23 Oct 2002 11:06:36 +0200 Original-Received: (qmail 28377 invoked by uid 5); 23 Oct 2002 09:07:25 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28367 invoked by uid 49493); 23 Oct 2002 09:07:24 -0000 Original-Received: from Shaun.Racine@intier.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(0.3/5.0):. Processed in 0.3997 secs); 23 Oct 2002 09:07:24 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 23 Oct 2002 09:07:24 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4F00C24G0BP3@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Oct 2002 05:07:23 -0400 (EDT) Original-Received: from mail.magna-europa.com (mail.magna-europa.com [212.184.111.38]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4F00H8SFZZF6@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Oct 2002 05:07:12 -0400 (EDT) Original-Received: from mail.MIS.Magna-Europa.com ([172.28.32.9] verified) by mail.magna-europa.com (CommuniGate Pro SMTP 3.5.7) with ESMTP id 16422731 for tru64-unix-managers@ornl.gov; Wed, 23 Oct 2002 10:57:13 +0200 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 X-MIMETrack: Serialize by Router on MISGROUP01DS/SVR/MISGroup(Release 5.0.4 |June 8, 2000) at 10/23/2002 10:06:09 AM Xref: main.gmane.org gmane.os.tru64.managers:2166 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2166 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