View previous topic :: View next topic |
Author |
Message |
tofudealer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
li1_getoo l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/461639001403e7b6e1b04f.gif)
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 ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tofudealer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Vyeperman Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 18 Dec 2003 Posts: 89
|
Posted: Thu Dec 25, 2003 6:50 am Post subject: |
|
|
# rm <your file>
? _________________ -Vyeperman |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tofudealer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Sven Vermeulen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d5e02e493e22b9c75ed22.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
tofudealer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Fri Dec 26, 2003 6:49 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|