Filesys-DiskSpace is a project mainly written in Perl, it's free.
Release history of Filesys-DiskSpace
NAME
Filesys::DiskSpace - Perl df
DESCRIPTION
This routine displays information on a file system such as its type,
the amount of disk space occupied, the total disk space and the number
of inodes.
It tries C<syscall(SYS_statfs)> and C<syscall(SYS_statvfs)> in several
ways. If all fails, it C<croak>s.
More information about this module is included in this package.
INSTALLATION
To install, cd to the directory containing the unpacked
distribution and do one of the following:
a. Create a makefile by running Makefile.PL using the perl
program into whose library you want to install and then run
make three times:
perl Makefile.PL
make
make test
make install
b. To install into a private library, for example your home
directory:
perl Makefile.PL INSTALLSITELIB=$HOME/lib INSTALLMAN3DIR=$HOME/man
make
make test
make pure_install