launchctl在launchctl列表输出中有一个"Status“列。该手册或任何相关的启动手册没有提到这一栏或它的含义。
发布于 2011-09-14 04:00:03
这是该服务的最后退出代码。
launchctl
手册页描述了它。
list [-x] [label]
With no arguments, list all of the jobs loaded
into launchd in three columns. The first column
displays the PID of the job if it is running.
The second column displays the last exit status
of the job. If the number in this column is
negative, it represents the negative of the
signal which killed the job. Thus, "-15" would
indicate that the job was terminated with
SIGTERM. The third column is the job's label.
https://serverfault.com/questions/311160
复制相似问题