View previous topic :: View next topic |
Author |
Message |
tofudealer n00b
Joined: 24 Dec 2003 Posts: 18
|
Posted: Thu Dec 25, 2003 12:06 am Post subject: is there ways to monitor the ftp server? |
|
|
hi
i installed gentoo and using it for my webserver and my ftp server (proftp). i would like to know if there is a way to monitor my ftp server, incoming traffic or outgoing traffic. also is there logs files? |
|
Back to top |
|
|
li1_getoo l33t
Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Thu Dec 25, 2003 2:53 am Post subject: |
|
|
cd /var/log and lokk there for it |
|
Back to top |
|
|
tofudealer n00b
Joined: 24 Dec 2003 Posts: 18
|
Posted: Thu Dec 25, 2003 6:16 am Post subject: |
|
|
thanks for the help
but i have another question, is there a command to delete the log files? |
|
Back to top |
|
|
Vyeperman Tux's lil' helper
Joined: 18 Dec 2003 Posts: 89
|
Posted: Thu Dec 25, 2003 6:50 am Post subject: |
|
|
# rm <your file>
? _________________ -Vyeperman |
|
Back to top |
|
|
tofudealer n00b
Joined: 24 Dec 2003 Posts: 18
|
Posted: Thu Dec 25, 2003 10:09 am Post subject: |
|
|
i kind of know what rm (remove) but i want to delete the file inside (the logs). i used vim to look at the logs but i really dont know how to use vim, but if there is a easy way to delete the logs on /var/logs/xferlog i would like to know. thanks for the help and yes i am a n00b! |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Thu Dec 25, 2003 10:30 am Post subject: |
|
|
If you mean to clear the log:
Code: |
# echo > /var/log/file_you_want_to_clear
|
|
|
Back to top |
|
|
tofudealer n00b
Joined: 24 Dec 2003 Posts: 18
|
Posted: Thu Dec 25, 2003 10:25 pm Post subject: |
|
|
sweet!
that command help out!
thanks again |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20583
|
Posted: Fri Dec 26, 2003 6:49 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|