Browse Source

add a tool to see what requests have not completed, useful for debugging..

tags/ggatessh-v1.0.0
John-Mark Gurney 3 years ago
parent
commit
ad55687781
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      tools/trace.awk

+ 16
- 0
tools/trace.awk View File

@@ -0,0 +1,16 @@
#!/usr/bin/awk -f

$0 ~ /^debug: ggio/ {
reqs[$8] = 1
print "started: " $8
}

$0 ~ /^debug: cmd complete/ {
delete reqs[$5]
}

END {
for (i in reqs) {
print "unfinished: " i
}
}

Loading…
Cancel
Save