HP NonStop SSH Reference Manual
SSHCOM Command Reference
•
189
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.
DISABLE STATISTICS
Disables gathering of statistics data.
Syntax:
DISABLE {STATISTICS | STATS}
ENABLE STATISTICS
Enables gathering of statistics data.
Syntax:
ENABLE {STATISTICS | STATS}
RESET STATISTICS
Resets statistics counters/rates.
Summary of Contents for NonStop SSH 544701-014
Page 12: ...xii Contents HP NonStop SSH Reference Manual ...
Page 24: ...24 Preface HP NonStop SSH Reference Manual ...
Page 30: ...30 Introduction HP NonStop SSH Reference Manual ...
Page 46: ...46 Installation Quick Start HP NonStop SSH Reference Manual ...
Page 132: ...132 The SSH User Database HP NonStop SSH Reference Manual ...
Page 214: ...214 SSH and SFTP Client Reference HP NonStop SSH Reference Manual ...
Page 278: ...278 STN Reference HP NonStop SSH Reference Manual ...
Page 298: ...298 Monitoring and Auditing HP NonStop SSH Reference Manual ...
Page 302: ...302 Performance Considerations HP NonStop SSH Reference Manual ...