strclean — STREAMS Error Logger Cleanup Program
Synopsis
strclean [-a age][-d logdir]
Description
Use strclean to regularly clean up the STREAMS error logger directory (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.
Note
strclean is typically run from cron daily or weekly.
Options
-a age | Specify the maximum age in days a log file can be changed. |
-d logdir | Specify a directory other than /var/adm/streams. |
Examples
The following example has the same result as running strclean with no arguments.
example% strclean -d /var/adm/streams -a 3
Files
/var/adm/streams/error.* | |
STREAMS error logger files. |
Attributes
See attributes(5) ...
Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.