[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 5

strclean Command

Purpose

Cleans up the STREAMS error logger.

Syntax

strclean-d ] [ -a Age ]

Description

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.

Flags

-d Specifies a directory other than the default directory.
-a Age Specifies the maximum age, in days, for a log file.

Examples

The following example has the same result as running the strclean command with no parameters.

strclean -d /var/adm/streams -a 3

Files

/var/adm/streams/err
                         
or.* Contains the STREAMS error log.

Related Information

The cron daemon, strerr daemon.

List of Streams Commands, STREAMS Overview in AIX Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]