ftpcount.1 revision c10c16dec587a0662068f6e2991c29ed3a9db943
te
Copyright (C) 2001, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
ftpcount 1 "25 Apr 2003" "SunOS 5.11" "User Commands"
NAME
ftpcount - show current number of users in each FTP Server class
SYNOPSIS

ftpcount [-v] [-V]
DESCRIPTION

Use the ftpcount command to show the current number of users logged in and the login limit for each FTP Server class defined in the ftpaccess(4) file.

OPTIONS

The ftpcount command supports the following options:

-v

Display the user counts for FTP Server classes defined in virtual host ftpaccess(4) files.

-V

Display program copyright and version information, then terminate.

EXIT STATUS

The following exit values are returned:

0

Successful completion.

>0

An error occurred.

FILES

/var/run/ftp.pids-classnames

/etc/ftpd/ftpaccess

/etc/ftpd/ftpservers

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityStandard
SEE ALSO

ftpwho(1), in.ftpd(1M), ftpaccess(4), ftpservers(4), attributes(5)

NOTES

For separate class counts to be kept, class names defined in complete virtual host ftpaccess files must be unique.