MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                       strclean(1M)



NAME
     strclean - STREAMS error logger cleanup program

SYNOPSIS
     strclean [-a age] [-d logdir]


DESCRIPTION
     strclean is used to clean up the STREAMS error logger direc-
     tory  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
     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.


EXAMPLES
     Example 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



FILES
     /var/adm/streams/error.*

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:












SunOS 5.11          Last change: 14 Sep 1992                    1






System Administration Commands                       strclean(1M)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWcsu                     
    


SEE ALSO
     cron(1M), strerr(1M), attributes(5)


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









































SunOS 5.11          Last change: 14 Sep 1992                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™