QuotaPerl interface to file system quotas | |
Download |
Quota Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tom Zoerner
- Publisher web site:
- http://search.cpan.org/~tomzo/Video-ZVBI-0.2.3/ZVBI.pm
Quota Tags
Quota Description
Perl interface to file system quotas Quota is a Perl module that provides access to file system quotas. The quotactl system call or ioctl is used to query or set quotas on the local host, or queries are submitted via RPC to a remote host. Mount tables can be parsed with getmntent and paths can be translated to device files (or whatever the actual quotactl implementations needs as argument) of the according file system.SYNOPSIS use Quota; ($block_curr, $block_soft, $block_hard, $block_timelimit, $inode_curr, $inode_soft, $inode_hard, $inode_timelimit) = Quota::query($dev ]); ($block_curr, $block_soft, $block_hard, $block_timelimit, $inode_curr, $inode_soft, $inode_hard, $inode_timelimit) = Quota::rpcquery($host, $path ]); Quota::rpcpeer(]]); Quota::rpcauth(]]); Quota::setqlim($dev, $uid, $block_soft, $block_hard, $inode_soft, $inode_hard ]); Quota::sync(); $arg = Quota::getqcarg(); Quota::setmntent(); ($dev, $path, $type, $opts) = Quota::getmntent(); Quota::endmntent(); Requirements: · Perl
Quota Related Software