it seems as if most (if not all) the techniques for checking the size of 
the current process are _very_ platform specific.  on linux you can use

   Apache::SizeLimit::linux_size_check

which is just parsing /proc/self/status.

- mark

Stas Bekman wrote:

> On Thu, 7 Dec 2000 [EMAIL PROTECTED] wrote:
> 
> 
>> The output I get is 
>> 
>> used memory = 0
>> used memory = 0
>> used memory = 0
>> used memory = 0
>> used memory = 0
> 
> 
> I get the same under perl 5.6.0 on linux, looks like BSD::Resource doesn't
> work there :( Anyone?
> 
> Use gtop instead (if you have it):
>   use GTop ();
>   print GTop->new->proc_mem($$)->size,"\n";
[snip]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to