def leaks(url='http://localhost:8080/manager', timeout=180):
 return _wget('findleaks', {'statusLine': 'true'}, url, timeout=timeout)['msg']

def leaks ( url = 'http://localhost:8080/manager' , timeout = 180 ) : return _wget ( 'findleaks' , { 'statusLine' : 'true' } , url , timeout = timeout ) [ 'msg' ]
find memory leaks in tomcat url : URL the url of the server manager webapp timeout : 180 timeout for http request cli examples: .