1pure-mrtginfo(8) Pure-FTPd pure-mrtginfo(8)
2
3
4
6 pure-mrtginfo - provide an MRTG-graphable user count for ftpd
7
8
10 pure-mrtginfo [server port]
11
12
14 Pure-Mrtginfo counts the number of clients currently connected to
15 ftpd(8) and output the format in a format graphable by MRTG.
16
17
19 server port: defaults to 21.
20
21
23 /proc/net/tcp
24 is used to count the connectiont to port 21.
25
26 /proc/sys/kernel/hostname
27 is used to get the fully qualified hostname.
28
29 /proc/uptime
30 is used to get the uptime.
31
32
34 MRTG is a really nice package for graphing router traffic. Mrtg can
35 also graph other information is available via SNMP or by running a pro‐
36 gram such as pure-mrtginfo. The author of this program uses it to
37 graph CPU load, /var usage etc., and naturally the number of users con‐
38 nected to his FTP servers. See
39 http://oss.oetiker.ch/mrtg/
40 for more information about MRTG.
41
42
44 This program only works on GNU/Linux systems yet.
45
46
48 http://www.pureftpd.org/
49
50
52 Written by Arnt Gulbrandsen <agulbra@troll.no> and copyright 1995-2002
53 Troll Tech AS, Waldemar Thranes gate 98B, N-0175 Oslo, Norway, fax +47
54 22806380.
55
56 Pure-FTPd (C)opyleft 2001-2019 by Frank DENIS <j at pureftpd dot org>.
57
58 Use, modification and distribution is allowed without limitation, war‐
59 ranty, or liability of any kind.
60
61
63 ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-upload‐
64 script(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-
65 authd(8) pure-certd(8)
66
67 RFC 959, RFC 2228, RFC 2389 and RFC 2428.
68
69
70
71Frank Denis 1.0.49 pure-mrtginfo(8)