Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48077 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78271 invoked from network); 26 Apr 2010 07:43:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Apr 2010 07:43:22 -0000 Authentication-Results: pb1.pair.com header.from=frederic.hardy@mageekbox.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=frederic.hardy@mageekbox.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mageekbox.net from 213.186.62.213 cause and error) X-PHP-List-Original-Sender: frederic.hardy@mageekbox.net X-Host-Fingerprint: 213.186.62.213 30.mail-out.ovh.net Received: from [213.186.62.213] ([213.186.62.213:56238] helo=30.mail-out.ovh.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/E0-08102-81445DB4 for ; Mon, 26 Apr 2010 03:43:21 -0400 Received: (qmail 19231 invoked by uid 503); 26 Apr 2010 07:40:58 -0000 Received: from b9.ovh.net (HELO mail638.ha.ovh.net) (213.186.33.59) by 30.mail-out.ovh.net with SMTP; 26 Apr 2010 07:40:58 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 26 Apr 2010 07:43:17 -0000 Received: from o2.noparking.net (HELO diablo.local) (fhardy%noparking.net@88.181.202.210) by ns0.ovh.net with SMTP; 26 Apr 2010 07:43:15 -0000 Message-ID: <4BD54415.5050502@mageekbox.net> Date: Mon, 26 Apr 2010 09:43:17 +0200 User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100402 Thunderbird/3.0.4 MIME-Version: 1.0 To: =?ISO-8859-1?Q?J=E9r=F4me_Loyet?= CC: looyao teng , internals@lists.php.net References: <4BC58D10.4050609@lerdorf.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 4905264419534475813 X-Ovh-Remote: 88.181.202.210 (o2.noparking.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N Subject: Re: [PHP-DEV] One suggestion to PHP-FPM From: frederic.hardy@mageekbox.net (Frederic Hardy) Hello ! >> in linux, read the /proc/self(pid)/status, and the VmRSS(real memory usage) >> or VmSize(virtual memory usage) is the the memory usage of the current >> process. >> > in fact I was looking of a cleaner way to do it. > Moreover, this solution is not available on OS like *BSD... Best regards, Fred.