diskuse: tool for ProFTPD module
mod_quotatabmodule for ProFTPD 1.2. It is used to calculate the amount of disk space currently used by a given user and/or group.
The most current version of
diskuse can be found at:
Please contact TJ Saunders <tj at castaglia.org> with any questions, concerns, or suggestions regarding this program.
diskusetool. The options supported are described in more detail later.
Usage of this tool is fairly straightforward: choose the directory (or directories) to scan, and the user or group for whom you wish to calculate disk usage:
diskuse /home /usr /tmp --user=bobThe
--Goptions can be used to display the disk usage calculated in kilobytes, megabytes, or gigabytes, respectively.
usage: diskuse [options] dir1 dir2 ... dirN diskuse calculates the amount of disk space used underneath the given directory (or directories). Either a --group or a --user option is required. If both are used, only files whose ownership matches both the given name and group will be added to the disk usage sum. Options: --G Display the number of bytes in units of gigabytes. The default number is in bytes. --K Display the number of bytes in units of kilobytes. The default number is in bytes. --M Display the number of bytes in units of megabytes. The default number is in bytes. --dir-tally Count the size of directories toward the disk usage sum. The default is to consider regular files only. --group Count files owned by this group in the disk usage sum. --help Display this message. --user Count files owned by this user in the disk usage sum. --verbose Display diagnostic output while diskuse is running.