logo
Manual Pages
Table of Contents

NAME

na_sftp - display SFTP (SSH File Transfer Protocol) statistics.

SYNOPSIS

sftp stat [-z]

DESCRIPTION

The "sftp" command is used to display/reset the SFTP statistics. The command sftp stat [-z] reports the values of three SFTP connection counters: the current number of SFTP connections, the highest number of simultaneous SFTP connections, and the total number of SFTP connections for all the connections. The "-z" option resets the simultaneous connection and total connection counters to zero.

EXAMPLES

Here are some examples using sftp stat: sftp stat
Current connections: 2
Maximum concurrent connections: 2 Total connections: 9 sftp stat -z
Current connections: 2
Maximum concurrent connections: 2 Total connections: 9 SFTP connection counters set to zero

NOTES

The command sftp stat would work for a vfiler only if it is run from the vfiler context (eg. via the command). For example, vfiler run vfiler0 sftp stat
Table of Contents