LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-27-2011, 11:58 PM   #1
bunnie1
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
lsof -i event based alternative


Hello,

I am trying to see if there is an alternative to lsof -i that is event based. I would like to be notified everytime that a socket is created and what the process (PID) is that created it.

Is there a tool that does this?

Thanks
 
Old 03-28-2011, 12:10 AM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
That would be kind of expensive to do, wouldn't it? Especially for a busy server?
 
Old 03-30-2011, 01:14 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Try inotify http://linux.die.net/man/7/inotify
 
  


Reply

Tags
lsof, sockets


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X-based alternative to Partclone? littlebigman Linux - Software 4 09-01-2010 05:22 AM
Looking for a console based alternative to ZSAFE ? frenchn00b Linux - Software 1 01-20-2010 08:42 PM
LXer: Ubuntu's Upstart event-based init daemon LXer Syndicated Linux News 0 02-08-2008 08:30 AM
Event based task scheduler? beeblequix Linux - Software 1 01-30-2008 11:49 AM
Alternative OS Based Site In Development - Help Needed! KingArchie General 3 06-02-2007 02:31 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration