Monday, February 11, 2013

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

No comments:

Post a Comment

VirtualHost HTTP redirect to HTTPS

<VirtualHost *:80>     ServerName www.example.com     Redirect / https://www.example.com/ </VirtualHost> <VirtualHos...