| DBD::Sys::Plugin::Any::FileSysDf - provides a table containing the free space of file systems |
DBD::Sys::Plugin::Any::FileSysDf - provides a table containing the free space of file systems
$filesysdf = $dbh->selectall_hashref("select * from filesysdf", "mountpoint");
DBD::Sys::Plugin::Any::FileSysDf ISA DBD::Sys::Table
This module provides the table <filesysdf> which contains the free space on file systems.
The friendly name of the filesystem. This will usually be the same
name as appears in the list returned by the filesystems() method.
Total blocks existing on the filesystem.
Total blocks free existing on the filesystem.
Total blocks available to the user executing the Perl application.
This can be different than bfree if you have per-user quotas on
the filesystem, or if the super user has a reserved amount.
bavail can also be a negative value because of this. For instance
if there is more space being used then you have available to you.
Total blocks used existing on the filesystem.
Percent of disk space used. This is based on the disk space available to the user executing the application. In other words, if the filesystem has 10% of its space reserved for the superuser, then the percent used can go up to 110%.
Total inodes existing on the filesystem.
Total inodes free existing on the filesystem.
Total inodes available to the user executing the application.
See the information for the bavail column.
Total inodes used existing on the filesystem.
Percent of inodes used on the filesystem.
See the information for the bper column.
Returns the column names of the table as named in Columns
Return the attributes supported by this module:
Allows to specify the blocksize of the returned free blocks. This defaults to 1.
$dbh->{sys_filesysdf_blocksize} = 512; # use UNIX typical blocksize for df
Retrieves the mountpoints of mounted file systems from the Sys::Filesystem manpage and determine the free space on their devices using the Filesys::DfPortable manpage. The mountpoint and the free space information are put in fetchable rows.
the Sys::Filesystem manpage and the Filesys::DfPortable manpage are required in order to
fill the table filesysdf with data.
Jens Rehsack Alexander Breibach
CPAN ID: REHSACK
rehsack@cpan.org alexander.breibach@googlemail.com
http://www.rehsack.de/
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
Free support can be requested via regular CPAN bug-tracking system. There is no guaranteed reaction time or solution time, but it's always tried to give accept or reject a reported ticket within a week. It depends on business load. That doesn't mean that ticket via rt aren't handles as soon as possible, that means that soon depends on how much I have to do.
Business and commercial support should be acquired from the authors via preferred freelancer agencies.
| DBD::Sys::Plugin::Any::FileSysDf - provides a table containing the free space of file systems |