Re: [PHP] Disk Usage

2001-09-23 Thread Scott Poarch
-0400 To: 'Scott Poarch' [EMAIL PROTECTED], 'Steve Werby' [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Disk Usage Yes, that's exactly what I'm suggesting... Say output of du -sk is: 1022 . The dot represents the current directory. By typecasting it to an integer

RE: [PHP] Disk Usage

2001-09-23 Thread Matthew Loff
PROTECTED]] Sent: Sunday, September 23, 2001 4:11 AM To: Matthew Loff; 'Steve Werby'; [EMAIL PROTECTED] Subject: Re: [PHP] Disk Usage Well, it's an intriquing idea, but I'm not getting any success out of it. thanks for the suggestion. I'll keep plugging away. -- Scott Poarch http://www.globalhost.com

Re: [PHP] Disk Usage

2001-09-22 Thread Steve Werby
Scott Poarch [EMAIL PROTECTED] wrote: I'm trying to find a script that will return the same kind of data I get with du. I want a page to list current disk usage by virtual domain on our servers. I see the diskfreespace and disk_total_space commands, but they doesn't seem to work at all for

Re: [PHP] Disk Usage

2001-09-22 Thread Scott Poarch
- - - - - - - - - - - - From: Steve Werby [EMAIL PROTECTED] Organization: Befriend Internet Services LLC Date: Sat, 22 Sep 2001 20:44:32 -0400 To: Scott Poarch [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP] Disk Usage Scott Poarch [EMAIL PROTECTED] wrote: I'm trying to find a script

Re: [PHP] Disk Usage

2001-09-22 Thread Scott Poarch
- - - - - - - - - - - - From: Matthew Loff [EMAIL PROTECTED] Organization: Willetts Systems Date: Sat, 22 Sep 2001 22:07:26 -0400 To: 'Scott Poarch' [EMAIL PROTECTED], 'Steve Werby' [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Disk Usage $usage = (int)`du -sk`; -- PHP General Mailing List

RE: [PHP] Disk Usage

2001-09-22 Thread Matthew Loff
! -Matt -Original Message- From: Scott Poarch [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 22, 2001 10:37 PM To: Matthew Loff; 'Steve Werby'; [EMAIL PROTECTED] Subject: Re: [PHP] Disk Usage I appreciate the help. I understand the 'du -sk', but what's the (int) all about. Are you