Page 1 of 1

pure-ftpd: Anzahl freier Slots abfagen

Posted: 2008-01-27 01:27
by clonecommander
Hi!

Ich wollte mal fragen ob einer von euch weiß, ob ich bei einem pure-ftpd, der auf z.b. 20 slots begrenzet ist, extern abfragen kann, wieviele Slots belegt sind? Gibt es da direkt eine Möglichkeit oder müsste ich mir das was basteln, z.b. über die Anzahl der Prozesse oder so?

Schonmal vielen Dank!

CC

edit: habe mich im Programm geirrt. es ist pure-ftpd und nicht ProFTPd

Re: pure-ftpd: Anzahl freier Slots abfagen

Posted: 2008-01-29 14:00
by clonecommander
keiner 'ne Idee?

Re: pure-ftpd: Anzahl freier Slots abfagen

Posted: 2008-01-29 14:09
by Joe User
Steht dazu nichts in der Doku?

Re: pure-ftpd: Anzahl freier Slots abfagen

Posted: 2008-01-29 14:47
by clonecommander
Ich habe leider nichts gefunden... nur wie es in ps aussieht, was ich ja schon wusste:
When you run 'ps auxw|grep pure-ftpd', the result looks like this:

root 15211 0.1 0.3 1276 452 ? S 13:53 0:00 pure-ftpd [SERVER]
root 15212 0.1 0.5 1340 672 ? S 13:54 0:00 pure-ftpd [IDLE]
root 15214 0.0 0.5 1340 672 ? S 13:56 0:00 pure-ftpd [DOWNLOADING]

[SERVER] is the main server. If you kill this process, the server will exit
after the next connection.
[IDLE] shows a client with no transfer activity.
[DOWNLOADING] shows a client downloading a file.
[UPLOADING] show a client uploading a file.