This service aid may be run directly from the AIX command line. The following usage
statement describes the syntax of the command (path is
/usr/lpp/diagnostics/bin/utape):
Usage:
utape [-h | -?] [-d <device>] [-n | -l | -t]
or
utape -c -d <device> [-v] {-n | {-l | -t} { -D | -f [<filename>]}}
Flag Description
-c Run the service aid without displaying menus. The return code indicates
success or failure. The output is suppressed except for the usage
statement and the numeric value for hours since cleaned (if -n and -D
flags are used).
-D Copy data to diskette.
-f Copy data to the filename given after this flag or to a default filename if
no name is specified.
-h, -? Display a usage statement and/or return code. If the -c flag is present,
only the return code displays to indicate the service aid did not run. If the
-c isn't used, a usage statement displays and the service aid exits.
-l Display or copy log sense information.
-n Display time since drive was last cleaned.
-t Copy trace table.
-v Verbose mode. If the -c flag is present, the information displays on the
screen. If the -n flag is present, the information about tape head cleaning
is printed.
Spare Sector Availability
This selection checks the number of spare sectors available on the optical disk. The
spare sectors are used to reassign when defective sectors are encountered during
normal usage or during a format and certify operation. Low availability of spare
sectors shows that the disk needs to be backed up and replaced. Formatting the
disk does not improve the availability of spare sectors.
This task may be run directly from the AIX command line. The following usage
statement describes the syntax of the command:
Usage:
Chapter 9. Introduction to Tasks and Service Aids 9-35