strclean(1m) sunos man page | unix.com

Man Page: strclean

Operating Environment: sunos

Section: 1m

strclean(1M)						  System Administration Commands					      strclean(1M)

NAME
strclean - STREAMS error logger cleanup program
SYNOPSIS
strclean [-a age] [-d logdir]
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.
OPTIONS
The following options are supported: -aage The maximum age in days for a log file can be changed using the -a option. -dlogdir A directory other than /var/adm/streams can be specified using the -d option.
EXAMPLES
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
FILES
/var/adm/streams/error.*
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+
SEE ALSO
cron(1M), strerr(1M), attributes(5) STREAMS Programming Guide
NOTES
strclean is typically run from cron on a daily or weekly basis. SunOS 5.10 14 Sep 1992 strclean(1M)
Related Man Pages
cron(1m) - opensolaris
chargefee(1m) - sunos
ckpacct(1m) - sunos
strclean(1m) - sunos
strerr(1m) - sunos
Similar Topics in the Unix Linux Community
Sun Machine Rebooted
Check all files in directories for string and remove.. possible?
flarcreate disk error 28
Unix file temporarily unavailable
Script to move file on a daily basis