Re: get process id of a script?
| From: | bvr | Date: | Tue, 29 Jan 2002 00:29:54 +0000 |
| Subject: | Re: get process id of a script? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82495@lists.php.net to get a copy of this message | ||
Hi,
I remember doing this once under linux:
$pid = readlink("/proc/self");
but there seems to be a special function for it :
$pid = getmypid();
bvr.
On Tue, 29 Jan 2002 13:26:48 +1300, Matthew Delmarter wrote:
>Is there any way to get the process id of a script running on Apache?
>
>Regards,
>
>Matthew Delmarter