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
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
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.
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
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,
5 matches
Mail list logo