[geeks] vmstat modification
Will Mc Donald
geeks at sunhelp.org
Sun Jul 15 14:30:48 CDT 2001
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.
----- Original Message -----
From: "Will Mc Donald" <wmcdonald at orctel.co.uk>
To: <geeks at sunhelp.org>
Sent: Sunday, July 15, 2001 8:25 PM
Subject: Re: [geeks] vmstat modification
> 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>
>
More information about the geeks
mailing list