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)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003