31 January 2011

LINUX - netstat

1. Using Netstat to Count TCP Connection States
netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c

2. List TCP/UDP and it's PID
netstat -tuvnap

No comments:

APACHE - failed to start

[On] Red Hat Enterprise Linux Server release 7.4 (Maipo) Apache was not running and attempt to start the httpd service failed. The natural t...