Running Metrics administrative commands

Use administrative commands from the wsadmin command line to directly interact with Metrics.

Before you begin

To use administrative commands, you must use the wsadmin client. See Starting the wsadmin client for details.

About this task

Administrative commands interact with the Metrics application and its resources through scripts. These scripts use the AdminControl object available in the IBM® WebSphere® Application Server wsadmin tool to interact with the Metrics server. Each script uses managed Java beans (MBeans) to get and set server administration properties. You do not need to check out files before running administrative commands, and you do not need to restart the server for the commands to take effect.

See Metrics administrative commands for a complete list of other administrative commands for the Metrics application.


To run Metrics administrative commands, complete the following steps:
  1. Start the wsadmin client.
  2. Start the Metrics Jython script interpreter.
  3. Use the following command to access the Metrics configuration file: execfile("")
    If an error occurs when you are executing the commands, examine the SystemOut.log file to determine the error.