> 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");
After you print a content type header just do this :: print "User : $userdomain1 ".`du -sh /home/$userdomain1`."<br>\n"; > > 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 Are you printing the variable anywhere? That would get it to the html output. > 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] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]