Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ admstrlog(1M) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

strerr(1M)



admstrlog(1M)                  DG/UX 5.4R3.00                  admstrlog(1M)


NAME
       admstrlog - manage the STREAMS log files

SYNOPSIS
       admstrlog -o list [ -q ] [ -a age ] [ -l level ] [ -s source ]

       admstrlog -o delete [ -a age ]

DESCRIPTION
       admstrlog manages the STREAMS log files.  The messages which you want
       to list can be selected by age (in days), source, and/or severity
       level.  You can also delete all messages older than a specified age
       (in days).

   Operations
       list      Generates a list of the specified messages.

       delete    Removes all messages older than a specified number of days.

   Options
       -s source Selects messages of type source.  Valid sources are all,
                 tcpip, osi, and x25.  The default is all.

       -l level  Selects messages of severity level or higher Valid severity
                 levels (in decreasing severity order) are: EMERGENCY,
                 ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFO, and DEBUG.
                 The default is INFO.

       -q        Suppresses (quiets) the printing of the list header.

       -a age    Selects messages age days or older for deletion.  The
                 default is 3 days.

EXAMPLES
       The examples below show how to: generate a list of all messages which
       have occurred in the last day and which are of severity ERROR or
       greater; generate a list of all messages of severity INFO or greater
       and whose source is tcpip; generate a list of all messages of
       severity INFO or greater; delete all messages older than 10 days of
       age.

           admstrlog -o list -a 1 -l ERROR
           admstrlog -o list -l INFO -s tcpip
           admstrlog -o list
           admstrlog -o delete -a 10

FILES
       /usr/adm/streams
                 The directory containing the STREAMS log files.

DIAGNOSTICS
   Errors
        -  The delete operation is requested by a non-superuser process.




Licensed material--property of copyright holder(s)                         1




admstrlog(1M)                  DG/UX 5.4R3.00                  admstrlog(1M)


   Exit Codes
        0     The operation was successful.

        1     The operation was unsuccessful.

        2     The operation failed due to access restrictions.

        3     There was an error in the command line.

SEE ALSO
       strerr(1M).














































Licensed material--property of copyright holder(s)                         2


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026