Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pure-mrtginfo(8) [linux man page]

pure-mrtginfo(8)                                                     Pure-FTPd                                                    pure-mrtginfo(8)

NAME
pure-mrtginfo - provide an MRTG-graphable user count for ftpd SYNOPSIS
pure-mrtginfo [server port] DESCRIPTION
Pure-Mrtginfo counts the number of clients currently connected to ftpd(8) and output the format in a format graphable by MRTG. OPTIONS
server port : defaults to 21. FILES
/proc/net/tcp is used to count the connectiont to port 21. /proc/sys/kernel/hostname is used to get the fully qualified hostname. /proc/uptime is used to get the uptime. MRTG
MRTG is a really nice package for graphing router traffic. Mrtg can also graph other information is available via SNMP or by running a program such as pure-mrtginfo. The author of this program uses it to graph CPU load, /var usage etc., and naturally the number of users connected to his FTP servers. See http://oss.oetiker.ch/mrtg/ for more information about MRTG. BUGS
This program only works on GNU/Linux systems yet. HOME PAGE
http://www.pureftpd.org/ AUTHOR AND LICENSE
Written by Arnt Gulbrandsen <agulbra@troll.no> and copyright 1995-2002 Troll Tech AS, Waldemar Thranes gate 98B, N-0175 Oslo, Norway, fax +47 22806380. Pure-FTPd (C)opyleft 2001-2011 by Frank DENIS <j at pureftpd dot org> and the Pure-FTPd team. Use, modification and distribution is allowed without limitation, warranty, or liability of any kind. SEE ALSO
ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-uploadscript(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-authd(8) RFC 959, RFC 2228, RFC 2389 and RFC 2428. Pure-FTPd Team 1.0.36 pure-mrtginfo(8)

Check Out this Related Man Page

pure-quotacheck(8)						     Pure-FTPd							pure-quotacheck(8)

NAME
pure-quotacheck - Update virtual quota files for Pure-FTPd SYNTAX
pure-quotacheck -u username/gid -d home directory [-g group/gid] DESCRIPTION
pure-quotacheck create a .ftpquota file in the specified directory. This file contains the current file and size of the directory, and it is used by Pure-FTPd when virtual quotas are enabled. It's recommended to periodically run pure-quotacheck for every user, in crontabs. OPTIONS
-d <directory> Scans the specified <directory>. -g <group or gid> Sets the group files will be scanned as. This is optional : if a user name is passed to -u</fR>, group are automatically retrieved. -u <user or uid> Set the user name files will be scanned as. This is mandatory, and it can't be "root". -h Output usage information and exit. FILES
.ftpquota EXAMPLES
To run this program the standard way type: pure-quotacheck -u john -d /home/john AUTHORS
Frank DENIS <j at pureftpd dot org> SECURITY
pure-quotacheck switches real and effective uids/gids as soon as possible. Root privileges are never given back. pure-quotacheck refuses to scan directories with uid = 0 (root) or gid = 0 (wheel/root) . pure-quotacheck performs a chroot() call to the home directory. It never traverses parent directories. pure-quotacheck only scans real files (no socket, no pipe, etc) . pure-quotacheck enforces read access on directories to prevent against people doing chmod 0 before a quota scan. pure-quotacheck enforces write access on the home directory to properly write the .ftpquota file. pure-quotacheck never scans the same inode/device pair twice. SEE ALSO
ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-uploadscript(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-authd(8) RFC 959, RFC 2228, RFC 2389 and RFC 2428. Pure-FTPd team 1.0.36 pure-quotacheck(8)
Man Page