[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CLosing Ports



Grrrg, I hate to be picky, no I don't ;-).

What Seth said is good but use RE with grep and make sure you only get
what you want.

fstat | grep '111$'

Otherwise you'll also pickup inodes that match 111.

diana

On Sat, 18 Nov 2000, Seth Arnold wrote:

> $ fstat | grep 113
> root     inetd      10869    6* internet stream tcp 0xe0a99b00 *:113
> $ fstat | grep 111
> root     portmap     7343    3* internet dgram udp *:111
> root     portmap     7343    4* internet dgram udp 127.0.0.1:111
> root     portmap     7343    5* internet stream tcp 0xe0a02500 *:111
> root     portmap     7343    6* internet stream tcp 0xe0a02200 127.0.0.1:111
> 
> The fstat(1) command will let you figure out all sorts of fun things.