Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book