Logging a tnsvu session to a file, Logging a, Tnsvu session to a file – HP Integrity NonStop H-Series User Manual

Page 17: Logging, A tnsvu session to a file

Advertising
background image

Using TNSVU

TNSVU User’s Guide528143-003

3 -3

Logging a TNSVU Session to a File

command

specifies a command as summarized in

TNSVU Commands

on page 2-1.

If you enter a command name that TNSVU does not recognize, TNSVU displays an
error and returns you to its command prompt where you can enter another command.
For example, suppose you type the command HELLO:

> HELLO

*** Could not recognize the command: HELLO
(type “help” for summary)
>

Logging a TNSVU Session to a File

TNSVU allows you to record all commands and output to a text file. TNSVU can record
session information to only one log file at a time. If you want to send material to a
different log file during a session, TNSVU closes the first log file and then records
commands and output to the second file. Following a TNSVU session, you can print
out the contents of a log file.

Use the LOG command to open a text file that will receive all text written to the screen
(including typed commands) during a TNSVU session. You can specify an existing file
or, if the file name does not exist, TNSVU creates it. If you specify an existing file,
TNSVU overwrites the contents of the existing file.

filename

is the name of a new or existing text file.

Use the LOGAPPEND command to append all text written to the screen (including
typed commands) during a TNSVU session at the end of an existing file.

filename

is the name of an existing text file.

You must enter a filename when you use the LOG and LOGAPPEND commands.
Failure to enter a filename closes the log file without ending the TNSVU session.

Use the ENDLOG command to end the log session, close the log file, and continue the
TNSVU session.

LOG [filename]

LOGAPPEND [filename]

ENDLOG

Advertising
This manual is related to the following products: