warnquota - Unix, Linux Command

previous next AddThis Social Bookmark Button


warnquota - send mail to users over quota


warnquota [ -ugsid ] [ -F quotaformat ] [ -q quotatab ] [ -c configfile ] [ -a adminsfile ]


warnquota checks the disk quota for each filesystem and mails a warning message to those users who have reached their softlimit. It is typically run via cron(8).
-F quotaformat
  Perform setting for specified format (ie. don’t perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0 (version 2 quota), rpc (quota over NFS), xfs (quota on XFS filesystem)
-q quotatab
  Use quotatab instead of /etc/quotatab as file with device description strings (see example file for syntax).
-c configfile
  Use configfile instead of /etc/warnquota.conf as configuration file (see example file for syntax).
-a adminsfile
  Use adminsfile instead of /etc/quotagrpadmins as a file with administrators of the groups.
-u check whether users are not exceeding quotas (default).
-g check whether groups are not exceeding quotas. If group is exceeding quota a mail is sent to the user specified in /etc/quotagrpadmins.
-s Try to report used space, number of used inodes and limits in more appropriate units than the default ones.
-i ignore mountpoints mounted by automounter.
-d don’t attach quota report in email.


aquota.user quota file at the filesystem root (version 2 quota, non-XFS filesystems)
quota.user quota file at the filesystem root (version 1 quota, non-XFS filesystems)
/etc/warnquota.conf configuration file
/etc/quotatab device description
/etc/quotagrpadmins administrators of the groups
/etc/mtab default filesystems
/etc/passwd default set of users


warnquota(8) was written by Marco van Wieringen <mvw@planets.elm.net>, modifications by Jan Kara <jack@suse.cz>. This reference page written by Heiko Schlittermann <heiko@lotte.sax.de>, modifications by Jan Kara
previous next Printer Friendly