I'm trying to setup a perl script which will generate a summary of diskusage on people that I'm hosting webpages for. I have a flat ascii text file that looks like this:

user1,userdomain1
user2,userdomain2
user3,userdomain3

The script pull that information and for each pair of data, does a system command on 'du' to get the amount of diskspace being used and assign it to a variable which can be written to a webpage like this (for example):

$spaceused=system("du -sh /home/$userdomain1");

However, while the script does echo back the information of the du command, it doesn't write it to the webpage. What I'd like to know is how to properly get the amount of diskspace used and how to write that value to the html file I'm creating.
Steveo (aka Haiku)
[EMAIL PROTECTED]
www.linuxhaiku.com



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to