skip to main content
TCMAN Reference : Manager actions : Display memory leaks (leaks)
 

Display memory leaks (leaks)

Purpose

List Web applications with potential memory leaks.
To use this action, the Tomcat manager (manager.war) must be deployed on the instance and the instance must be running. You can deploy manager.war from $CATALINA_HOME/extras.

Syntax

tcman.sh leaks [general_options] -u user_name:password

Parameters

general_options
Specify one or more of the general TCMAN options. Run tcman.sh help leaks to see which general options are appropriate.
-u user_name:password
Pass a valid user name and a password for HTTP Basic access authentication. (The default is -u tomcat:tomcat.)

Example

Display memory leaks for web applications deployed on the acme1 server instance:
/psc/acme1/bin/tcman.sh leaks -u tomcat:tomcat
OK - Found potential memory leaks in the following applications:
/warehouse