6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / strclean.1m
blob56fba8ed4662ae0977b63e700f5d07da3491dc53
1 '\" te
2 .\"  Copyright 1989 AT&T  Copyright (c) 1997 Sun Microsystems, Inc.  All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH STRCLEAN 1M "Sep 14, 1992"
7 .SH NAME
8 strclean \- STREAMS error logger cleanup program
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBstrclean\fR [\fB-a\fR \fIage\fR] [\fB-d\fR \fIlogdir\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBstrclean\fR is used to clean up the STREAMS error logger directory on a
19 regular basis (for example, by using \fBcron\fR. By default, all files with
20 names matching \fBerror.*\fR in  \fB/var/adm/streams\fR that have not been
21 modified in the last three days are removed.
22 .SH OPTIONS
23 .sp
24 .LP
25 The following options are supported:
26 .sp
27 .ne 2
28 .na
29 \fB\fB-a\fR \fIage\fR\fR
30 .ad
31 .RS 13n
32 The maximum age in days for a log file can be changed using the \fB-a\fR
33 option.
34 .RE
36 .sp
37 .ne 2
38 .na
39 \fB\fB-d\fR \fIlogdir\fR\fR
40 .ad
41 .RS 13n
42 A directory other than \fB/var/adm/streams\fR can be specified using the
43 \fB-d\fR option.
44 .RE
46 .SH EXAMPLES
47 .LP
48 \fBExample 1 \fRA sample of using the \fBstrclean\fR command.
49 .sp
50 .LP
51 This example has the same result as running  \fBstrclean\fR with no arguments:
53 .sp
54 .in +2
55 .nf
56 example%  \fBstrclean \fR\fB-d\fR\fB /var/adm/streams \fR\fB-a\fR\fB 3\fR
57 .fi
58 .in -2
59 .sp
61 .SH FILES
62 .sp
63 .LP
64 \fB/var/adm/streams/error.\fR*
65 .SH SEE ALSO
66 .sp
67 .LP
68 \fBcron\fR(1M), \fBstrerr\fR(1M), \fBattributes\fR(5)
69 .sp
70 .LP
71 \fI\fR
72 .SH NOTES
73 .sp
74 .LP
75 \fBstrclean\fR is typically run from \fBcron\fR on a daily or weekly basis.