3 May
2001
3 May
'01
2:35 p.m.
Chris McDonough wrote:
You can also use cumulative reporting to sort by "hangs":
requestprofiler.py your.log.file --cumulative --sort=hangs
python requestprofiler.py my.log --cumulative --sort=hangs > out2.txt resulted in: Traceback (innermost last): File "requestprofiler.py", line 586, in ? analyze(open(sys.argv[1]), top, sortf, start, end, mode) File "requestprofiler.py", line 346, in analyze write(dict, top) File "requestprofiler.py", line 360, in write print str(stat)[:78] File "requestprofiler.py", line 226, in __str__ body = ( File "requestprofiler.py", line 273, in median else: return (all[i] + all[i2]) / 2 TypeError: number coercion failed Any ideas? cheers, Chris