initctl - init daemon control utility
Normally it is invoked directly with the command specified as the first non-option argument, however symbolic or hard links may be used so that it is invoked as the name of a command, in which case it behaves accordingly.
This option causes all commands to output the unique id of jobs and events, in addition to their name.
Normally these accept the job name as arguments; with this option they expect job ids instead.
Normally these commands wait for the named jobs or events to be started, stopped or finished respectively. This option causes them to return without waiting once the request has been confirmed.
See status for a description of the output format.
When called with an instance job, all instances will be stopped.
See status for a description of the output format.
job (start) running, process 1234
The job name is given first; the goal of the job, either start or stop is then given in parens followed by the current state of the job. If there is an associated process, the pid is given.
Some job states may have multiple processes associated, for example when the job is in the post-start or pre-stop states. The extra processes follow on consecutive lines, indented by a tab.
job (start) post-start, process 1347 main process 1234
If no post-start or pre-stop process exists, only one line is output. If there's a main process running, that is included on the same line preceeded by (main).
job (stop) pre-stop, (main) process 1234
Instance jobs are output with the first line giving the name of the job, and consecutive lines giving the state of each instance indented by four spaces.
job (instance) (start) running, process 1234 (start) post-start, process 2358 main process 2345 (stop) pre-stop, (main) process 3456
See status for a description of the output format.
fstab-device-added hda1 FSTAB_FSNAME=/dev/hda1 FSTAB_DIR=/ FSTAB_TYPE=ext3 FSTAB_OPTS=default
The event name is given first followed by each argument to the event separated by a space. Consecutive lines are indented and give the environment variables passed to any job changed by the event.
See status for a description of the output format for the job status changes.
See status for a description of the output format.
See emit for a description of the output format of the event messages.
PRIORITY may be one of debug, info, message, warn, error or fatal.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |