> 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");
$spaceused = qx!du -sh /home/$userdomain!;
Luke
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 syst