On Unix-like operating systems, the stop command calls the init daemon to stop a job that is running on the system. It is equivalent to the command initctl stop.
Description
initctl allows a system administrator to communicate and interact with the init daemon.
- Description
- Syntax
- Commands
- Examples
- Related commands
- Linux commands help
When run as initctl, the first non-option argument is the COMMAND. Global options may be specified before or after the command.
You may also create symbolic or hard links to initctl named after commands. When invoked through these links the tool will behave only as that command, with global and command-specific options intermixed. The default installation supplies such links for the start, stop, restart, reload and status commands.
Syntax
initctl [OPTION]… COMMAND [OPTION]… ARG…
Options
Commands
Examples
stop 1234
Stop the job with process ID 1234.
job start/running, process 1234
job start/pre-start, process 902
job start/post-start, process 1234 post-start process 1357
job start/post-start, (post-start) process 1357
job (tty1) start/post-start, process 1234 post-start process 1357
foo emits boing emits blip start on (starting A and (B or C var=2)) stop on (bar HELLO=world testing=123 or stopping wibble)
OPTION may be the following:
foo emits boing emits blip start on starting (job: A, env:) start on B (job:, env:) start on C (job:, env: var=2) stop on bar (job:, env: HELLO=world testing=123) stop on stopping (job: wibble, event: stopping, env:)
start on starting grapestop on peach
foo start on: unknown job grape stop on: unknown event peach
start on (A and (started B or (starting C or D)))
bar start on: unknown job B start on: unknown job C start on: unknown event D
Usage: tty DEV=ttyX - where X is console id
Related commands
init — The parent of all processes on the system.kill — Send a signal to a process, affecting its behavior or killing it.ps — Report the status of a process or processes.shutdown — Schedule a time for the system to be powered down.top — Display a sortable, continually-updated list of processes.