Go to main content

マニュアルページ セクション 8: システム管理コマンド

印刷ビューの終了

更新: 2022年7月27日
 
 

strclean(8)

名前

strclean - STREAMS error logger cleanup program

形式

strclean [-a age] [-d logdir]

説明

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.

オプション

The following options are supported:

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

使用例 1 A sample of using the strclean command.

This example has the same result as running strclean with no arguments:

example%  strclean –d /var/adm/streams –a 3

ファイル

/var/adm/streams/error.*

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

関連項目

attributes(7), cron(8), strerr(8)

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