1 '\" te 2 .\" Copyright (C) 2001, Sun Microsystems, Inc. All Rights Reserved 3 .\" 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. 4 .\" 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. 5 .\" 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] 6 .TH FTPCOUNT 1 "Apr 25, 2003" 7 .SH NAME 8 ftpcount \- show current number of users in each FTP Server class 9 .SH SYNOPSIS 10 .LP 11 .nf 12 \fBftpcount\fR [\fB-v\fR] [\fB-V\fR] 13 .fi 14 15 .SH DESCRIPTION 16 .sp 17 .LP 18 Use the \fBftpcount\fR command to show the current number of users logged in 19 and the login limit for each FTP Server class defined in the \fBftpaccess\fR(4) 20 file. 21 .SH OPTIONS 22 .sp 23 .LP 24 The \fBftpcount\fR command supports the following options: 25 .sp 26 .ne 2 27 .na 28 \fB\fB-v\fR\fR 29 .ad 30 .RS 6n 31 Display the user counts for FTP Server classes defined in virtual host 32 \fBftpaccess\fR(4) files. 33 .RE 34 35 .sp 36 .ne 2 37 .na 38 \fB\fB-V\fR\fR 39 .ad 40 .RS 6n 41 Display program copyright and version information, then terminate. 42 .RE 43 44 .SH EXIT STATUS 45 .sp 46 .LP 47 The following exit values are returned: 48 .sp 49 .ne 2 50 .na 51 \fB\fB0\fR \fR 52 .ad 53 .RS 6n 54 Successful completion. 55 .RE 56 57 .sp 58 .ne 2 59 .na 60 \fB>\fB0\fR\fR 61 .ad 62 .RS 6n 63 An error occurred. 64 .RE 65 66 .SH FILES 67 .sp 68 .LP 69 \fB/var/run/ftp.pids-\fIclassnames\fR\fR 70 .sp 71 .LP 72 \fB/etc/ftpd/ftpaccess\fR 73 .sp 74 .LP 75 \fB/etc/ftpd/ftpservers\fR 76 .SH ATTRIBUTES 77 .sp 78 .LP 79 See \fBattributes\fR(5) for descriptions of the following attributes: 80 .sp 81 82 .sp 83 .TS 84 box; 85 c | c 86 l | l . 87 ATTRIBUTE TYPE ATTRIBUTE VALUE 88 _ 89 Interface Stability Standard 90 .TE 91 92 .SH SEE ALSO 93 .sp 94 .LP 95 \fBftpwho\fR(1), \fBin.ftpd\fR(1M), \fBftpaccess\fR(4), \fBftpservers\fR(4), 96 \fBattributes\fR(5) 97 .SH NOTES 98 .sp 99 .LP 100 For separate class counts to be kept, class names defined in complete virtual 101 host \fBftpaccess\fR files must be unique.