Pascal:
You can use the -p option of ftpd to write it's PID to a file.
Something like
ftpd -D -p /var/run/fptd.pid
should probably work.
- Barry
--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland
-Original Message-
From: [EMAIL
On Tue, Sep 24, 2002 at 11:40:33AM +0200, Pascal Giannakakis wrote:
Lo ppl,
how to i get the pid of a process i start in a shellscript?
The Variables $$ / $PID are not really of use. What i would like to have, is
some sort
of command with has the return value of another startet
I'm sorry, i searched for PID in the manpage...
Thanks!
Pascal:
You can use the -p option of ftpd to write it's PID to a file.
Something like
ftpd -D -p /var/run/fptd.pid
should probably work.
- Barry
--
Barry Byrne, IT Manager,
WBT Systems, Block 2,