Scanning the bus – HP Library and Tape Tools User Manual
Page 62

system installation directory and
required when L&TT is run from
removable media, such as a USB flash
drive or CD.
When running L&TT from the system
installation directory, if dirpath is
specified and instname is not
specified, the L&TT runtime files will be
created in the dirpath directory.
Otherwise, if dirpath is specified, the
L&TT runtime files will be created in
<dirpath>/logs_<instance
name>
.
hp_ltt -f password=”my password” iohistory=disable
iomode=NTMP
Example
Scanning the bus
L&TT can be launched from the command line to scan the bus. Output of the
scan is written to the saved_scan.txt file in the L&TT root directory. In L&TT
Description
4.12 and newer versions the scan results are also displayed to the terminal.
This file is overwritten each time a scan is performed. The output is written in
the following format:
<device path>:<vendor ID>:<product ID>:<firmware version>
The device path varies depending on the operating system. The device path is
specified with the p= parameter when running a ticket, test, or firmware upload.
The password and iohistory parameters are optional. I/O mode cannot
be set while doing the scan; it must be set before performing the scan.
hp_ltt -f scan [iohistory=enable|disable]
[instname=<instance name>] [dirpath=<directory path>]
Syntax
Optional. Specify enabled or
disabled
. When enabled, L&TT
iohistory
Parameters
generates a detailed event log that
captures all L&TT diagnostic interaction,
all SCSI commands sent and received
by the program, and any software
interactions or issues. If an invalid value
is provided, L&TT retains the existing
setting.
Specify a name for this instance of
L&TT. This parameter is optional for the
instname
first instance of L&TT and required for
all other instances of L&TT. If this
parameter is supplied, the log files from
this instance will be created in a
logs_<instance name>
folder in
the logs folder of the L&TT installation
directory or directory specified by
dirpath
.
Specify the absolute path for the
temporary directory used by L&TT for
dirpath
its runtime files. This parameter is
optional when L&TT is run from the
system installation directory and
required when L&TT is run from
removable media, such as a USB flash
drive or CD.
When running L&TT from the system
installation directory, if dirpath is
62
Command line functionality