IBM Tivoli Monitoring, Version 6.2.2 Fix Pack 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
                 [-h install_dir]
                 [-l]
                 [-n]
                 {start|stop} tems_name

where:

-h
(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.
-n
When specified, indicates that the PID is not checked. If the PID of the initial agent is killed, then another process takes that PID.
start|stop
Starts or stops the specified monitoring server.

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 option to delete the log files.

Related commands

itmcmd agent

Return to Table 7.


[ Top of Page | Previous Page | Next Page ]