root@server [~]# netstat -plan | grep :80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 19931/httpd
tcp 0 0 127.0.0.1:80 127.0.0.1:46098 TIME_WAIT -
tcp 0 1 67.222.146.227:39274 128.61.111.9:80 SYN_SENT 13289/python
If LISTEN then UP
« Prev:Find and replace string using VI editor Find FTP details:Next »