On Wed, 8 Jun 2011 12:58:55 +0200 (CEST)
mar...@stack.nl (Marco van de Voort) wrote:
> In our previous episode, Mattias Gaertner said:
> > > I don't know if it exist a FPC function for that.
> > >
> > > i'll do an external commad like " ps -ef | grep bash | grep -v grep | awk
> > > '{print $8}'"
In our previous episode, Mattias Gaertner said:
> > I don't know if it exist a FPC function for that.
> >
> > i'll do an external commad like " ps -ef | grep bash | grep -v grep | awk
> > '{print $8}'".
>
> Thanks, I knew that.
> I prefer a more direct way - for example via a sysctl.
>
> I need
In our previous episode, Mattias Gaertner said:
> > '{print $8}'".
>
> Thanks, I knew that.
> I prefer a more direct way - for example via a sysctl.
Not yet, but I'll have a look.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://list
In our previous episode, Mattias Gaertner said:
> I need to check under BSD if a PID is running and what name it has.
> Is there already a function for that?
No. Note that /proc can be turned off on BSD, and often is so on servers, so
relying on is not that safe anyway.
___
On Mon, 6 Jun 2011 22:02:39 +0100 (BST)
phoebus phoebus wrote:
> Hi Mattias,
>
> I don't know if it exist a FPC function for that.
>
> i'll do an external commad like " ps -ef | grep bash | grep -v grep | awk
> '{print $8}'".
Thanks, I knew that.
I prefer a more direct way - for example via a
f the way i'll do it. I don't think there are some
major difference between FPC implementation on Linux and BSD.
Regards,
Phoebus
- Message d'origine
De : Mattias Gaertner
À : FPC-Pascal users discussions
Envoyé le : Lun 6 juin 2011, 21h 50min 06s
Objet : [fpc-pascal] ch
Hi all,
I need to check under BSD if a PID is running and what name it has.
Is there already a function for that?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal