SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Filesys-Df rpm build for : RedHat EL 5. For other distributions click perl-Filesys-Df.

Name : perl-Filesys-Df
Version : 0.92 Vendor : Ian Guthrie < IGuthrie_aol_com>
Release : 7.1 Date : 2016-10-17 15:04:00
Group : Applications/CPAN Source RPM : perl-Filesys-Df-0.92-7.1.src.rpm
Size : 0.06 MB
Packager : Holger Manthey < holger_manthey_bertelsmann_de>
Summary : Filesys-Df - Perl extension for filesystem disk space information.
Description :
This module provides a way to obtain filesystem disk space
information. This is a Unix only distribution. If you want to
gather this information for Unix and Windows, use C< Filesys::DfPortable>.
The only major benefit of using C< Filesys::Df> over C< Filesys::DfPortable>,
is that C< Filesys::Df> supports the use of open filehandles as arguments.

The module should work with all flavors of Unix that implement the
C< statvfs()> and C< fstatvfs()> calls, or the C< statfs()> and C< fstatfs()> calls.
This would include Linux, *BSD, HP-UX, AIX, Solaris, Mac OS X, Irix,
Cygwin, etc ...

C< 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.

C< df()> returns a reference to a hash. The keys available in
the hash are as follows:

C< {blocks}> = Total blocks on the filesystem.

C< {bfree}> = Total blocks free on the filesystem.

C< {bavail}> = Total blocks available to the user executing the Perl
application. This can be different than C< {bfree}> if you have per-user
quotas on the filesystem, or if the super user has a reserved amount.
C< {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.

C< {used}> = Total blocks used on the filesystem.

C< {per}> = 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%.

You can obtain inode information through the module as well, but you
must call C< exists()> on the C< {files}> key first, to make sure the information
is available. Some filesystems may not return inode information, for example
some NFS filesystems.

Here are the available inode keys:

C< {files}> = Total inodes on the filesystem.

C< {ffree}> = Total inodes free on the filesystem.

C< {favail}> = Total inodes available to the user executing the application.
See the rules for the C< {bavail}> key.

C< {fused}> = Total inodes used on the filesystem.

C< {fper}> = Percent of inodes used on the filesystem. See rules for the C< {per}>
key.

There are some undocumented keys that are defined to maintain backwards
compatibilty: C< {su_blocks}>, C< {user_blocks}>, etc ...

If the C< df()> call fails for any reason, it will return
undef. This will probably happen if you do anything crazy like try
to get information for /proc, or if you pass an invalid filesystem name,
or if there is an internal error. C< df()> will C< croak()> if you pass
it a undefined value.

Requirements:
Your system must contain C< statvfs()> and C< fstatvfs()>, or C< statfs()> and C< fstatfs()>
You must be running Perl 5.6 or higher.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/Perl/RHEL_5/i386

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
Df.so
perl(Filesys::Df)
perl-Filesys-Df

Requires :
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(VersionedDependencies) <= 3.0.3-1
libc.so.6(GLIBC_2.1)
perl(vars)
perl(Carp)
perl => 0:5.006
perl(Exporter)
perl(DynaLoader)
libc.so.6(GLIBC_2.1.3)
rtld(GNU_HASH)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
libc.so.6
perl(strict)


Content of RPM :
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Filesys
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Filesys/Df.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Filesys
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Filesys/Df
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Filesys/Df/Df.so
/usr/share/doc/perl-Filesys-Df-0.92
/usr/share/doc/perl-Filesys-Df-0.92/Changes
/usr/share/doc/perl-Filesys-Df-0.92/README
/usr/share/man/man3/Filesys::Df.3pm.gz

 
ICM