Re: Set process custom identifier

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

 



I don't want to wait for it and surely I don't want to safe that pid in
same place. I just want to use `ps` with a pattern to return my forked
process.


On Tue, Apr 2, 2013 at 4:48 PM, Matijn Woudt <tijnema@xxxxxxxxx> wrote:

> Hi,
>
> pcntl_fork will return the pid of the fork, what is wrong with using that
> pid to identify the process?
>
> - Matijn
>
>
> On Tue, Apr 2, 2013 at 3:38 PM, Sorin Badea <sorin.badea91@xxxxxxxxx>wrote:
>
>> Hi guys,
>> I'm trying to find a solution to identify a php process that is spawned
>> with pnctl_fork. I've tried to set a custom gid but this isn't viable
>> because I have to run the parent proc with administrative permissions. I
>> need to do this native without any pecl extensions.
>> Is there a way to do this ?
>>
>> Regards,
>> --
>> Badea Sorin (unu.sorin)
>> sorin.badea91@xxxxxxxxx
>> unu_sorin@xxxxxxxxx
>>
>
>


-- 
Badea Sorin (unu.sorin)
sorin.badea91@xxxxxxxxx
unu_sorin@xxxxxxxxx
Pagina personala:
http://badeasorin.com

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux