ajschkstop (UNIX only)
- Organization of this page
Format
- In JP1/AJS3 - Manager:
ajschkstop [-m] [-a]
- In JP1/AJS3 - Agent:
ajschkstop [-a]
Description
Stops the JP1/AJS3 Check Manager service or the JP1/AJS3 Check Agent service.
Execution privileges
Superuser privileges
Storage directory
/opt/jp1ajs2/bin/
Arguments
-m
Stops the JP1/AJS3 Check Manager service.
-a
Stops the JP1/AJS3 Check Agent service.
Return values
0 |
Normal end |
Values other than 0 |
Abnormal end |
Notes
-
This command applies only to UNIX. You cannot use this command for Windows.
-
If you omit all options, the following options are assumed:
-
JP1/AJS3 - Manager: -m, -a
-
JP1/AJS3 - Agent: -a
-
-
When a check is underway, processing is terminated without waiting for the check to end.
-
If this command is used to stop the JP1/AJS3 Check Agent service, the command does it by communicating with the local host via TCP/IP according to the JP1/Base physical host communication settings. Therefore, if the IP address corresponding to the local host name (shown by the hostname command) can be used to communicate with another host, the command might stop the JP1/AJS3 Check Agent service on the other host.
If you execute the command in this environment, beforehand, set the hosts, DNS, jp1hosts, or jp1hosts2 file so that the local host name can resolve into the local host IP address.
For details about the jp1hosts or jp1hosts2 file, see the Job Management Partner 1/Base User's Guide.
Additional information
In Windows, stop the service control manager first.
Example
In this example, the command stops, in JP1/AJS3 - Manager, the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service:
ajschkstop -m -a