status的使用
status:检查给定进程的运行状态。
用于返回进程状态。调用方式:注意”-p”必须在”-l”前面
status [-p pidfile] [-l lockfile] program
共有以下几种状态:
${base} (pid $pid) is running...
${base} dead but pid file exists
${base} status unknown due to insufficient privileges.
${base} dead but subsys locked
${base} is stopped
|