Re: Disk Usage with system()
| From: | Ashley M. Kirchner | Date: | Fri, 20 Oct 2000 23:15:29 +0000 |
| Subject: | Re: Disk Usage with system() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21508@lists.php.net to get a copy of this message | ||
Jason Cox wrote:
> echo system("du /home");
>
> but it doesn't work. If I change the command to "df" it works. Anyone know
> why "du" wouldn't work?
Try issuing it with the full path. As far as I know, 'df' and 'du' are in
different locations, and your web server may not have both mapped.
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|____________________________________________________________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ashley M. Kirchner <mailto:ashley@pcraft.com> .
303.442.6410 x130
SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . eFax 248.671.0909
http://www.pcraft.com . 3550 Arapahoe
Ave #6
.................. . . . . Boulder, CO 80303, USA