This section describes how to stop Sun Management Center components using the graphical user interface or the command-line script.
The graphical user interface wizard enables you to stop specific Sun Management Center components as described in the following procedure.
Log in as root on the machine on which you want to stop Sun Management Center components.
Go to the /opt/SUNWsymon/sbin directory.
Run the stop wizard by typing:
# ./es-guistop
The Select Components to Stop screen appears.
Depending on the components installed on the machine, you might have one or more of the following options to select:
Stop Server Components
Stop Sun Management Center Agent
Stop Default Platform Agent
Stop Instance of Platform Agent
Select the components that you want to stop and then click Next.
The Stopping Components screen appears. The status of each component is listed.
The es-stop command-line script enables you to stop specific Sun Management Center components. The syntax of the es-stop command is as follows:
es-stop -ahlAS [-y instance-name]The following table describes the es-stop command parameters.
Table 8–2 es-stop Options
Option |
Modifying Options |
Definition |
---|---|---|
-a |
|
Stop the Sun Management Center agent |
-h |
|
List the options for es-stop |
-l |
|
Stop the platform agent |
-y |
instance-name |
Stop the platform agent instance named instance-name |
-A |
|
Stop all Sun Management Center components |
-S |
|
Stop all Sun Management Center components except for the Sun Management Center agent |
The following examples show how to use es-stop and its parameters..
To stop all Sun Management Center processes, type:
# /opt/SUNWsymon/sbin/es-stop -A |
To stop all Sun Management Center processes except the agent, type:
# /opt/SUNWsymon/sbin/es-stop -S |