jajs_stop (UNIX only)
- Organization of this page
Format
jajs_stop
Description
The jajs_stop command stops JP1/AJS3 on the physical host.
This command is executed when the system stops.
The following explains the command's flow of processing.
-
The jajs_spmd_stop command is executed to stop JP1/AJS3.
-
The JP1/AJS3 Autonomous Agent service and the JP1/AJS3 Autonomous Agent Messenger service are stopped.
-
The JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service are stopped.
-
The ps command is executed to monitor the jajs_spmd process, and the jajs_stop command waits until JP1/AJS3 stops.
-
The queueless agent service is stopped.
-
The queueless file transfer service is stopped.
In the initial status when JP1/AJS3 is installed, the definition for stop processing is commented out. That is, stop processing is disabled. If necessary, customize the definition so that stop processing is enabled. For details about customization, see 15.10.1 Setting automatic startup and termination of the JP1/AJS3 service in the JP1/Automatic Job Management System 3 Configuration Guide.
Execution privileges
Superuser privilege
Storage directory
/etc/opt/jp1ajs2/
Notes
-
This command cannot be executed in Windows.
-
JP1/AJS3 might not stop correctly if you execute this command together with any of the following commands:
ajsprofalter command
ajsembdbstart command
ajsembdbstop command
ajsstart command
ajsstop command
jajs_hstd command
jajs_hstd_stop command
jajs_spmd command
jajs_spmd_status command
jajs_spmd_stop command
jajs_start command (UNIX only)
jajs_stop command (UNIX only)
-
Execute this command in an environment in which the JP1_HOSTNAME environment variable has not been set. If you execute this command in an environment in which the JP1_HOSTNAME environment variable has been set, the command attempts to stop JP1/AJS3 on the logical host set in the variable, not JP1/AJS3 on the physical host. If you want to stop JP1/AJS3 on the physical host, delete the JP1_HOSTNAME environment variable. This command does not support a logical host.
Return values
0 |
Normal end |
Values other than 0 |
Abnormal end |