Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
is there ways to monitor the ftp server?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tofudealer
n00b
n00b


Joined: 24 Dec 2003
Posts: 18

PostPosted: Thu Dec 25, 2003 12:06 am    Post subject: is there ways to monitor the ftp server? Reply with quote

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
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Thu Dec 25, 2003 2:53 am    Post subject: Reply with quote

cd /var/log and lokk there for it :D
Back to top
View user's profile Send private message
tofudealer
n00b
n00b


Joined: 24 Dec 2003
Posts: 18

PostPosted: Thu Dec 25, 2003 6:16 am    Post subject: Reply with quote

thanks for the help
but i have another question, is there a command to delete the log files?
Back to top
View user's profile Send private message
Vyeperman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 89

PostPosted: Thu Dec 25, 2003 6:50 am    Post subject: Reply with quote

# rm <your file>

?
_________________
-Vyeperman
Back to top
View user's profile Send private message
tofudealer
n00b
n00b


Joined: 24 Dec 2003
Posts: 18

PostPosted: Thu Dec 25, 2003 10:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Sven Vermeulen
Retired Dev
Retired Dev


Joined: 29 Aug 2002
Posts: 1345
Location: Mechelen, Belgium

PostPosted: Thu Dec 25, 2003 10:30 am    Post subject: Reply with quote

If you mean to clear the log:
Code:

# echo > /var/log/file_you_want_to_clear
Back to top
View user's profile Send private message
tofudealer
n00b
n00b


Joined: 24 Dec 2003
Posts: 18

PostPosted: Thu Dec 25, 2003 10:25 pm    Post subject: Reply with quote

sweet!
that command help out!
thanks again
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20583

PostPosted: Fri Dec 26, 2003 6:49 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum