fire-eyes wrote:
netstat -anp | grep :5060
More useful would be lsof (emerge lsof)
lsof -n | grep :5060
Why do you say, that lsof is more useful?
[EMAIL PROTECTED] ~/Desktop $ sudo netstat -anp | grep 514
udp 0 0 0.0.0.0:514 0.0.0.0:*
7050/syslog-ng
[EMAIL PROTECTED] ~/Desktop $ lsof -n | grep :514
[EMAIL PROTECTED] ~/Desktop $ sudo lsof -n | grep :514
[EMAIL PROTECTED] ~/Desktop $
So, with my test case, netstat returned me the program which
is listening on port 514/udp. lsof showed nothing.
Alexander Skwar
--
Polymer physicists are into chains.
--
gentoo-user@gentoo.org mailing list