Web Hosting Talk







View Full Version : ftp command


wll6568
10-01-2004, 05:34 AM
Is there a command to list current active ftp sessions? It;s a Linux box.

iprotein
10-01-2004, 05:37 AM
netstat | grep ftp

wll6568
10-01-2004, 05:45 AM
That prints out thigns that I have no idea what they mean....hm~~

iprotein
10-01-2004, 05:54 AM
Please try this command: man netstat ( type q to quit)
It would show something about the command netstat.
Hope this can help you.

dgram
10-01-2004, 08:32 AM
NAME
ftpwho - show current process information for each FTP session

wll6568
10-13-2004, 02:48 AM
Why is that when I am downloading files over ftp from my server, and I run ftpwho -f <scoreboardfile> , it says no user connected at the moment. hm~~~ how come?...

turbosvs
10-14-2004, 03:28 AM
wll6568:

try:
ps aux|grep ftpd
or
ps aux|egrep ftp

i hope this help you.

wll6568
10-14-2004, 04:22 AM
Thanks, Turbosvs!

Do you know how to create anonymous users with proftpd? I've tried pasting in the <Anonymous ~...> column given in the example into my proftpd.conf, but never work. It just complains 530 login error. I was wondering if that conflicts with Direct Admin?

turbosvs
10-14-2004, 04:45 AM
Try to check out on google:

put like:

anonymous users on proftpd

will show you some pages that can help you :)

wll6568
10-14-2004, 10:28 PM
for pu aux|egrep ftp, could u explain each fields, what they mean?

>ftp 2751 0.0 0.2 2468 916 ? S 10:26 0:00 proftpd: 221.232.89.52:2647: USER free

for this, i know the user free is downloading via ftp, and thats his ip, but what are 2751 0.0 0.2 2468 and 916??

>ftp 2753 0.0 0.1 2472 668 ? S 10:26 0:00 proftpd: connected: 221.232.89.52 (221.232.89.52:2649

and what about this, why doesnt it show the user?...

Thanks.

Angelo
10-15-2004, 04:57 AM
2751 - process id
0.0 - % cpu usage
0.2 - % mem usage
2468 - vsz size of the core image in kb
916 - rss real memory size of process
? - tty workstation of the process (unknown here)
S - stat - sleeping