Ich möchte gerne meine offenen FTP Sessions auf meinem Server zählen.
Als FTP Server verwende ich ProFTPD, dieser startet für jeden User einen eigenen Prozess, das weiß ich. Das heißt ich muss irgendwie die offenen ProFTPD Prozesse zählen.
So sehen die Protesse bei der Eingabe von ps -A in der Konsole aus:
Die Frage ist: Wie?
Mfg
Max
Als FTP Server verwende ich ProFTPD, dieser startet für jeden User einen eigenen Prozess, das weiß ich. Das heißt ich muss irgendwie die offenen ProFTPD Prozesse zählen.
So sehen die Protesse bei der Eingabe von ps -A in der Konsole aus:
10288 ? 00:00:00 in.proftpd
10289 ? 00:00:00 in.proftpd
10290 ? 00:00:00 in.proftpd
10291 ? 00:00:00 in.proftpd
10292 ? 00:00:00 in.proftpd
10293 ? 00:00:00 in.proftpd
10294 ? 00:00:00 in.proftpd
10296 ? 00:00:00 in.proftpd
10297 ? 00:00:00 in.proftpd
10300 ? 00:00:00 in.proftpd
10301 ? 00:00:00 in.proftpd
10302 ? 00:00:00 in.proftpd
10303 ? 00:00:00 in.proftpd
10304 ? 00:00:00 in.proftpd
10306 ? 00:00:00 in.proftpd
10308 ? 00:00:00 in.proftpd
10312 ? 00:00:00 in.proftpd
10289 ? 00:00:00 in.proftpd
10290 ? 00:00:00 in.proftpd
10291 ? 00:00:00 in.proftpd
10292 ? 00:00:00 in.proftpd
10293 ? 00:00:00 in.proftpd
10294 ? 00:00:00 in.proftpd
10296 ? 00:00:00 in.proftpd
10297 ? 00:00:00 in.proftpd
10300 ? 00:00:00 in.proftpd
10301 ? 00:00:00 in.proftpd
10302 ? 00:00:00 in.proftpd
10303 ? 00:00:00 in.proftpd
10304 ? 00:00:00 in.proftpd
10306 ? 00:00:00 in.proftpd
10308 ? 00:00:00 in.proftpd
10312 ? 00:00:00 in.proftpd
Mfg
Max
Kommentar