HP NonStop SSH 544701-014 Reference Manual page 186

Table of Contents

Advertisement

STATUS SESSION { <session-id> | *}
<session-id>
The internally assigned identifier (positive integer) of a session. Alternatively the wild card character '*' can be specified
instead of a session id.
The individual options have the following meaning and syntax:
DETAIL
If the DETAIL flag is set, detailed information is displayed.
WIDTH
The number <width> is the maximum number of characters per output line. If WIDTH is not specified the default value
80 is assumed. In order to avoid a new line when the terminal is configured with line wrapping on, the line will only be
filled with one character less than the specified width.
RECURSIVE
This attribute controls if the channels related to a specific session are displayed after each session. A hierarchy is
assumed with SSH2 at the top, sessions below and channels below sessions. Openers are below SSH2.
LOG-ONLY
Normally the output of the STATUS command will be displayed at the terminal the SSHCOM was started. With LOG-
ONLY flag set, the output will be written to the log file, if logging to a file is enabled.
SELECT
The SELECT option allows defining a specific set of attributes that will be displayed instead of the default attribute set
(there are two default sets, one for detailed output and one for non-detailed output). An attribute name specified for
<attr> must be one of the names displayed in the detailed status output.
WHERE
The WHERE option can be used to filter sessions. Only those sessions that fulfill all listed filter conditions <attr-filter>
will be displayed. Each attribute filter must have the following format (the space characters surrounding the <operator>
field are mandatory):
<attr> <operator> <value>
For information about <attr>, please see under option SELECT. The following operators are supported for <operator>: =,
<> (for not equal), <, <=, > and >=
The value in <value> can be either a string, quoted string or number.
FILTER-STATISTICS
If it is of interest to determine the number of sessions matching the filter conditions, the option FILTER-STATISTICS
can be specified. If the optional ONLY is added, then the status data is not displayed but just the total number of sessions
and the number of matching sessions.
186 • SSHCOM Command Reference
[,DETAIL]
[,WIDTH <width>]
[,RECURSIVE]
[,LOG-ONLY]
[,SELECT ( [<attr>] [, <attr>] ... ) ]
[,WHERE ( [<attr-filter>] [, <attr-filter>] ... ) ]
[,FILTER-STATISTICS [ ONLY ]]
HP NonStop SSH Reference Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents