strclean(1M) manual page
Table of Contents
strclean - STREAMS error logger cleanup program
strclean
[-a age] [-d logdir]
SUNWcsu
strclean 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.* in /var/adm/streams
that have not been modified in the last three days are removed.
- -a
age
- The maximum age in days for a log file can be changed using the -a option.
- -d logdir
- A directory other than /var/adm/streams can be specified using
the -d option.
This example has the same result as running strclean
with no arguments:
- example% strclean -d /var/adm/streams -a 3
/var/adm/streams/error.*
cron(1M)
, strerr(1M)
strclean is typically run from cron
on a daily or weekly basis.
Table of Contents