Chat now with support
Chat with Support

NetVault 11.3 - CLI Reference Guide

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

nvlogpurge

Purges log entries up to the specified time.

Table 79. 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 80. 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

 

bonedate

Displays the NetVault date and time in use on the current machine. This information is obtained from the machine configured as the NetVault Time Server. For more information about NetVault Time, see the Quest NetVault Backup Administrator’s Guide.

Related Documents