Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ netmain_chklog(8) — bsd — Apollo Domain/OS SR10.4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NETMAIN_CHKLOG(8)               Domain/OS BSD                NETMAIN_CHKLOG(8)




NAME
     netmain_chklog - clean up bad log files

SYNOPSIS
     /etc/netmain_chklog [options]  pathname...

DESCRIPTION
     When the netmain_srvr program halts catastrophically (for instance,
     during a node reset), it can leave the log file it was writing in a
     corrupt, unusable state. netmain_chklog determines whether the log is
     corrupt and, optionally, deletes corrupt files.

     If the pathname you specify points to some kind of file other than a
     netmain log file, that file is almost always ignored; it is almost never
     deleted as a corrupt log.  On very rare occasions, another kind of file
     may look so much like a corrupt log that it might be deleted accidentally
     if you use both -d and the standard command option -nq (no query).  Thus
     you should use -d -nq with extreme care.

     pathname (required)
                    Specify the files to be checked.  Multiple names and
                    wildcarding are permitted; separate names with blanks.

OPTIONS
     -d             Delete corrupt log files.

     -nd (default)  Do not delete anything.

     -l  (default)  Describe every file analyzed.

     -nl            Describe only corrupt log files.

EXAMPLES
     $ /etc/netmain_chklog `node_data/net_log/*

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