diff options
author | Michel A. BEGUE <mab974@gmail.com> | 2019-05-09 23:59:57 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-09 23:59:57 +0700 |
commit | 721aedce3b8d6e2e770f31a8a7de3cd9a4d416e1 (patch) | |
tree | 9af63d69929d0dbfa0a0870b841dd07947920670 /perl/perl-Filesys-Df/README | |
parent | 039620eb7df268b5cecc7415b414b2f41d688135 (diff) |
perl/perl-Filesys-Df: Added (filesystem disk space information).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Filesys-Df/README')
-rw-r--r-- | perl/perl-Filesys-Df/README | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/perl/perl-Filesys-Df/README b/perl/perl-Filesys-Df/README new file mode 100644 index 000000000000..2d5b677dbcf6 --- /dev/null +++ b/perl/perl-Filesys-Df/README @@ -0,0 +1,11 @@ +Filesys::DF module provides a way to obtain filesystem disk space information. + +df() requires a argument that represents the filesystem you want to +query. The argument can be either a scalar directory/file name or a +open filehandle. There is also an optional block size argument so you +can tailor the size of the values returned. The default block size is +1024. This will cause the function to return the values in 1k blocks. +If you want bytes, set the block size to 1. + +df() returns a reference to a hash. The keys available in the hash are as follows: +{blocks} {bfree} {bavail} {used} {per}.
\ No newline at end of file |