Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.0;netmain_chklog (check_netmain_logs), revision 1.0, 88/01/21
netmain_chklog (check_netmain_logs) - clean up bad log files
usage:  netmain_chklog pathname... [-d | -nd] [-l | -nl]  {cl}



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/?*



SEE ALSO
     More information is available.  Type

     help  netmain_srvr
                    For details about netmain's data collection server

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