tcp state
[root@hadoop1 log]# netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 hadoop1:56679 157.255.26.152:http TIME_WAIT
tcp 0 0 hadoop1:48651 125.88.219.252:https TIME_WAIT
tcp 0 0 hadoop1:42393 58.211.137.80:http TIME_WAIT
tcp 0 0 hadoop1:56278 163.177.8.49:https TIME_WAIT
tcp 0 0 hadoop1:55955 163.177.8.48:http TIME_WAIT
tcp 0 0 hadoop1:56631 58.22.108.30:http TIME_WAIT
tcp 0 0 hadoop1:47354 117.41.180.211:http TIME_WAIT
tcp 0 0 hadoop1:44787 101.69.206.7:http TIME_WAIT
tcp 0 0 hadoop1:47822 180.163.255.156:https TIME_WAIT
tcp 0 0 hadoop1:55788 163.177.8.48:http TIME_WAIT
tcp 0 0 hadoop1:40458 14.215.167.197:http TIME_WAIT
tcp 0 0 hadoop1:60499 183.61.181.138:http TIME_WAIT
tcp 0 0 hadoop1:33052 163.177.151.81:http TIME_WAIT
tcp 0 0 hadoop1:57363 58.22.108.30:http TIME_WAIT
tcp 0 1 hadoop1:57535 163.177.8.34:http FIN_WAIT1
tcp 0 0 hadoop1:55884 163.177.8.48:http TIME_WAIT
tcp 0 0 hadoop1:38290 202.91.251.98:http TIME_WAIT
tcp 0 0 hadoop1:48229 180.97.63.251:http TIME_WAIT
tcp 0 0 hadoop1:51528 157.255.26.45:http TIME_WAIT
tcp 0 0 hadoop1:44180 123.125.52.0:http TIME_WAIT
tcp 0 0 hadoop1:33227 183.2.192.198:http TIME_WAIT
tcp 0 0 hadoop1:45096 101.69.206.7:http TIME_WAIT
tcp 0 0 hadoop1:38508 202.105.182.54:http TIME_WAIT
tcp 0 0 hadoop1:60255 hn.kd.ny.adsl:http TIME_WAIT
tcp 0 0 hadoop1:37401 203.208.43.123:https TIME_WAIT
tcp 0 0 hadoop1:35159 180.149.132.165:http TIME_WAIT
tcp 0 0 hadoop1:39716 117.21.178.113:http TIME_WAIT
tcp 0 0 hadoop1:46948 2.123.165.124.adsl:http TIME_WAIT
tcp 0 0 hadoop1:55878 222.134.217.6:http TIME_WAIT
tcp 0 0 hadoop1:40644 112.65.69.50:http TIME_WAIT
[root@hadoop1 spider]# xlpy
root 13149 0.0 0.0 113132 1224 ? Ss 10:59 0:00 /bin/sh -c python /home/data/crontab_chk_url/personas/trunk/plugins/spider/chk_url_status_update_tmp_error.py &> /dev/null;
root 13152 1.6 0.4 2993480 80988 ? Sl 10:59 0:56 python /home/data/crontab_chk_url/personas/trunk/plugins/spider/chk_url_status_update_tmp_error.py
root 14455 0.0 0.0 113132 1224 ? Ss 11:00 0:00 /bin/sh -c python /home/data/crontab_chk_url/personas/trunk/plugins/spider/chk_url_status_update_tmp_error.py &> /dev/null;
root 14460 1.4 0.4 2993736 78844 ? Sl 11:00 0:46 python /home/data/crontab_chk_url/personas/trunk/plugins/spider/chk_url_status_update_tmp_error.py
root 29106 0.0 0.0 113132 1224 ? Ss 11:30 0:00 /bin/sh -c python /home/data/crontab_chk_url/personas/trunk/plugins/spider/chk_url_status_insert_tmp_error_30min.py &> /dev/null;
root 29108 0.0 0.2 405260 34012 ? Sl 11:30 0:01 python /home/data/crontab_chk_url/personas/trunk/plugins/spider/chk_url_status_insert_tmp_error_30min.py
[root@hadoop1 spider]# xlpy | cut -c 10-15 | xargs kill -9