Converse agora com nosso suporte
Chat com o suporte

NetVault 13.1.2 - CLI Reference Guide

Introduction Getting started Using the command-line utilities Using the nvreport utility

nvlogdump

Dumps NetVault logs to a text or binary file.

Table 79. nvlogdump

-jobid

Specifies the job ID for which logs are exported.

-filename

Specifies the name of the file to which logs are exported.

Depending on the dump format selected, the dump files are created in the binary or text directories under <NetVault home>\logs\dumps (on Windows) or <NetVault home>/logs/dumps (on Linux).

If you omit the -filename option, NetVault creates a file named CLI_DUMP_<YYYYMMDD>_<HHMMSS> in the specified format. The binary file has the extension “.nlg” and the text file has “.txt” extension.

-text

Exports logs in text format, and the text file has “.txt” extension. If you omit this option, then logs are dumped in binary format.

-starttime

Specifies the time that serves as the starting point for the log dump. The format to specify start time is YYYYMMDDHHMMSS.

-endtime

Specifies the time that serves as the stopping point for the log dump. The format to specify end time is YYYYMMDDHHMMSS.

At least the jobid option or a combination of the starttime and endtime options must be specified to properly use this utility. A combination of the options jobid, starttime, and endtime can be specified to dump logs for a particular job that were generated within the given period.

nvlogpurge

Purges log entries up to the specified time.

Table 80. nvlogpurge

-purgetime

Specifies the time that serves as the end point for the log purge. The format to specify purge time is YYYYMMDDHHMMSS.

nvreadlog

Displays log messages.

Table 81. nvreadlog

-h

Exits after showing historic log messages.

-b

Specifies the start date; it is specified as the number of days before the current date.

-m

Starts the output from midnight preceding the number of days specified with the -b option. You must use this option with the -b option.

For example, at 3 P.M., you specify -b 1, logs starting from 3 P.M. the day before are displayed. With the -m option, log messages starting from the midnight of previous day are displayed.

If you specify -m without the -b option or with -b 0, log messages starting from the midnight of current day are displayed. If you issue this command at 3 P.M., 15 hours of logs are displayed.

-d

Specifies one or more characters that you want to use as delimiters. For example, -d followed by two spaces would separate each displayed item with two spaces.

-o

Displays specific messages. For example, if you specify -o failed, only messages that contain the word “failed” are displayed.

You can specify multiple strings using comma as a separator.

As “-h” is a command option, use the full command “-help” to view help for this command:

Other utilities

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação