Sponsored Content
Top Forums UNIX for Dummies Questions & Answers post warning to over quota users Post 8288 by PxT on Tuesday 9th of October 2001 12:01:41 PM
Old 10-09-2001
On my Linux system I have the "warnquota" command. It is probably part of the quota package on other systems too...


Quote:
NAME
warnquota - send mail to users over quota

SYNOPSIS
warnquota

DESCRIPTION
warnquota checks the disk quota for each filesystem and mails a warning message to those
users who have reached their limit. It is typically run via cron(8).
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Denyhosts displaying warning message for users blocked

Hi, I have a dilemma.I am running denyhosts on one of our servers and it monitors illegal ssh/ftp loggins. I am running vsftpd. My manager though has put an additional requirement on me. When someone is blocked my denyhosts he want an error message to be displayed: " YOUR ACCOUNT HAS BEEN... (0 Replies)
Discussion started by: mojoman
0 Replies

2. Red Hat

Quota Managment - Virtual Users - VSFTPD

Hi guys. I have configured Vsftpd with virtual users using Berkley DB. it is running fine. But how can we implement disk quotas for virtual users? (1 Reply)
Discussion started by: majid.merkava
1 Replies

3. What is on Your Mind?

Regarding thoughts for encourage more users to post/participate on UNIX.com site.

Hello All, Greetings!! Have a thought about how could we encourage more users to post and participate more on UNIX.com(because more we get questions, more we learn more), few are my ideas which I am posting feel free to add/edit more ideas in here. Keeping this as a POLL too. I- Allow... (10 Replies)
Discussion started by: RavinderSingh13
10 Replies
QUOTA.USER(5)						      BSD File Formats Manual						     QUOTA.USER(5)

NAME
quota.user, quota.group -- per file system quota database DESCRIPTION
Each file system with active quotas should contain a quota.user and quota.group file in the file system root. These files are created by quotacheck(8), and should be edited with edquota(8). It is possible to specify a different location and file name with the ``userquota'' and ``groupquota'' options in the fstab(5) file. The data files contain the following information: o Current block usage o Current number of files o Soft block limit o Soft file limit o Hard block limit o Hard file limit o Block grace time remaining if over the soft limit o File grace time remaining if over the soft limit See edquota(8) for an explanation on the various limits and grace periods. During normal quota operations the quotactl(2) interface is used to query or set quota information and the kernel will maintain the data files as needed. If quotas are disabled on a file system, but marked as having quotas enabled in fstab(5), then the quota data files will be used directly. The data files are stored as an array of ``struct dqblk'' structures, as defined in <ufs/ufs/quota.h>, and indexed by UID or GID. The data files will be written as a sparse file if possible. Data is only maintained for ids that have either non-zero usage or non-zero quota lim- its. If an attempt is made to access data for an id that would exist past the end of the current data file, a quota structure with all val- ues set to zero will be created, and the data file extended as needed. The quotacheck(8) utility will truncate the data files to the minimum size needed to store the highest id with either non-zero file usage or non-zero quota limits. The data record for id 0 has special meaning. If the ``dqb_btime'' or ``dbq_itime'' fields are non-zero, they are used to indicate the grace period on that file system for users who have exceeded their soft limit. These times can be set by edquota(8) with the -t flag. If no explicit grace period has been set with edquota(8), then the default value of 7 days will be used. The default values are defined by MAX_DQ_TIME and MAX_IQ_TIME in <ufs/ufs/quota.h>. SEE ALSO
quota(1), quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaoff(8), quotaon(8), repquota(8) BSD
October 30, 2007 BSD
All times are GMT -4. The time now is 06:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy