1strclean(1M) System Administration Commands strclean(1M)
2
3
4
6 strclean - STREAMS error logger cleanup program
7
9 strclean [-a age] [-d logdir]
10
11
13 strclean is used to clean up the STREAMS error logger directory on a
14 regular basis (for example, by using cron. By default, all files with
15 names matching error.* in /var/adm/streams that have not been modified
16 in the last three days are removed.
17
19 The following options are supported:
20
21 -a age The maximum age in days for a log file can be changed
22 using the -a option.
23
24
25 -d logdir A directory other than /var/adm/streams can be specified
26 using the -d option.
27
28
30 Example 1 A sample of using the strclean command.
31
32
33 This example has the same result as running strclean with no argu‐
34 ments:
35
36
37 example% strclean -d /var/adm/streams -a 3
38
39
40
42 /var/adm/streams/error.*
43
45 See attributes(5) for descriptions of the following attributes:
46
47
48
49
50 ┌─────────────────────────────┬─────────────────────────────┐
51 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │Availability │SUNWcsu │
54 └─────────────────────────────┴─────────────────────────────┘
55
57 cron(1M), strerr(1M), attributes(5)
58
59
60
61
63 strclean is typically run from cron on a daily or weekly basis.
64
65
66
67SunOS 5.11 14 Sep 1992 strclean(1M)