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 _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
- Re: [Zope-dev] Zope Server hanging :-( Chris Withers
- Re: [Zope-dev] Zope Server hanging :-( Chris McDonough
- Re: [Zope-dev] Zope Server hanging :-( Chris McDonough
- Re: [Zope-dev] Zope Server hanging :-( Chris Withers
- RE: [Zope-dev] Zope Server hanging :-( Tim McLaughlin
- Re: [Zope-dev] Zope Server hanging :-( Chris McDonough
- Re: [Zope-dev] Zope Server hanging :-( Chris Muldrow
- Re: [Zope-dev] Zope Server hanging :-( Michel Pelletier
- RE: [Zope-dev] Zope Server hanging :-( Tim McLaughlin
- Re: [Zope-dev] Zope Server hanging :-( Chris McDonough
- Re: [Zope-dev] Zope Server hanging :-( Chris Withers
- Re: [Zope-dev] Zope Server hanging :-( Chris McDonough
- Re: [Zope-dev] Zope Server hanging :-( Michel Pelletier
- Re: [Zope-dev] Zope Server hanging :-( Michel Pelletier
- Re: [Zope-dev] Zope Server hanging :-( Chris McDonough
- Re: [Zope-dev] Zope Server hanging :-( Erik Enge
- Re: [Zope-dev] Zope Server hanging :-( richard
- Re: [Zope-dev] Zope Server hanging :-( Dieter Maurer
- Re: [Zope-dev] Zope Server hanging :-( Erik Enge
- Re: [Zope-dev] Zope Server hanging :-( Richard Jones