A very quick response from Chip:
From: Chip Christian <chip@princetonecom.com>
nawk is your friend. Try something like this:
$ sar -d | nawk '/^[^ ]/ {foo=$1}
> /sd2[ ,]/ {print foo $0}'
Does just what I needed!
Thanks Chip
Original posting:
>Is there a way to get sar to give me the performance of just one disk?
>I have tried several revisions of
>host#> sar -d [sd2] -f /var/adm/sa/sa15
>No match
>host#>
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:14 CDT