heapMonitor command
The heapMonitor command manages the iSeries WebSphere® Custom Service Heap Monitor, which sends messages to QSYSOPR when the WebSphere Java™ heap is close to exceeding or exceeds the storage pool size.
Product
This script is available in WebSphere Application Server (base), WebSphere Application Server Express®, and WebSphere Application Server Network Deployment.
Authority
To run this script, your user profile must have *ALLOBJ authority.
Syntax
heapMonitor [-profileName profile] [wsadmin_options] [-server.name server_name] [-enable | -disable | -status | -viewlog] [-help]
Parameters
- -profileName
The name of the profile to manage. The default profile is used if no profile is specified.
- -server.name
The name of the application server to manage. The default value is the name of the profile, or "server1" if the profile is named "default."
- -enable
Enables heap monitoring on a server. If heap monitoring is already enabled, it does nothing.
- -disable
Disables heap monitoring on a server. If heap monitoring is already disabled, it does nothing.
- -status
Displays whether heap monitoring is enabled on a server.
- -viewlog
Displays heap monitor messages since the last startup of the application server.
- -help
Displays this help message.