Process history under C-shell and Bourne shell

Arturo Perez x6739 aperez at caribe.prime.com
Tue Dec 11 04:24:32 AEST 1990


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 at cvbnet.prime.com
Too much information, like a bullet through my brain -- The Police

Arturo Perez
ComputerVision, a division of Prime
aperez at cvbnet.prime.com
Too much information, like a bullet through my brain -- The Police



More information about the Comp.unix.programmer mailing list