SSH Reference Manual
STOP SESSION <session-name> | *
The specified session, or all active sessions, will be terminated.
STOP WINDOW <#window-name> | *
The specified window, or all configured windows, will be stopped. If a session is active on the window, it will be
immediately terminated. Dynamic windows and automatically added windows will be deleted. The window will no
longer be available for new sessions. Use START WINDOW to resume normal operation. This command is not
normally used.
TIME
Displays the current date and time.
TRACE
This command controls writing of a trace to a disk file. The GTRED utility that is distributed in the SSH subvolume can
be used to format the trace:
GTRED / in <trace-file> , OUT <list-file> /
GTRED formats EMS events recorded in the trace file using Guardian procedure EMSTEXT. EMSTEXT by default
uses the system template file, which may not contain the latest STN templates which are provided in the STN release
subvol file ZSTNTMPL. To use templates from an alternate location, use the same DEFINE as is used by EMSDIST
before running GTRED:
delete define =_ems_templates
add define =_EMS_TEMPLATES,FILE
$SYSTEM.STNB20.ZSTNTMPL
The TRACE command has the following syntax:
TRACE { ? | OFF | RESET | [ON] filename [ ,size] }
?
Displays the current status and setting of the trace file and all parameters.
OFF
Stops the trace.
RESET
Resets the trace file pointers, effectively restarting the trace, but without the overhead of closing and reopening the trace
file.
ON filename [,size]
Starts a trace on the specified unstructured disk file. The filename should be fully qualified; if it is not qualified, the
default volume and subvolume in effect at the time the STN application was started are used, not the defaults from the
STNCOM startup. If the file name does NOT begin with $ or \, the keyword ON is required. A file of the specified size
will be created. If a trace is already open, it is first closed. The trace file can specify the same name as an already active
trace file. In that case, the trace file is rewritten. The TRACE RESET command is more efficient for this purpose. Size
determines the byte length of the trace file. The number can be followed by the letter K (kilobytes) which multiplies by
1,024, or the letter M (megabytes) which multiplies by 1,048,576. The default is 100K. The minimum is 12K and the
maximum is 25M.
Starting with STN version B20, STN trace files are secured "OOOO" and CLEARONPURGE to better protect any
sensitive data. Trace files, which are created by explicit STNCOM command or a PARAM at STN startup, contain all
data to and from the remote terminals, including sensitive data like passwords. Even when SSL or SSH encryption is
used to protect the data in motion, the data is unencrypted in trace files. Always follow best practices with trace files.
280 • STN Reference HP NonStop SSH Reference Manual