|
|
1.1 root 1: .TH QUOT 8
2: .CT 1 sa_mortals
3: .SH NAME
4: quot, findo \- file system usage and hogs
5: .SH SYNOPSIS
6: .B /etc/quot
7: [
8: .I option ...
9: ]
10: [
11: .I filesystem
12: ]
13: .PP
14: .BI findo
15: [
16: .B -f
17: ]
18: [
19: .B -n
20: ]
21: [
22: .B -u
23: .I userid
24: ]
25: .I device mount-directory
26: .SH DESCRIPTION
27: .I Quot
28: prints the number of blocks in the named
29: .I filesystem
30: device currently owned by each user.
31: If no
32: .I filesystem
33: is named,
34: .F /dev/usr
35: is assumed.
36: The options are:
37: .TP
38: .B -n
39: Use as in the example below to list all files and owners.
40: .TP
41: .B -c
42: Print three columns giving file size in blocks, number of
43: files of that size, and cumulative total of blocks
44: in files of that size or smaller.
45: .TP
46: .B -f
47: Print count of number of files as well as space owned by each user.
48: .TP
49: .B -b
50: Print space-time product in block-years in addition to space owned by
51: each user.
52: .PP
53: .I Findo
54: discovers files you might want to delete on the
55: given block
56: .I device,
57: which must be mounted on the given directory.
58: It lists, on the standard output, the
59: sizes, ages in days, and names of files
60: with any of the following characteristics:
61: .IP -
62: .IR Troff (1)
63: output files older than 24 hours.
64: The names are marked
65: .L troff:
66: in the output.
67: .IP -
68: Week-old files named
69: .BR core ,
70: .BR a.out ,
71: .BR mon.out ,
72: .BR .pilog ,
73: .BR junk* ,
74: .BR temp* ,
75: .BR ed.hup ,
76: .BR qed.hup:* ,
77: .BR jim.recover ,
78: .BR sam.save ,
79: .BR sam.err ,
80: .BR ~~sam~~ ,
81: .BR [a-z] ,
82: .BR dead.letter ,
83: .BR foo[0-9]* ,
84: .BR rst[0-9]+ ,
85: .BR .jx* ,
86: .BR *.dvi ,
87: and files whose names
88: resemble
89: .IR apnews (7)
90: spool entries.
91: .IP -
92: Files over a month old named
93: .BR *.o .
94: The names are marked
95: .LR old: .
96: .IP -
97: Files owned by users selected with option
98: .BR -u ;
99: the names are marked
100: .LR user: .
101: .PP
102: The options are
103: .TP
104: .B -f
105: List files owned by users not in the password file.
106: .TP
107: .BI -u " userid
108: List files over 2 days old owned by the user with the given numeric
109: .I userid.
110: .TP
111: .B -n
112: List files of any age owned by the specified users.
113: .SH EXAMPLES
114: .TP
115: .L
116: ncheck filesystem | sort -n | quot -n filesystem
117: List all files and their owners.
118: .SH FILES
119: .F /etc/passwd
120: to get user names
121: .SH "SEE ALSO"
122: .IR ls (1),
123: .IR du (1),
124: .IR icheck (8),
125: .IR fstab (5)
126: .SH BUGS
127: .I Quot
128: counts holes in files as if they actually occupied space.
129: .br
130: Patterns specifying the names and ages are compiled into
131: .I findo.
132: .br
133: .I Findo's
134: age distinction for files owned by a specific user is a
135: historical dreg.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.