Re: [PHP] mem

2004-02-17 Thread John Taylor-Johnston
thanks Gerard Samuel wrote: > On Wednesday 18 February 2004 01:38 am, John Taylor-Johnston wrote: > > Both for that matter. I have root access. I want to echo how much /var/xxx > > contains, and while I'm at it, how much my partition contains and how much > > is used. > > > > Im not sure about me

Re: [PHP] mem

2004-02-17 Thread John Taylor-Johnston
That was very helpful, thanks, John - Edwin - wrote: > Not that this is still a php question but... > > On Wed, 18 Feb 2004 01:38:39 -0500 > John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > > > Both for that matter. I have root access. I want to echo how > > much /var/xxx contains, and while I'm

Re: [PHP] mem

2004-02-17 Thread Ian Firla
Try this: http://it2.php.net/manual/en/function.disk-free-space.php (PHP 4 >= 4.1.0) disk_free_space -- Returns available space in directory Ian On Wed, 2004-02-18 at 07:25, John Taylor-Johnston wrote: > I'm not even sure if this is a Unix thing, or if it can be done, but ... > How can I read

Re: [PHP] mem

2004-02-17 Thread Gerard Samuel
On Wednesday 18 February 2004 01:38 am, John Taylor-Johnston wrote: > Both for that matter. I have root access. I want to echo how much /var/xxx > contains, and while I'm at it, how much my partition contains and how much > is used. > Im not sure about memory, but for diskspace you can look at ht

Re: [PHP] mem

2004-02-17 Thread - Edwin -
Not that this is still a php question but... On Wed, 18 Feb 2004 01:38:39 -0500 John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Both for that matter. I have root access. I want to echo how > much /var/xxx contains, and while I'm at it, how much my > partition contains and how much is used. Try

Re: [PHP] mem

2004-02-17 Thread John Taylor-Johnston
Both for that matter. I have root access. I want to echo how much /var/xxx contains, and while I'm at it, how much my partition contains and how much is used. Gerard Samuel wrote: > On Wednesday 18 February 2004 01:25 am, John Taylor-Johnston wrote: > > I'm not even sure if this is a Unix thing,

Re: [PHP] mem

2004-02-17 Thread Gerard Samuel
On Wednesday 18 February 2004 01:25 am, John Taylor-Johnston wrote: > I'm not even sure if this is a Unix thing, or if it can be done, but ... > How can I read the amount of memory used in a directory /var/something/ > (and maybe sub-directories) and echo it? John The amount of memory or the amoun

Re: [PHP] mem

2004-02-17 Thread - Edwin -
On Wed, 18 Feb 2004 01:25:54 -0500 John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > I'm not even sure if this is a Unix thing, or if it can be > done, but ... How can I read the amount of memory used in a > directory /var/something/ (and maybe sub-directories) and echo > it? Try the manual: h

[PHP] mem

2004-02-17 Thread John Taylor-Johnston
I'm not even sure if this is a Unix thing, or if it can be done, but ... How can I read the amount of memory used in a directory /var/something/ (and maybe sub-directories) and echo it? John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP mem leaks

2002-09-13 Thread Marek Kilimajer
Then I would not think it's php issue, as php is called by forked children. There might be also problems in the libraries, so check for updates. Sorry, cannot help you more. John Wards wrote: >Hmm I am unsure as my server crashed on me this morning and restarted it >self so every thing is bac

Re: [PHP] PHP mem leaks

2002-09-13 Thread John Wards
Hmm I am unsure as my server crashed on me this morning and restarted it self so every thing is back to normal (15meg per process) But I can never remeber noticing a much smaller Apache process. So I would gues at yes the parent process gets larger too. I though it was mod_ssl causing the proble

Re: [PHP] PHP mem leaks

2002-09-13 Thread Marek Kilimajer
Is the apache parent process ( the one running under root) getting larger too? John Wards wrote: >After being told off on the dev list I have posted this on this list (I >thought it was techie enough to go on that list but I was wrong) > >I am running a large PHP/MySQL/Apache driven website

[PHP] PHP mem leaks

2002-09-12 Thread John Wards
After being told off on the dev list I have posted this on this list (I thought it was techie enough to go on that list but I was wrong) I am running a large PHP/MySQL/Apache driven website and I am finding that the apache Processes get larger and larger as the days go on. When I stop/start a

[PHP] Mem and variables

2001-08-20 Thread rm
Of late I've been reusing variable in my code, for example. $string = "when in the course of human events"; [ additional lines of code ] $string = explode(" ", $string); [ additional lines of code ] $string=implode("|",$string); {more code] $string=substr($string,x,y); on and on, but st