From: green Date: Mon, 3 May 2004 19:33:25 +0000 (+0000) Subject: Updated to HEAD X-Git-Tag: v1_7_100~1^248~8 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9e7fdd29eca148e30bbccfdcf364b4c803f40c06;p=fs%2Flustre-release.git Updated to HEAD --- diff --git a/lustre/scripts/graph-rpcs.sh b/lustre/scripts/graph-rpcs.sh index 83b7815..d2e900a 100755 --- a/lustre/scripts/graph-rpcs.sh +++ b/lustre/scripts/graph-rpcs.sh @@ -127,7 +127,9 @@ awk -F"[$IFS:]" ' tvtime = $4 pname = $20 xid = $23 - opc = $26 + # sometimes the nid has our seperators + # in it, so we hope the last field is the op code + opc = $NF # the y position of the rpc bar in the graph is determined # by the category which we use the process name for. when @@ -176,7 +178,7 @@ awk -F"[$IFS:]" ' tvtime = $4 pname = $20 xid = $23 - opc = $26 + opc = $NF total_rpcs++;