lsof command


lsof -i tcp:80

COMMAND   PID USER   FD   TYPE  DEVICE SIZE NODE NAME
httpd   21943 root    4u  IPv4 1696756       TCP mysite.com:http (LISTEN)

lsof ตาม Process ID

/usr/sbin/lsof -p 21943 | more

Comments