DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

strclean(ADM)


strclean -- STREAMS error logger cleanup program

Syntax

strclean [ -d logdir ] [ -a age ]

Description

The strclean command is used to clean up the STREAMS error logger directory on a regular basis (for example, by using cron(C)). By default, all files with names matching error.* in /usr/adm/streams that have not been modified in the last 3 days are removed. A directory other than /usr/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.

Examples

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

has the same result as running strclean with no arguments.

Limitations

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

Files

/usr/adm/streams/error.*

See also

cron(C), strerr(ADM)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005