qu

Displays quota usage statistics
Download

qu Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Scott Wiersdorf
  • Publisher web site:
  • http://search.cpan.org/~scottw/

qu Tags


qu Description

Displays quota usage statistics qu is a Perl module that displays the file system block usage for each directory in the file hierarchy rooted in each directory argument owned by the current process owner (or 'user' if specified). If no directory is specified, the block usage of the hierarchy rooted in the current directory usage is displayed. Usage is only calculated for files and directories owned by the process owner (i.e., you), making this useful for calculating real quota usage (hence qu).You may view statistics for multiple, disjointed file hierarchies by specifying multiple directory arguments. You may also specify a variety of command-line arguments to alter the output of qu. See "OPTIONS".If a path is prefixed with a leading slash ('/'), qu will assume you want to calculate disk space used relative to your home directory. If you want to calculate usage outside of your home directory, chdir to that directory and run qu. If you type this, regardless of your current working directory: qu /usr/local/libqu will calculate disk space used in $HOME/usr/local/lib.Paths not prefixed with a leading slash will be assumed relative to the current working directory. If your current working directory path is /usr/local, typing: qu libwill calculate space used by you in the real /usr/local/lib (i.e., not relative to your home directory).qu may be run by root (UID 0) with the --user option to calculate quota usage for a particular user. Unless you are root, the --user option will not likely return anything useful unless the directories owned by the specified user are readable by your UID.When run as root, qu uses absolute filesystem paths: qu /will calculate usage from the filesystem /, not root's home directory (which may or may not be /). Requirements: · Perl


qu Related Software