File: diskuse.html

package info (click to toggle)
proftpd-dfsg 1.3.5-1.1%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 30,768 kB
  • ctags: 17,089
  • sloc: perl: 211,941; ansic: 153,765; php: 11,586; sh: 11,085; makefile: 2,323; xml: 93
file content (103 lines) | stat: -rw-r--r-- 2,955 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!-- $Id: 14.quotatab_modules.diff,v 1.4 2003/11/17 15:30:12 frankie Exp $ -->
<!-- $Source: /cvsroot/pkg-proftpd/debian/patches/14.quotatab_modules.diff,v $ -->

<html>
<head>
<title>diskuse: tool for ProFTPD mod_quotatab</title>
</head>

<body bgcolor=white>

<hr><br>
<center>
<h2><b><code>diskuse</code>: tool for ProFTPD module <code>mod_quotatab</code></b></h2>
</center>
<hr><br>

This program is distributed with the
<a href="./mod_quotatab.html"><code>mod_quotatab</code></a> module for
ProFTPD 1.2.  It is used to calculate the amount of disk space currently
used by a given user and/or group.

<p>
The most current version of <code>diskuse</code> can be found at:
<pre>
  <a href="http://www.castaglia.org/proftpd/">http://www.castaglia.org/proftpd/</a>
</pre>

<h2>Author</h2>
<p>
Please contact TJ Saunders &lt;tj <i>at</i> castaglia.org&gt; with any
questions, concerns, or suggestions regarding this program.

<p>
<hr><br>
<h2><a name="Usage">Usage</a></h2>
The following describes the common usage of the <code>diskuse</code> tool.
The options supported are described in more detail
<a href="#Options">later</a>.

<p>
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:
<pre>
  diskuse /home /usr /tmp --user=bob
</pre>
The <code>--K</code>, <code>--M</code>, and <code>--G</code> options can be
used to display the disk usage calculated in kilobytes, megabytes, or
gigabytes, respectively.

<p>
<hr><br>
<h2><a name="Options">Options</a></h2>
The following is the output from running <code>diskuse --help</code>:
<pre>
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.
</pre>

<p>
<hr><br>

Author: <i>$Author: frankie $</i><br>
Last Updated: <i>$Date: 2003/11/17 15:30:12 $</i><br>

<br><hr>

<font size=2><b><i>
&copy; Copyright 2000-2002 TJ Saunders<br>
 All Rights Reserved<br>
</i></b></font>

<hr><br>

</body>
</html>