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