in reply to Simple server disk space display

One solution would be to use FileSys::Diskspace
Alternatively, you might try calling "df -k" or "dir" (depending on your OS) and parsing it itself, if you have problems getting FileSys::Diskspace to work on your platform (It hasn't been updated for awhile)