SSH Reference Manual

WHERE
The WHERE option can be used to filter openers. Only those openers 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 openers 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 openers
and the number of matching openers.
Statistics Related Commands
Sometimes it is of interest to investigate the activity of ssh sessions in more detail, e.g. to view progress of file transfers.
The progress feature can be enabled for each individual sftp session at the sftp prompt. With the introduction of the
STATISTICS SESSION command the activity of all sessions handled by an SSH2 process can be displayed.
The commands ENABLE STATISTICS and DISABLE STATISTICS allow switching on and off the gathering of
statistics data. Other commands are STATUS STATISTICS and RESET STATISTICS.
STATISTICS SESSION
The SSHCOM command has the following syntax:
{STATISTICS | STATS} SESSION { <session-id> | *}
[,DETAIL]
[,WIDTH <width>]
[,LOG-ONLY]
<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.
LOG-ONLY
Normally the output of the STATS 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.
212 SSHCOM Command Reference HP NonStop SSH Reference Manual