[NCSA-discuss] Connecting Ports and Servers
Craig Cook
cncook001 at yahoo.com
Wed Jul 24 12:44:09 EDT 2013
Try this:
netstat -Aan |grep <port number>
lsof -i :port number
eg
netstat -Aan | grep 32779
lsof -i :32779
Craig
________________________________
From: Brian McCullough <bdmc at buadh-brath.com>
To: Triangle Linux Users Group discussion list <trilug at trilug.org>
Cc: NC*SA Discussion List <ncsa-discussion at ncsysadmin.org>
Sent: Wednesday, July 24, 2013 12:31 PM
Subject: [NCSA-discuss] Connecting Ports and Servers
I am trying to determine what process is responsible for a Listening
Port in an AIX machine. When I use "netstat -aon" I get a lot of
information, but I don't seem to see a PID. The output looks something
like:
tcp 0 0 *.32779 *.* LISTEN
so_options: (ACCEPTCONN|REUSEADDR)
q0len:0 qlen:0 qlimit:500 so_state: (PRIV)
timeo:0 uid:0
so_special: (LOCKBALE|MEMCOMPRESS|ACCEPT|DISABLE)
so_special2: (PROC)
sndbuf:
hiwat:16384 lowat:4096 mbcnt:0 mbmax:65536
rcvbuf:
hiwat:16384 lowat:1 mbcnt:0 mbmax:65536
TCP:
mss:1460
Any suggestions?
Thanks,
Brian
_______________________________________________
ncsa-discussion mailing list
ncsa-discussion at ncsysadmin.org
http://www.ncsysadmin.org/mailman/listinfo/ncsa-discussion
More information about the ncsa-discussion
mailing list