*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> strclean (8)              
Title
Content
Arch
Section
 

strclean(8)

Contents


NAME    [Toc]    [Back]

       strclean - Removes outdated STREAMS error log files

SYNOPSIS    [Toc]    [Back]

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

OPTIONS    [Toc]    [Back]

       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 directory
       /var/adm/streams.

DESCRIPTION    [Toc]    [Back]

       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 argument), 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    [Toc]    [Back]

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

FILES    [Toc]    [Back]

       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 contained in the file.

SEE ALSO    [Toc]    [Back]

      
      
       Commands: cron(8), strerr(8)

       Interfaces: strlog(7)



                                                      strclean(8)
[ Back ]
 Similar pages
Name OS Title
strclean HP-UX remove outdated STREAMS error log files
flushq Tru64 STREAMS: Removes a message from a queue
adjmsg Tru64 STREAMS: Removes the specified number of bytes from a message
rmvq Tru64 STREAMS: Removes a message block from a queue
strerr IRIX STREAMS error logger daemon
strclean IRIX STREAMS error logger cleanup program
strerr HP-UX receive error messages from the STREAMS log driver
strerr Tru64 Receives error messages from the STREAMS log driver
log IRIX interface to STREAMS error logging and event tracing
unlinkb Tru64 STREAMS: Removes a message block from the head of a message
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service