Skip to content
Permalink
Browse files

Fix problem with redirecting output.

  • Loading branch information...
cyrusdaboo committed Jul 11, 2012
1 parent 7bf514d commit 4a65fd3589beb4b1023a321c936f7335c0236329
Showing with 5 additions and 2 deletions.
  1. +5 −2 contrib/tools/request_monitor.py
@@ -25,6 +25,7 @@
import traceback
import collections
import tables
from cStringIO import StringIO

# Detect which OS this is being run on
child = Popen(
@@ -555,8 +556,10 @@ def usage():
maxEndTime,
"",
))
table.printTable()
print

os = StringIO()
table.printTable(os=os)
print os.getvalue()

if enableListenQueue:
lqlatency = (lqssl / avgRequests, lqnon / avgRequests,) if avgRequests else (0.0, 0.0,)

0 comments on commit 4a65fd3

Please sign in to comment.
You can’t perform that action at this time.