On 26.04.2010 10:58, Jérôme Loyet wrote:
> Le 26 avril 2010 04:02, looyao teng <tly.phpf...@gmail.com> a écrit :
>> 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.

PECL/memtrack does it already.
I still don't get why do you want to duplicate it in FPM?

-- 
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to