IP listening

R.L.Reingard list.account at gmx.net
Wed Oct 12 20:01:20 UTC 2005

> Am 12.10.2005, 21:26 Uhr, schrieb Tim Littlemore <tim at tjl2.com>:

>>> On Sat, 2005-10-01 at 10:44 +0200, R.L. Reingard wrote:
>>> hello
>>> i tried commands with $ netstat, but do not get what i like to see. i  
>>> want  to understand what program / utility i have to use to simple get  
>>> to know  the following.
>>> to which IP address(es) the machine is connected at the moment? (nice   
>>> would be if it could be shown continously refreshed)
>>> AND
>>> which IP address does search a connection to the machine at the  
>>> moment?  (and at what door / ports do they knock?)

> Would "sudo watch netstat -tap" do what you want?
> If you don't want the IP addresses resolving to addresses, use "sudo  
> watch netstat -ntap".

thats fine Tim.
watch is a great command indeed.
until now i used
$ watch -d -n1 "netstat -t tcp"
yours is even better for me.
regards, René

More information about the ubuntu-users mailing list