Tivoli Monitoring, Version 6.2

itmcmd server

Description

Use the itmcmd server command to start and stop monitoring servers that are defined in directories under the install_dir/tables subdirectory. You must run the itmcmd server command from the host computer.

CLI syntax

itmcmd server {start|stop} tems_name
                 [-h install_dir]
                 [-l]
                 [-s]

where:

start|stop tems_name
Starts or stops the specified monitoring server.
-h install_dir
(Optional) Identifies the installation directory if it is not the one in which the script is located.

Also use this option to take action on an IBM Tivoli Monitoring installation directory other than the one in the current system.

-l
Deletes the log file associated with the monitoring server that is being stopped. By default, the log files is saved when the monitoring server stops.
-s
(optional) Option to specify safe mode operation.

Safe mode invokes the JRE with the -nojit option (no just-in-time compiler). If you encounter a Java™ failure error, try running the command as before, but also specifying the -s option.

CLI example

The following command stops the hub_ms1 monitoring server:

   itmcmd server stop hub_ms1

Return values

An exit status of 0 indicates that the command ran successfully. An exit status greater than 0 indicates that there was a failure in the process.

The monitoring server stop message might be displayed before the processes have completely stopped. It might take a minute for the processes to completely disappear, based on the system load.

Note:
When the monitoring server stops normally, the log file for that session is saved. Use the -l parameter to delete the log files.

Related commands

itmcmd agent




Feedback

[ Top of Page | Previous Page | Next Page | Contents | Index ]