8.0;netmain_chklog (check_netmain_logs), revision 8.0, 84/02/23
NETMAIN_CHKLOG (CHECK_NETMAIN_LOGS) -- Search for/delete corrupt log files.
usage: NETMAIN_CHKLOG pathname... [-D | -ND] [-L | -NL] {CL}
FORMAT
NETMAIN_CHKLOG pathname... [options]
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 will almost always be ignored -- it will almost never be
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 then -D and the standard command option -NQ (no query). Thus you
should use -D -NQ with extreme care.
ARGUMENTS
pathname
(required) Specify the files to be checked. Multiple names and
wildcarding are permitted; separate names with blanks.
OPTIONS
Default options are indicated by "(D)."
-D Delete corrupt log files.
-ND (D) Do NOT delete anything.
-L (D) Describe every file analyzed.
-NL Describe only corrupt log files.
This command uses the command line parser, and so also accepts the standard
command options listed in HELP CL.
EXAMPLES
$ netmain_chklog `node_data/net_log/?*
RELATED TOPICS
More information is available. Type:
- HELP NETMAIN_SRVR
for details about NETMAIN's data collection server.