TMF Reference Manual (G06.24+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-002
3-312
!
If you use the ! command without a line number or text string, TMFCOM re-executes
the last command you entered.
You can use the TMFCOM HISTORY command to display the line numbers associated
with the most recently entered TMFCOM commands. Only commands currently stored
in the command history buffer are displayed, and only those can be re-executed by the
! command.
Examples
The following example shows how to immediately view and re-execute the command
that was issued on line 8 of the current TMFCOM session:
TMF 10> !8
TMF 10> STATUS TMF
TMF Status:
System: \FOXII, Time: 09-Dec-2003 16:11:14
State: started
Transaction Rate: 0.00 TPS
AuditTrail Status:
Master
Active audit trail capacity used: 30%
First pinned file: $AUDIT.ZTMFAT.AA000342
Reason: Current File
Current file: $AUDIT.ZTMFAT.AA000342
AuditDump Status:
Master: State: enabled, Status: inactive
BeginTrans Status: ENABLED
Catalog Status:
Status: up
TMF 11>
The next example demonstrates how to re-execute the command that was entered four
lines ago:
TMF 11> !-4
TMF 11> STATUS CATALOG
Catalog Status:
Status: up
TMF 12>
The following command re-executes the last command that includes the string
“VIOLET”:
TMF 12>!"VIOLET"
TMF 12> INFO DATAVOLS $VIOLET
Volume Audit Trail Recovery Mode
------------------------------------------
$VIOLET Master Online
TMF 13>