Summary - How to tell if a process is active
michael.p.lindner
mpl at cbnewsl.ATT.COM
Fri Jun 30 00:18:49 AEST 1989
In article <763 at ctisbv.UUCP>, pim at ctisbv.UUCP (Pim Zandbergen) writes:
> the lockfile to find out if the machine has been rebooted
> since the resource claim. What is the most obvious and portable
> way to do this?
>
> Thanks for any responses.
> Pim.
The most obvious way I can think of is to execute "who -b" which prints the
last boot time of the machine. If this has changed, the machine has been
rebooted.
Mike Lindner
attunix!mpl
AT&T Bell Laboratories
190 River Rd.
Summit, NJ 07901
More information about the Comp.unix.questions
mailing list