| 1 |
.TH WARNQUOTA 8 |
| 2 |
.SH NAME |
| 3 |
warnquota \- send mail to users over quota |
| 4 |
.SH SYNOPSIS |
| 5 |
.B warnquota |
| 6 |
[ |
| 7 |
.B \-ugsid |
| 8 |
] [ |
| 9 |
.B \-F |
| 10 |
.I quotaformat |
| 11 |
] [ |
| 12 |
.B \-q |
| 13 |
.I quotatab |
| 14 |
] [ |
| 15 |
.B \-c |
| 16 |
.I configfile |
| 17 |
] [ |
| 18 |
.B \-a |
| 19 |
.I adminsfile |
| 20 |
] [ |
| 21 |
.IR filesystem ... |
| 22 |
] |
| 23 |
.SH DESCRIPTION |
| 24 |
.B warnquota |
| 25 |
checks the disk quota for specified local filesystems (or for each local |
| 26 |
filesystem if none specified) and mails a warning message to those users who |
| 27 |
have reached their softlimit. It is typically run via |
| 28 |
.BR cron (8). |
| 29 |
.TP |
| 30 |
.B -F, --format=\f2quotaformat\f1 |
| 31 |
Perform setting for specified format (ie. don't perform format autodetection). |
| 32 |
Possible format names are: |
| 33 |
.B vfsold |
| 34 |
Original quota format with 16-bit UIDs / GIDs, |
| 35 |
.B vfsv0 |
| 36 |
Quota format with 32-bit UIDs / GIDs, 64-bit space usage, 32-bit inode usage and limits, |
| 37 |
.B vfsv1 |
| 38 |
Quota format with 64-bit quota limits and usage, |
| 39 |
.B xfs |
| 40 |
Quota on XFS filesystem. |
| 41 |
.TP |
| 42 |
.B -q, --quota-tab=\f2quotatab\f1 |
| 43 |
Use |
| 44 |
.I quotatab |
| 45 |
instead of |
| 46 |
.I /etc/quotatab |
| 47 |
as file with device description strings (see |
| 48 |
.BR quotatab (5) |
| 49 |
for syntax). |
| 50 |
.TP |
| 51 |
.B -c, --config=\f2configfile\f1 |
| 52 |
Use |
| 53 |
.I configfile |
| 54 |
instead of |
| 55 |
.I /etc/warnquota.conf |
| 56 |
as configuration file (see |
| 57 |
.BR warnquota.conf (5) |
| 58 |
for syntax). |
| 59 |
.TP |
| 60 |
.B -a, --admins-file=\f2adminsfile\f1 |
| 61 |
Use |
| 62 |
.I adminsfile |
| 63 |
instead of |
| 64 |
.I /etc/quotagrpadmins |
| 65 |
as a file with administrators of the groups (see |
| 66 |
.BR quotagrpadmins (5) |
| 67 |
for syntax). |
| 68 |
.TP |
| 69 |
.B -u, --user |
| 70 |
check whether users are not exceeding quotas (default). |
| 71 |
.TP |
| 72 |
.B -g, --group |
| 73 |
check whether groups are not exceeding quotas. If group is exceeding quota |
| 74 |
a mail is sent to the user specified in /etc/quotagrpadmins. |
| 75 |
.TP |
| 76 |
.B -s, --human-readable[=\f2units\f1] |
| 77 |
Try to report used space, number of used inodes and limits in more appropriate |
| 78 |
units than the default ones. Units can be also specified explicitely by an |
| 79 |
optional argument in format [ |
| 80 |
.BR kgt |
| 81 |
],[ |
| 82 |
.BR kgt |
| 83 |
] where the first character specifies space units and the second character |
| 84 |
specifies inode units. |
| 85 |
.TP |
| 86 |
.B -i, --no-autofs |
| 87 |
ignore mountpoints mounted by automounter. |
| 88 |
.TP |
| 89 |
.B -d, --no-details |
| 90 |
do not attach quota report in email. |
| 91 |
.SH FILES |
| 92 |
.PD 0 |
| 93 |
.TP 20 |
| 94 |
.B aquota.user |
| 95 |
quota file at the filesystem root (version 2 quota, non-XFS filesystems) |
| 96 |
.TP |
| 97 |
.B quota.user |
| 98 |
quota file at the filesystem root (version 1 quota, non-XFS filesystems) |
| 99 |
.TP |
| 100 |
.B /etc/warnquota.conf |
| 101 |
configuration file |
| 102 |
.TP |
| 103 |
.B /etc/quotatab |
| 104 |
device description |
| 105 |
.TP |
| 106 |
.B /etc/quotagrpadmins |
| 107 |
administrators of the groups |
| 108 |
.TP |
| 109 |
.B /etc/mtab |
| 110 |
default filesystems |
| 111 |
.TP |
| 112 |
.B /etc/passwd |
| 113 |
default set of users |
| 114 |
.PD |
| 115 |
.SH "SEE ALSO" |
| 116 |
.BR quota (1), |
| 117 |
.BR quotatab (5), |
| 118 |
.BR quotagrpadmins (5), |
| 119 |
.BR warnquota.conf (5), |
| 120 |
.BR cron (8), |
| 121 |
.BR edquota (8). |
| 122 |
.SH AUTHORS |
| 123 |
.BR warnquota (8) |
| 124 |
was written by Marco van Wieringen <[email protected]>, modifications by Jan Kara <[email protected]>. |
| 125 |
This reference page written by Heiko Schlittermann <[email protected]>, modifications by Jan Kara |