Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Show which processes are listening to which ports' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Show which processes are listening to which ports
Authored by: johnqsmith on Apr 26, '07 03:53:25PM

that's pretty useless if the state isn't LISTENING (for instance, like , oh, I don't know...ESTABLISHED?) You don't care about what connections are ALL READY going on? OK then, use the suggested command.

lsof -nP | grep TCP
or
lsof -nP | grep UDP

are better by far



[ Reply to This | # ]