Stopping Java collectors
Use this information to stop collectors written in Java™.
You stop a Java collector
by going to the Java collector
bin directory at $NCHOME/precision/collectors/javaCollectors/bin and
issuing a command-line interface command. A Java collector can be stopped on a local machine
or on a remote machine by issuing this command. Issue the following
command to stop a Java collector
(note that the command is entered on one line; options are explained
in Table 1):
shutdown_collector.sh -port port_number -host host_name
Option |
Explanation |
|---|---|
|
Required: port on which the collector to be shut down is running. |
|
Optional: hostname of the server on which the
collector to be shut down is running. Default value is |
Example: stopping a Java collector running on the local server on port 8080
To stop a Java collector running on the local server on port 8080, perform the following steps:- Go to the following directory:
$NCHOME/precision/collectors/javaCollectors/bin - Run the following command:
shutdown_collector.sh –port 8080