[comp.unix.programmer] Process history under C-shell and Bourne shell

aperez@caribe.prime.com (Arturo Perez x6739) (12/11/90)

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