Various questions (mostly FTP)
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Sun Mar 14 00:56:48 UTC 2004
Am So, den 14.03.2004 schrieb Jwp um 01:44:
> I am more interested in taking a look at what speeds each individual
> connection to my ftp server is getting. IE john and jane are downloading
> how fast am I pushing to john and how fast am I pushing to jane?
>
> My total upstream is around 100 KB/sec. I am a Windows convert and the
> programs I used to host FTP always had a nice little screen showing the
> various connections and the speeds those connections are running, in
> real-time as opposed to checking the logs after the fact.
>
> Thanks,
> JP
Ah! That is much more transparent what you want. :)
It depends on the FTP server you use with which command you see who is
fetching at what speed. Like with pure-ftpd you can do:
watch -n 5 pure-ftpwho
and will get:
Every 5s: pure-ftpwho
-v Sun Mar 14
01:52:57
2004
+------+---------+-------+------+-------------------------------------------+
| PID | Login |For/Spd| What | File/Remote IP/Size(Kb)/Local
IP |
+------+---------+-------+------+-------------------------------------------+
For proftd the command is different and will be:
ftpwho -v
standalone FTP daemon [3251], up for 15 days, 7 hrs 50 min
no users connected
Check that for your FTP server if you use a different one.
Alexander
--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 01:53:49 up 5 days, 2:13, load average: 0.04, 0.20, 0.20
[ Γνωθι σ'αυτον - gnothi seauton ]
my life is a planetarium - and you are the stars
More information about the users
mailing list