6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / uucleanup.1m
blob21b559cdfa174a139cee3c3d4fd3ee07a07ed0ac
1 '\" te
2 .\" Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
3 .\" Copyright 1989 AT&T
4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
7 .TH UUCLEANUP 1M "May 19, 1993"
8 .SH NAME
9 uucleanup \- uucp spool directory clean-up
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fB/usr/lib/uucp/uucleanup\fR [\fB-C\fR\fItime\fR] [\fB-D\fR\fItime\fR] [\fB-m\fR\fIstring\fR]
14      [\fB-o\fR\fItime\fR] [\fB-s\fR\fIsystem\fR] [\fB-W\fR\fItime\fR] [\fB-x\fR\fIdebug-level\fR] [\fB-X\fR\fItime\fR]
15 .fi
17 .SH DESCRIPTION
18 .sp
19 .LP
20 \fBuucleanup\fR will scan the spool directories for old files and take
21 appropriate action to remove them in a useful way:
22 .RS +4
23 .TP
24 .ie t \(bu
25 .el o
26 Inform the requester of send/receive requests for systems that can not be
27 reached.
28 .RE
29 .RS +4
30 .TP
31 .ie t \(bu
32 .el o
33 Return undeliverable mail to the sender.
34 .RE
35 .RS +4
36 .TP
37 .ie t \(bu
38 .el o
39 Deliver \fBrnews\fR files addressed to the local system.
40 .RE
41 .RS +4
42 .TP
43 .ie t \(bu
44 .el o
45 Remove all other files.
46 .RE
47 .sp
48 .LP
49 In addition, there is a provision to warn users of requests that have been
50 waiting for a given number of days (default 1 day). Note: \fBuucleanup\fR will
51 process as if all option \fBtimes\fR were specified to the default values
52 unless \fBtime\fR is specifically set.
53 .sp
54 .LP
55 This program is typically started by the shell \fBuudemon.cleanup\fR, which
56 should be started by \fBcron\fR(1M).
57 .SH OPTIONS
58 .sp
59 .ne 2
60 .na
61 \fB\fB-C\fR\fBtime\fR\fR
62 .ad
63 .RS 17n
64 Remove any \fBC.\fR files greater or equal to \fBtime\fR days old and send
65 appropriate information to the requester (default 7 days).
66 .RE
68 .sp
69 .ne 2
70 .na
71 \fB\fB-D\fR\fBtime\fR\fR
72 .ad
73 .RS 17n
74 Remove any \fBD.\fR files greater or equal to \fBtime\fR days old, make an
75 attempt to deliver mail messages, and execute  \fBrnews\fR when appropriate
76 (default 7 days).
77 .RE
79 .sp
80 .ne 2
81 .na
82 \fB\fB-m\fR\fIstring\fR\fR
83 .ad
84 .RS 17n
85 Include \fIstring\fR in the warning message generated by the \fB-W\fR option.
86 The default line is "See your local administrator to locate the problem".
87 .RE
89 .sp
90 .ne 2
91 .na
92 \fB\fB-o\fR\fBtime\fR\fR
93 .ad
94 .RS 17n
95 Delete other files whose age is more than \fBtime\fR days (default 2 days).
96 .RE
98 .sp
99 .ne 2
101 \fB\fB-s\fR\fIsystem\fR\fR
103 .RS 17n
104 Execute for \fIsystem\fR spool directory only.
108 .ne 2
110 \fB\fB-W\fR\fBtime\fR\fR
112 .RS 17n
113 Any \fBC.\fR files equal to \fBtime\fR days old will cause a mail message to be
114 sent to the requester warning about the delay in contacting the remote. The
115 message includes the \fIJOBID\fR, and in the case of mail, the mail message.
116 The administrator may include a message line telling whom to call to check the
117 problem (\fB-m\fR option) (default 1 day).
121 .ne 2
123 \fB\fB-x\fR\fIdebug-level\fR\fR
125 .RS 17n
126 Produce debugging output on standard ouput. \fIdebug-level\fR is a single digit
127 between 0 and 9; higher numbers give more detailed debugging information. (This
128 option may not be available on all systems.)
132 .ne 2
134 \fB\fB-X\fR\fBtime\fR\fR
136 .RS 17n
137 Any \fBX.\fR files greater or equal to \fBtime\fR days old will be removed. The
138 \fBD.\fR files are probably not present (if they were, the \fBX.\fR could get
139 executed). But if there are \fBD.\fR files, they will be taken care of by D.
140 processing (default 2 days).
143 .SH FILES
145 .ne 2
147 \fB\fB/usr/lib/uucp\fR\fR
149 .RS 19n
150 directory with commands used by \fBuucleanup\fR internally
154 .ne 2
156 \fB\fB/var/spool/uucp\fR\fR
158 .RS 19n
159 spool directory
162 .SH SEE ALSO
165 \fBuucp\fR(1C), \fBuux\fR(1C), \fBcron\fR(1M), \fBattributes\fR(5)