Thread
:
awk script help
View Single Post
06-10-2008, 09:41 PM
#
9
(
permalink
)
Saosin1984
Registered User
Join Date: Jun 2008
Posts: 4
OS
: linux
Re: awk script help
I managed to solve it!
rsh sim1 vmstat -m | awk -v ORS='' 'NR == 12 {print "Sim1","\t", $6}' >> filename && rup -l | egrep sim1 | awk '{print "\t", $8}' >> filename
The above command will give me Sim1 2856 2.5
Thank you so much!
Saosin1984
View Public Profile
Find More Posts by Saosin1984
System Specs