SSH Reference Manual
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 sessions, channels and opener are displayed as well. A hierarchy is assumed with SSH2 at 
the top, sessions below and channels below sessions. Openers are displayed below SSH2 as well, when RECURSIVE is 
specified. 
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. 
STATUS SESSION 
Status information about the currently existing ssh sessions in the SSH2 process will be displayed. The command has the 
following syntax: 
STATUS SESSION { <session-id> | *} 
 [,DETAIL] 
 [,WIDTH <width>] 
 [,RECURSIVE] 
 [,LOG-ONLY] 
 [,SELECT ( [<attr>] [, <attr>] ... ) ] 
 [,WHERE ( [<attr-filter>] [, <attr-filter>] ... ) ] 
 [,FILTER-STATISTICS [ 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. 
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 
HP NonStop SSH Reference Manual  SSHCOM Command Reference • 209 










