strclean(1M)


strclean -- STREAMS error logger cleanup program

Synopsis

strclean [-d logdir] [-a age]

Description

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 directory other than /var/adm/streams can be specified using the -d option. The maximum age in days for a log file can be changed using the -a option.

Files

/var/adm/streams/error.*

References

cron(1M), strerr(1M)

Notices

strclean is typically run from cron on a daily or weekly basis.

Examples

strclean -d /var/adm/streams -a 3

has the same result as running strclean with no arguments.


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.