It is currently Tue, 30 Nov 2021 16:45:26 GMT



 
Author Message
 Process history under C-shell and Bourne shell
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
ape...@cvbnet.prime.com
Too much information, like a bullet through my brain -- The Police

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



 Sat, 29 May 1993 01:24:32 GMT   
 
   [ 1 post ] 

Similar Threads

1. Light Speed Bourne Shell! (was: Bourne shell tricks)

2. running bourne shell script from cshell

3. Bourne Shell compatible shells (was: Request: which shells)

4. BUG IN BOURNE SHELL AND/OR CSHELL ??

5. Command history in bourne shell

6. getting environment variables from c shell using Bourne shell

7. Changing from the Bourne shell to C-shell

8. Changing from the Bourne shell to C-shell

9. Bourne Shell vs C-Shell


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software