os x and netstat
Bill Campbell
linux-sxs at celestial.com
Mon Nov 12 12:03:27 PST 2007
On Mon, Nov 12, 2007, Jason Joines wrote:
> I'm a Linux sysadmin but just took a job where I inherited a bunch
>of os x boxes. One of the differences I've noticed is that netstat
>doesn't display all of the applications listening on network ports. It
>does display some and I'm not sure how it picks which ones to display.
>Does anyone know if this is just an os x thing or do the BSD's do this
>as well?
First, are you running this as root?
I often use ``lsof -n -i | grep LISTEN'' to see this on OS X,
Linux, and FreeBSD systems as it gives information on the process
listening on the ports.
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
Never chastise a Windows user...just smile at them kindly as you would a
disadvantaged child. WBM
More information about the Linux-users
mailing list