Linux ftpcount Command
The Linux ftpcount command is used to display the number of users currently logged in via FTP.
Pass ftpcount, system administrators can quickly see how many users are currently using the FTP service and which FTP server instances they are connected to.
ftpcount is usually used together with wu-ftpd or proftpd and other FTP server software.
Syntax
ftpcount [选项]
Parameter Description:
- -f
: specify the path of the configuration file. -hor--help: display help information and exit.-vor--version: display version information and exit.
Example
ftpcount can directly query the number of users on the FTP server; use the following command:
ftpcount #查询当前FTP用户的人数
After running this command,ftpcount output similar to the following is produced:
Service class local - 2 users (no maximum)
Service class remote - 1 users (no maximum)
In this example,ftpcount It shows user connections for two service classes:
localclass has 2 user connections.remoteclass has 1 user connection.
Linux Command Reference