[geeks] vmstat modification

Will Mc Donald geeks at sunhelp.org
Sun Jul 15 15:03:38 CDT 2001


That was quicky done on a linux box, hold on a mo...

on Solaris remove the -n.

----- Original Message ----- 
From: "William S." <wilby98 at yahoo.com>
To: <geeks at sunhelp.org>
Sent: Sunday, July 15, 2001 8:58 PM
Subject: Re: [geeks] vmstat modification


> I tried running it and it just hung there.
> Maybe it's the version I have and the fact
> it is a Linux OS. Are you using Solaris/SUN
> with that?
> 
> Bill
> 
> --- Will Mc Donald <wmcdonald at orctel.co.uk> wrote:
> > Ahem, obviousy I meant *this*...
> > 
> > vmstat -n 5 | awk '{ print $1 " " $2 " " $3 }'
> > 
> > :)
> > 
> > And looking at the outupt you might want to do
> > something with the 1st header
> > line because it comes out a bit wrong.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> _______________________________________________
> GEEKS:  http://www.sunhelp.org/mailman/listinfo/geeks




More information about the geeks mailing list