WAS traditional collector Recipe
- On the deployment manager node, remote in and ensure you're the user that runs WAS or root.
- Change directory to somewhere outside the WAS directory that has a
few hundred MB free. For example:
cd /tmp/
- Use an environment variable to increase the heap size of the
collector. For example:
export IBM_JAVA_OPTIONS="-Xmx1g"
- Execute
collector.sh
by specifying the full path to it. For example, replace the path to WebSphere and$PROFILE
with the deployment manager profile name:/opt/IBM/WebSphere/AppServer/profiles/$PROFILE/bin/collector.sh > diag_collector.txt 2>&1
- Once it completes, quickly review the end of the
diag_collector.txt
file for any obvious errors running the collector. A healthy collection ends withReturn code: 0
. - Upload
*WASenv.jar
anddiag_collector.txt
For details, see the collector.sh documentation.