56 lines
1.8 KiB
HTML
56 lines
1.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE>Quota mini-HOWTO: Miscellaneous Quota Commands</TITLE>
|
|
<LINK HREF="Quota-5.html" REL=previous>
|
|
<LINK HREF="Quota.html#toc6" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
Next
|
|
<A HREF="Quota-5.html">Previous</A>
|
|
<A HREF="Quota.html#toc6">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s6">6. Miscellaneous Quota Commands</A></H2>
|
|
|
|
<P>
|
|
<H2><A NAME="ss6.1">6.1 Quotacheck</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<P>Quotacheck is used to scan a file system for disk usages, and updates the
|
|
quota record file "aquota.user" to the most recent state. I recommend running
|
|
quotacheck at system bootup, and via cronjob periodically (say, every week?).
|
|
<H2><A NAME="ss6.2">6.2 Repquota</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<P>Repquota produces a summarized quota information for a file system. Here
|
|
is a sample output repquota gives:
|
|
<HR>
|
|
<PRE>
|
|
# repquota -a
|
|
Block limits File limits
|
|
User used soft hard grace used soft hard grace
|
|
root -- 175419 0 0 14679 0 0
|
|
bin -- 18000 0 0 735 0 0
|
|
uucp -- 729 0 0 23 0 0
|
|
man -- 57 0 0 10 0 0
|
|
user1 -- 13046 15360 19200 806 1500 2250
|
|
user2 -- 2838 5120 6400 377 1000 1500
|
|
</PRE>
|
|
<HR>
|
|
<H2><A NAME="ss6.3">6.3 Quotaon and Quotaoff</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<P>Quotaon is used to turn on quota accounting; quotaoff to turn it off. Actually
|
|
both files are similar. They are executed at system startup and shutdown.
|
|
<P>
|
|
<HR>
|
|
Next
|
|
<A HREF="Quota-5.html">Previous</A>
|
|
<A HREF="Quota.html#toc6">Contents</A>
|
|
</BODY>
|
|
</HTML>
|