Xref: utzoo comp.unix.internals:1360 comp.unix.misc:702 comp.unix.programmer:655 Path: utzoo!attcan!uunet!bu.edu!cvbnet!caribe.prime.com!aperez From: aperez@caribe.prime.com (Arturo Perez x6739) Newsgroups: comp.unix.internals,comp.unix.misc,comp.unix.programmer Subject: Process history under C-shell and Bourne shell Message-ID: <1132@cvbnetPrime.COM> Date: 10 Dec 90 17:24:32 GMT Sender: postnews@cvbnetPrime.COM Reply-To: aperez@cvbnet.prime.com (Arturo Perez x6739) Organization: Prime Computervision, Bedford MA Lines: 28 We have a need to track processes. The sequence of events we want to track is like this: % do_our_signon userid % do_our_thing1 % do_our_thing2 % do_our_thing3 % do_our_signoff where all the things fail if the user never signed on. Our problem is that we can't seem to come up with a way for this to reliably work in a shell script. Is there anything in the process history of a process under the Bourne shell, the C-shell, processes which are created by the system(3) subroutine, and processes that are created by the fork-exec pair that we can use to verify that a signon has been done sometime in the past? We can't rely on there being terminal. Arturo Perez ComputerVision, a division of Prime aperez@cvbnet.prime.com Too much information, like a bullet through my brain -- The Police Arturo Perez ComputerVision, a division of Prime aperez@cvbnet.prime.com Too much information, like a bullet through my brain -- The Police