Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!tut.cis.ohio-state.edu!att!cbnewsl!mpl From: mpl@cbnewsl.ATT.COM (michael.p.lindner) Newsgroups: comp.unix.questions Subject: Re: Summary - How to tell if a process is active Summary: who -b Keywords: process kill ps Message-ID: <951@cbnewsl.ATT.COM> Date: 29 Jun 89 14:18:49 GMT References: <2848@infocenter.UUCP> <763@ctisbv.UUCP> Organization: AT&T Bell Laboratories Lines: 17 In article <763@ctisbv.UUCP>, pim@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