Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17670c5
)
- more consistently get the opc when graphing rpcs
author
zab
<zab>
Wed, 28 Apr 2004 21:36:52 +0000
(21:36 +0000)
committer
zab
<zab>
Wed, 28 Apr 2004 21:36:52 +0000
(21:36 +0000)
lustre/scripts/graph-rpcs.sh
patch
|
blob
|
history
diff --git
a/lustre/scripts/graph-rpcs.sh
b/lustre/scripts/graph-rpcs.sh
index
83b7815
..
d2e900a
100755
(executable)
--- 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++;