Query: strclean
OS: opensolaris
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
strclean(1M) System Administration Commands strclean(1M)NAMEstrclean - STREAMS error logger cleanup programSYNOPSISstrclean [-a age] [-d logdir]DESCRIPTIONstrclean 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.OPTIONSThe following options are supported: -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.EXAMPLESExample 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 3FILES/var/adm/streams/error.*ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+SEE ALSOcron(1M), strerr(1M), attributes(5)NOTESstrclean is typically run from cron on a daily or weekly basis. SunOS 5.11 14 Sep 1992 strclean(1M)
Related Man Pages |
---|
cron(1m) - opensolaris |
strace(1m) - hpux |
strclean(1m) - hpux |
dodisk(1m) - sunos |
strerr(1m) - sunos |
Similar Topics in the Unix Linux Community |
---|
controlling /var/adm/messages |
Deleting files over 7 days old |
/var/adm/messages not updating |
/var/adm/messages empty |
Check age of the file |