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

  man pages->HP-UX 11i man pages -> strclean (1m)              
Title
Content
Arch
Section
 

Contents


 strclean(1M)                                                   strclean(1M)




 NAME    [Toc]    [Back]
      strclean - remove outdated STREAMS error log files

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

 DESCRIPTION    [Toc]    [Back]
      strclean cleans the STREAMS error logger directory of log files
      (error.mm-dd) that contain error messages sent by the STREAMS log
      driver, strlog(7).  If the -d option is not used to specify another
      directory, strclean removes error log files in the /var/adm/streams
      directory.  If the -a option is not used to specify another age,
      strclean removes error log files that have not been modified in three
      days.

    Options    [Toc]    [Back]
      strclean recognizes the following options and command-line arguments:

      -d logdir      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.

      -a age         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.

 EXAMPLES    [Toc]    [Back]
      Remove day-old error log files from a directory called /tmp/streams:

           strclean -d /tmp/streams -a 1

 FILES    [Toc]    [Back]
      /var/adm/streams/error.mm-dd                      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.

      /usr/lib/nls/msg/C/strclean.cat                   NLS catalog for
                                                        strclean.

 SEE ALSO    [Toc]    [Back]
      strerr(1M), strlog(7).


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
strclean Tru64 Removes outdated STREAMS error log files
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
rm IRIX remove files or directories
dosrmdir HP-UX remove DOS files or directories
rm Linux remove files or directories
rm HP-UX remove files or directories
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service