Cleans up the STREAMS error logger.
The strclean command is used to clean up the STREAMS error-logger directory on a regular basis: for example, by using the cron daemon. By default, all files with names matching error.* in the /var/adm/streams directory that have not been modified in the last three days are removed.
Note: The strclean command is typically run using the cron deamon on a daily or weekly basis.
Item | Description |
---|---|
-a Age | Specifies the maximum age, in days, for a log file. |
-d | Specifies a directory other than the default directory. |
The following example has the same result as running the strclean command with no parameters.
strclean -d /var/adm/streams -a 3
Item | Description |
---|---|
/var/adm/streams/error.* | Contains the STREAMS error log. |