Re: centos command to monitor a process for exit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 1/10/08, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
> Is there a command that will monitor a process for exiting (crash or
> normal exit) and
> then execute another command based on the said process no longer being
> active?

If you want something simple, the wait(1) command can block until some
process specified by its PID terminates.

-- Daniel
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux