Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strclean(1M) — Interactive 3.2r4.1

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 [ −d logdir ] [−a age ]

DESCRIPTION

The strclean command is used to clean up the STREAMS error logger directory on a regular basis [for example, by using cron(1M)].  By default, all files with names matching error.∗ in /usr/adm/streams that have not been modified in the last 3 days are removed.  A directory other than /usr/adm/streams can be specified using the −d option.  The maximum age in days for a log file can be changed using the −a option. 

EXAMPLE

strclean −d /usr/adm/streams −a 3

has the same result as running strclean with no arguments. 

NOTES

The strclean command is typically run from cron(1M) on a daily or weekly basis. 

FILES

/usr/adm/streams/error.∗

SEE ALSO

cron(1M), strerr(1M). 
STREAMS Programmer´s Guide. 

\*U  —  Version 1.0

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