[geeks] vmstat modification

Will Mc Donald geeks at sunhelp.org
Sun Jul 15 14:25:40 CDT 2001


This...

vmstat -n 5 | awk '{ print $1 $2 $3 }'

will do the first three fields every 5 seconds. You can easily vary that for
which ever field no. you'd like output.  That the sort of thing you're
after? Of something more <homer> sophistimicated? </homer>

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


> I am interested in running vmstat in a small xterm
>
> on my Debian Linux box. I would like to limit the
>
> output to 5 columns. Is there any way to do it?
>
> Maybe using awk or sed?
>
>
>
> Bill
>
> Amsterdam, NL
>
>
>
>
> __________________________________________________
> 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