jpc_service_stop
- Organization of this page
Function
This command stops JP1/IM - Agent service.
Format
jpc_service_stop -s service-key [-f] [-h logical-hostname]
Execution permission
In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)
In Linux: Superuser permissions
Storage directory
- In Windows:
-
Agent-path\tools\
- In Linuix:
-
/opt/jp1ima/tools/
Arguments
- -s service-key
-
Specify the service key.
If "all" is specified, all JP1/IM - Agent services are started.
- -f
-
This option forcibly stops the service. Specifies when you want to stop forcibly working service process during cluster operation.
- -h logical-hostname
-
Specifies logical host name when operating on a cluster system.
Notes
-
If the string that you specify in the argument contains spaces or special characters, you must enclose them in " " and escape them. In addition, the following characters cannot be used:
-
" (double quotation mark)
-
! (exclamation)
-
% (percent)
-
^ (circumflex)
-
-
OracleDB exporter cannot be stopped.
Return values
0 |
Service stopped successfully (all successful or already stopped) |
10 |
Invalid argument |
11 |
You do not have execution permissions. |
13 |
Other commands are executing |
251 |
Service key is invalid |
253 |
Service is not enabled |
255 |
Service Failed to Stop |
Example
jpc_service_stop -s all