[SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread bill
What I'm looking for - if it exists - is a GUI for LSOF that updates in real-time. Under Winblows ( some time ago now) I had such a tool - one that showed connected IP, port and program name. Don't remember what it was called. Is there such a program for Linux? I've googled and found many mo

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Penedo
On 29/12/06, bill <[EMAIL PROTECTED]> wrote: What I'm looking for - if it exists - is a GUI for LSOF that updates in real-time. Under Winblows ( some time ago now) I had such a tool - one that showed connected IP, port and program name. Don't remember what it was called. I usually associate

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Zhasper
On 12/29/06, Penedo <[EMAIL PROTECTED]> wrote: On 29/12/06, bill <[EMAIL PROTECTED]> wrote: > > What I'm looking for - if it exists - is a GUI for LSOF that updates in > real-time. > > Under Winblows ( some time ago now) I had such a tool - one that showed > connected IP, port and program name. D

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Penedo
On 29/12/06, Zhasper <[EMAIL PROTECTED]> wrote: Under linux, sockets are files, so lsof does show sockets as well. I know lsof can monitor also network connections but that's not because "sockets are files". UNIX-domain sockets, which are usually uninteresting, indeed occupy i-nodes on filesy

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Matthew Hannigan
On Fri, Dec 29, 2006 at 11:24:23AM +1100, bill wrote: > What I'm looking for - if it exists - is a GUI for LSOF that updates in > real-time. > > Under Winblows ( some time ago now) I had such a tool - one that showed > connected IP, port and program name. Don't remember what it was called. > >

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Zhasper
On 12/29/06, Penedo <[EMAIL PROTECTED]> wrote: On 29/12/06, Zhasper <[EMAIL PROTECTED]> wrote: > > Under linux, sockets are files, so lsof does show sockets as well. I know lsof can monitor also network connections but that's not because "sockets are files". From the lsof man page: An ope

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Penedo
On 29/12/06, Zhasper <[EMAIL PROTECTED]> wrote: From the lsof man page: > An open file may be a regular file, a directory, a block special file, a character special file, an > executing text reference, a library, a stream or a network file (Internet socket, NFS file or UNIX > domain socket.)

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Penedo
On 29/12/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote: On Fri, Dec 29, 2006 at 11:24:23AM +1100, bill wrote: > What I'm looking for - if it exists - is a GUI for LSOF that updates in > real-time. > > Under Winblows ( some time ago now) I had such a tool - one that showed > connected IP, port a

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Matthew Hannigan
On Fri, Dec 29, 2006 at 03:13:13PM +1100, Penedo wrote: > On 29/12/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote: > > > >On Fri, Dec 29, 2006 at 11:24:23AM +1100, bill wrote: > >> What I'm looking for - if it exists - is a GUI for LSOF that updates in > >> real-time. > >> > >> Under Winblows ( som

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Penedo
On 29/12/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote: Something based on inotify or similar must be around somewhere That was exactly what I though when I read Bill's original question (after all, Bill mentioned lsof) but it looks like Bill is interested in network traffic and inotify only

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-28 Thread Julio Cesar Ody
All in all, if you have Ruby installed, you can always use the builtin GUI for lsof. Just run: $ ruby -rtk -e 'r=TkRoot.new{title"LSOF GUI"};t=TkText.new(r);t.pack;u=Thread.start{loop{t.value=`sudo lsof`;sleep 2}};Tk.mainloop' In a single line, of course. Happy new year. f/p On 12/29/06, Pe

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-29 Thread Tony Sceats
That ("Internet socket") is lsof-specific definition. well, not really - sockets occupy a file descriptor like ordinary files do, so in effect it's seen as a file to a process - have a look in /proc//fd/ to see what file descriptors sockets occupy How are you defining "file"? Would "somethin