﻿{"id":498,"date":"2020-08-12T06:40:49","date_gmt":"2020-08-11T22:40:49","guid":{"rendered":"https:\/\/byy3.com\/?p=498"},"modified":"2021-01-09T10:14:01","modified_gmt":"2021-01-09T02:14:01","slug":"linux%e6%9f%a5%e6%89%be%e7%ab%af%e5%8f%a3%e5%8d%a0%e7%94%a8%e8%bf%9b%e7%a8%8b%e5%8f%b7%e5%92%8c%e5%bc%ba%e5%88%b6%e5%85%b3%e9%97%ad%e7%ab%af%e5%8f%a3%e5%8d%a0%e7%94%a8%e8%bf%9b%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/byy3.com\/?p=498","title":{"rendered":"linux\u67e5\u627e\u7aef\u53e3\u5360\u7528\u8fdb\u7a0b\u53f7\u548c\u5f3a\u5236\u5173\u95ed\u7aef\u53e3\u5360\u7528\u8fdb\u7a0b"},"content":{"rendered":"<p>\u67e5\u627e\u5e76\u5173\u95ed\u8fdb\u7a0b<br \/>\n\u5728Linux\u7cfb\u7edf\u4e2d\u53ef\u4ee5\u4f7f\u7528lsof\u547d\u4ee4\u548ckill\u547d\u4ee4\uff0c\u4e24\u4e2a\u547d\u4ee4\u914d\u5408\u67e5\u627e\u5e76\u5173\u95ed\u5360\u7528\u7aef\u53e3\u7684\u8fdb\u7a0b<\/p>\n<p>\u67e5\u770b\u67d0\u4e00\u7aef\u53e3\u4f7f\u7528\u60c5\u51b5\u7684\u547d\u4ee4\uff1a<\/p>\n<p>lsof -i:\u7aef\u53e3\u53f7<br \/>\n1<br \/>\nnetstat -nap | grep \u7aef\u53e3\u53f7<br \/>\n1<br \/>\n\u6548\u679c\u5982\u4e0b\uff0cPID\u5373\u8fdb\u7a0b\u7684ID<\/p>\n<p>\u8fd9\u91cc\u5199\u56fe\u7247\u63cf\u8ff0<\/p>\n<p>\u6839\u636ePID\u5173\u95ed\u8fdb\u7a0b\uff0c\u4f7f\u7528\u547d\u4ee4\uff1a<\/p>\n<p>kill -9 \u8fdb\u7a0b\u53f7<br \/>\n1<br \/>\nlsof\u547d\u4ee4\u51fa\u9519<br \/>\n\u5982\u679c\u4f7f\u7528lsof\u547d\u4ee4\u65f6\u51fa\u73b0\u5982\u4e0b\u6240\u793a\u62a5\u9519\uff0c\u8bf4\u660elsof\u547d\u4ee4\u672a\u5b89\u88c5<\/p>\n<p>\u8fd9\u91cc\u5199\u56fe\u7247\u63cf\u8ff0<\/p>\n<p>\u6267\u884c\u547d\u4ee4yum install lsof \u547d\u4ee4\u5b89\u88c5lsof<\/p>\n<p>kill -9 1683<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u67e5\u627e\u5e76\u5173\u95ed\u8fdb\u7a0b \u5728Linux\u7cfb\u7edf\u4e2d\u53ef\u4ee5\u4f7f\u7528lsof\u547d\u4ee4\u548ckill\u547d\u4ee4\uff0c\u4e24\u4e2a\u547d\u4ee4\u914d\u5408\u67e5\u627e\u5e76\u5173\u95ed\u5360\u7528\u7aef\u53e3\u7684\u8fdb\u7a0b \u67e5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,1],"tags":[353],"class_list":["post-498","post","type-post","status-publish","format-standard","hentry","category-linux","category-net-security","tag-linux"],"_links":{"self":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=498"}],"version-history":[{"count":0,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/498\/revisions"}],"wp:attachment":[{"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}