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.
This script is available in WebSphere Application Server, WebSphere Application Server - Express, and WebSphere Application Server, Network Deployment.
To run this script, your user profile must have *ALLOBJ authority.
heapMonitor [-profileName profile] [wsadmin_options] [-server.name server_name] [-enable | -disable | -status | -viewlog] [-help]
The name of the profile to manage. The default profile is used if no profile is specified.
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."
Enables heap monitoring on a server. If heap monitoring is already enabled, it does nothing.
Disables heap monitoring on a server. If heap monitoring is already disabled, it does nothing.
Displays whether heap monitoring is enabled on a server.
Displays heap monitor messages since the last startup of the application server.
Displays this help message.