STRCLEAN(1M) Maintenance Commands STRCLEAN(1M)
strclean - STREAMS error logger cleanup program
] [-d logdir
is used to clean up the STREAMS error logger directory on a
regular basis (for example, by using cron
. By default, all files with
names matching error.*
that have not been modified
in the last three days are removed.
The following options are supported: -a age
The maximum age in days for a log file can be changed using
option. -d logdir
A directory other than /var/adm/streams
can be specified
using the -d
Example 1: A sample of using the strclean command.
This example has the same result as running strclean
with no arguments:
example% strclean -d /var/adm/streams -a 3
SEE ALSO cron(1M)
is typically run from cron
on a daily or weekly basis.
September 14, 1992 STRCLEAN(1M)