[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFC] Initialisation of ssh-agent



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
> 

Attachment: pgpw_qhPrNBoz.pgp
Description: PGP signature


Reply to: