Re: [PHP] diskusage

2004-02-18 Thread Chakravarthy Cuddapah
PROTECTED] Reply-To: [EMAIL PROTECTED] To: Chakravarthy Cuddapah [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] diskusage Date: Mon, 16 Feb 2004 15:17:52 -0500 Chakravarthy Cuddapah wrote: In php I want to know space used (du) by user on a remote system. Can anyone pls tell me how

Re: [PHP] diskusage

2004-02-18 Thread - Edwin -
On Wed, 18 Feb 2004 21:21:45 -0500 Chakravarthy Cuddapah [EMAIL PROTECTED] wrote: From the terminal I can do this by: ssh [EMAIL PROTECTED] du -hs /home/user | awk '{print $1}' Hmm... that's a pretty scary setup. You can ssh as root? Without a password? I wouldn't want that kind of setup even

[PHP] diskusage

2004-02-16 Thread Chakravarthy Cuddapah
In php I want to know space used (du) by user on a remote system. Can anyone pls tell me how this can be done. Thanks ! _ Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up Accelerator.

Re: [PHP] diskusage

2004-02-16 Thread John W. Holmes
Chakravarthy Cuddapah wrote: In php I want to know space used (du) by user on a remote system. Can anyone pls tell me how this can be done. Just call du through exec(). -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP

Re: [PHP] diskusage

2004-02-16 Thread David Otton
On Mon, 16 Feb 2004 15:17:52 -0500, you wrote: Chakravarthy Cuddapah wrote: In php I want to know space used (du) by user on a remote system. Can anyone pls tell me how this can be done. Just call du through exec(). He said remote system, which I read to mean on the client[?]. In that case,