strclean man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

strclean(8)							   strclean(8)

NAME
       strclean - Removes outdated STREAMS error log files

SYNOPSIS
       /usr/sbin/strclean [-d logdir] [-a age]

OPTIONS
       Specifies a maximum age in days for the STREAMS error log files if this
       not the default age of 3. The value of age must be an  integer  greater
       than  or	 less  than  3.	 Specifies a directory for the location of the
       STREAMS error log files to be removed if this is not the default direc‐
       tory /var/adm/streams.

DESCRIPTION
       The  strclean  command cleans the STREAMS error logger directory of log
       files (error.mm-dd) that contain error messages sent by the STREAMS log
       driver  (strlog).  If no other directory is specified (the logdir argu‐
       ment), the command removes error	 log  files  in	 the  /var/adm/streams
       directory. If no other age is specified (the age argument), the command
       removes error log files that have not been modified in 3 days.

       The strclean command is executed by  the	 cron  daemon  on  a  periodic
       basis.

EXAMPLES
       To  remove  the	day-old	 error	log  files  from  a  directory	called
       /tmp/streams, enter: % strclean -d /tmp/streams -a 1

FILES
       One or more error log file or files on  which  strclean	operates.  The
       mm.dd  in the filename indicates the month and day of the messages con‐
       tained in the file.

SEE ALSO
       Commands: cron(8), strerr(8)

       Interfaces: strlog(7)

								   strclean(8)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net