Before you begin
To use administrative commands, you must use the wsadmin client. See Starting the wsadmin client
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:
Parent topic: Managing the Metrics environment
- Start the wsadmin client.
- Start the Metrics Jython script interpreter.
- Use the following command to access the Metrics configuration file: execfile("metricsAdmin.py")
If an error occurs when you are executing the commands, examine the SystemOut.log
file to determine the error.
Metrics administrative commands
You can manage the Metrics services by using the wsadmin client to perform administrative commands that allow you to check files in and out and modify settings. Administrative commands do not require a server restart to take effect.