Re: [RFC] Initialisation of ssh-agent

From: Ryan Nowakowski (tubaman_at_mailandnews.com)
Date: 07/23/03

  • Next message: Bijan Soleymani: "Re: paper size"
    Date: Wed, 23 Jul 2003 10:47:48 -0500
    To: debian-user@lists.debian.org
    
    
    

    The way that is usually handled is when the process starts, you record
    the pid in a file in /var/run or /tmp. Then you grab the pid from that
    file when you need to check it.

    - Ryan

    On Wed, Jul 23, 2003 at 09:27:36AM +0100, Colin Watson wrote:
    > On Sat, Jul 19, 2003 at 07:07:19PM +0200, HdV@DTO.TUDelft.NL wrote:
    > > Finally there is the output of "ps ux". I use it to verify the PID of
    > > the ssh-agent process. For that I take the value found in the second
    > > column, but I am not sure if "ps ux" will give me that on all/most
    > > unices. Does anyone on the list know?
    >
    > ps is probably the most inconsistent command in the entirety of Unix.
    > No, 'ps ux' won't work on Unix systems which take most of their heritage
    > from System V rather than BSD, and there is probably no one set of ps
    > arguments that will work everywhere.
    >
    > Cheers,
    >
    > --
    > Colin Watson [cjwatson@flatline.org.uk]
    >
    >
    > --
    > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    >

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Bijan Soleymani: "Re: paper size"

    Relevant Pages

    • Re: Child process IDs
      ... than the parent's PID. ... If it were, and if a parent ... it also means that a process with the maximum PID can't ... On some UNIX systems, ...
      (comp.unix.programmer)
    • Re: cups and samba stop working after upgrade to etch
      ... When I re-boot I get the following message from root: ... was called for PID 2540. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • RE: watching a file for ownership change
      ... you could embed the pid in the VNODE ... >> determine what process is changing the ownership. ... When I saw the first post I actually wrote the kevent program you are ... To unsubscribe, ...
      (freebsd-hackers)
    • Re: [opensuse] Process launching directory
      ... where <pid> is the process id of the process. ... just points to the process owner's home directory. ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
      (SuSE)
    • Re: Strange port usage
      ... >> there's strange behaviour in my box ... > Show the PID and name of the program to which ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)