Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cron(1M)

strerr(1M)

strclean(1M)

NAME

strclean − STREAMS error logger cleanup program

SYNOPSIS

strclean [−a age] [−d logdir]

AVAILABILITY

SUNWcsu

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

−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. 

EXAMPLES

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.∗

SEE ALSO

cron(1M), strerr(1M)

SunOS 5.1 STREAMS Programmer’s Guide

NOTES

strclean is typically run from cron on a daily or weekly basis. 

SunOS 5.1/SPARC  —  Last change: 14 Sep 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026