{"id":12485,"date":"2025-04-18T19:37:41","date_gmt":"2025-04-18T11:37:41","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/12485.html"},"modified":"2025-04-18T19:37:41","modified_gmt":"2025-04-18T11:37:41","slug":"linux-%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%9b%e7%a8%8b%e3%80%81%e7%ab%af%e5%8f%a3%e6%9f%a5%e6%89%be%ef%bc%8cnginx-%e9%85%8d%e7%bd%ae%e6%97%a5%e5%bf%97%e6%9f%a5%e6%89%be%ef%bc%8clsof-%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/12485.html","title":{"rendered":"linux \u670d\u52a1\u5668\u8fdb\u7a0b\u3001\u7aef\u53e3\u67e5\u627e\uff0cnginx \u914d\u7f6e\u65e5\u5fd7\u67e5\u627e\uff0clsof \u547d\u4ee4\u8be6\u89e3"},"content":{"rendered":"<h2>\u4e00 \u3001\u6839\u636e\u7aef\u53e3\u53f7 \u67e5\u770b\u6587\u4ef6\u7684\u90e8\u7f72\u4f4d\u7f6e<\/h2>\n<h4>1.1 \u4f7f\u7528\u67e5\u770b\u7aef\u53e3\u53f7\u5bf9\u5e94\u7684\u8fdb\u7a0b\u4fe1\u606f<\/h4>\n<ul>\n<li>\u65b9\u5f0f\u4e00 &#xff1a; \u4f7f\u7528netstat\u547d\u4ee4<\/li>\n<\/ul>\n<p><span class=\"token function\">netstat<\/span> <span class=\"token parameter variable\">-tuln<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> \u7aef\u53e3\u53f7<\/p>\n<ul>\n<li>\n<p>-t&#xff1a;\u663e\u793aTCP\u8fde\u63a5<\/p>\n<\/li>\n<li>\n<p>-u&#xff1a;\u663e\u793aUDP\u8fde\u63a5<\/p>\n<\/li>\n<li>\n<p>-l&#xff1a;\u4ec5\u663e\u793a\u76d1\u542c\u72b6\u6001\u7684\u8fde\u63a5<\/p>\n<\/li>\n<li>\n<p>-n&#xff1a;\u4ee5\u6570\u5b57\u5f62\u5f0f\u663e\u793a\u7aef\u53e3\u53f7&#xff0c;\u800c\u4e0d\u662f\u4ee5\u670d\u52a1\u540d\u79f0\u663e\u793a<\/p>\n<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u7ba1\u9053\u7b26\u53f7|\u5c06netstat\u7684\u8f93\u51fa\u7ed3\u679c\u4f20\u9012\u7ed9grep\u547d\u4ee4&#xff0c;\u7528\u4e8e\u8fc7\u6ee4\u51fa\u5305\u542b\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u884c\u3002<\/p>\n<p>\u6267\u884c\u547d\u4ee4\u540e&#xff0c;\u7ec8\u7aef\u5c06\u663e\u793a\u4e0e\u8be5\u7aef\u53e3\u53f7\u76f8\u5173\u7684\u8fdb\u7a0b\u4fe1\u606f&#xff0c;\u5305\u62ec\u8fdb\u7a0bID&#xff08;PID&#xff09;\u548c\u8fdb\u7a0b\u540d\u79f0\u3002<\/p>\n<ul>\n<li>\u65b9\u6cd5\u4e8c&#xff1a;\u4f7f\u7528lsof\u547d\u4ee4<\/li>\n<\/ul>\n<p><span class=\"token function\">lsof<\/span> <span class=\"token parameter variable\">-i<\/span> :\u7aef\u53e3\u53f7<\/p>\n<ul>\n<li>\n<p>-i&#xff1a;\u663e\u793a\u4e0e\u7f51\u7edc\u76f8\u5173\u7684\u6587\u4ef6<\/p>\n<\/li>\n<li>\n<p>:\u7aef\u53e3\u53f7&#xff1a;\u8fc7\u6ee4\u51fa\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u7ed3\u679c<\/p>\n<\/li>\n<\/ul>\n<p>\u6267\u884c\u547d\u4ee4\u540e&#xff0c;\u7ec8\u7aef\u5c06\u663e\u793a\u4e0e\u8be5\u7aef\u53e3\u53f7\u76f8\u5173\u7684\u8fdb\u7a0b\u4fe1\u606f&#xff0c;\u5305\u62ec\u8fdb\u7a0bID&#xff08;PID&#xff09;\u548c\u8fdb\u7a0b\u540d\u79f0\u3002<\/p>\n<h4>2. \u901a\u8fc7\u8fdb\u7a0bpid \u67e5\u8be2\u5bf9\u5e94\u7684\u90e8\u7f72\u6587\u4ef6\u7684\u8fdb\u7a0b\u6587\u4ef6\u4f4d\u7f6e<\/h4>\n<ul>\n<li>\u65b9\u5f0f\u4e00 \u4f7f\u7528\/proc\/pid \u67e5\u770b\u8fdb\u7a0b\u7684\u6587\u4ef6\u7684\u4f4d\u7f6e<\/li>\n<\/ul>\n<p>ll <span class=\"token operator\">\/<\/span>proc<span class=\"token operator\">\/<\/span><span class=\"token constant\">PID<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113739-68023983bace1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>cwd\u7b26\u53f7\u94fe\u63a5\u7684\u662f\u8fdb\u7a0b\u8fd0\u884c\u76ee\u5f55&#xff1b;<\/p>\n<p>exe\u7b26\u53f7\u8fde\u63a5\u5c31\u662f\u6267\u884c\u7a0b\u5e8f\u7684\u7edd\u5bf9\u8def\u5f84&#xff1b;<\/p>\n<p>cmdline\u5c31\u662f\u7a0b\u5e8f\u8fd0\u884c\u65f6\u8f93\u5165\u7684\u547d\u4ee4\u884c\u547d\u4ee4&#xff1b;<\/p>\n<p>environ\u8bb0\u5f55\u4e86\u8fdb\u7a0b\u8fd0\u884c\u65f6\u7684\u73af\u5883\u53d8\u91cf&#xff1b;<\/p>\n<p>fd\u76ee\u5f55\u4e0b\u662f\u8fdb\u7a0b\u6253\u5f00\u6216\u4f7f\u7528\u7684\u6587\u4ef6\u7684\u7b26\u53f7\u8fde\u63a5\u3002<\/p>\n<ul>\n<li>\u65b9\u5f0f\u4e8c \u901a\u8fc7<\/li>\n<\/ul>\n<p>ps <span class=\"token operator\">&#8211;<\/span>ef <span class=\"token operator\">|<\/span>grep \u670d\u52a1\u540d<\/p>\n<p>\u663e\u793a\u670d\u52a1\u7684\u542f\u52a8\u53c2\u6570 \u670d\u52a1\u540d &#xff0c;\u8fdb\u7a0bpid \u8fdb\u7a0b\u4f4d\u7f6e<\/p>\n<h2>\u4e8c \u3001\u6839\u636e\u8fdb\u7a0bpid \u67e5\u8be2\u5360\u7528\u7684\u670d\u52a1 \u7aef\u53e3<\/h2>\n<h3>1\u3001netstat\u547d\u4ee4<\/h3>\n<p>\u4f7f\u7528netstat\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u7cfb\u7edf\u7684\u7f51\u7edc\u8fde\u63a5\u548c\u76d1\u542c\u60c5\u51b5\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528netstat\u547d\u4ee4\u67e5\u770b\u7a0b\u5e8f\u5360\u7528\u7aef\u53e3\u53f7\u7684\u793a\u4f8b&#xff1a;<\/p>\n<p>netstat -tunlp | grep&lt;\u8fdb\u7a0b\u540d\u6216PID&gt;<\/p>\n<p>\u8be5\u547d\u4ee4\u5c06\u5217\u51fa\u6240\u6709\u6b63\u5728\u76d1\u542c\u548c\u5efa\u7acb\u7684TCP\u548cUDP\u8fde\u63a5&#xff0c;\u5e76\u7b5b\u9009\u51fa\u4e0e\u6307\u5b9a\u8fdb\u7a0b\u76f8\u5173\u7684\u7aef\u53e3\u53f7\u4fe1\u606f\u3002<\/p>\n<h3>2\u3001lsof\u547d\u4ee4<\/h3>\n<p>lsof\u547d\u4ee4\u53ef\u4ee5\u5217\u51fa\u7cfb\u7edf\u5f53\u524d\u6253\u5f00\u7684\u6587\u4ef6\u548c\u8fdb\u7a0b\u4fe1\u606f\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528lsof\u547d\u4ee4\u67e5\u770b\u7a0b\u5e8f\u5360\u7528\u7aef\u53e3\u53f7\u7684\u793a\u4f8b&#xff1a;<\/p>\n<p>lsof -i :&lt;\u7aef\u53e3\u53f7&gt;<\/p>\n<p>lsof -i TCP:&lt;\u7aef\u53e3\u53f7&gt;<\/p>\n<p>lsof -i UDP:&lt;\u7aef\u53e3\u53f7&gt;<\/p>\n<p>\u8be5\u547d\u4ee4\u5c06\u5217\u51fa\u6240\u6709\u5360\u7528\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u8fdb\u7a0b\u4fe1\u606f\u3002<\/p>\n<h3>3\u3001ss\u547d\u4ee4<\/h3>\n<p>ss\u662fnetstat\u7684\u66ff\u4ee3\u5de5\u5177&#xff0c;\u63d0\u4f9b\u66f4\u5feb\u901f\u548c\u9ad8\u6548\u7684\u7f51\u7edc\u8fde\u63a5\u4fe1\u606f\u67e5\u8be2\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528ss\u547d\u4ee4\u67e5\u770b\u7a0b\u5e8f\u5360\u7528\u7aef\u53e3\u53f7\u7684\u793a\u4f8b&#xff1a;<\/p>\n<p>ss -tuln | grep &lt;\u8fdb\u7a0b\u540d\u6216PID&gt;<\/p>\n<p>\u8be5\u547d\u4ee4\u5c06\u5217\u51fa\u6240\u6709\u6b63\u5728\u76d1\u542c\u548c\u5efa\u7acb\u7684TCP\u548cUDP\u8fde\u63a5&#xff0c;\u5e76\u7b5b\u9009\u51fa\u4e0e\u6307\u5b9a\u8fdb\u7a0b\u76f8\u5173\u7684\u7aef\u53e3\u53f7\u4fe1\u606f\u3002<\/p>\n<h3>4\u3001\/proc\u6587\u4ef6\u7cfb\u7edf<\/h3>\n<p>Linux\u7cfb\u7edf\u4e2d&#xff0c;\u6bcf\u4e2a\u8fd0\u884c\u7684\u8fdb\u7a0b\u90fd\u6709\u4e00\u4e2a\u5bf9\u5e94\u7684\u76ee\u5f55\u5728\/proc\u76ee\u5f55\u4e0b&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u8bbf\u95ee\u8fd9\u4e9b\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\u83b7\u53d6\u76f8\u5173\u4fe1\u606f\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528\/proc\u6587\u4ef6\u7cfb\u7edf\u67e5\u770b\u7a0b\u5e8f\u5360\u7528\u7aef\u53e3\u53f7\u7684\u793a\u4f8b&#xff1a;<\/p>\n<p>ls -l \/proc\/\/fd | grep socket<\/p>\n<p>\u5176\u4e2d&#xff0c;\u4e3a\u8fdb\u7a0b\u7684PID&#xff0c;\u8be5\u547d\u4ee4\u5c06\u5217\u51fa\u6307\u5b9a\u8fdb\u7a0b\u7684\u6253\u5f00\u7684\u5957\u63a5\u5b57\u6587\u4ef6\u94fe\u63a5&#xff0c;\u4ece\u4e2d\u53ef\u4ee5\u83b7\u53d6\u7aef\u53e3\u53f7\u3002<\/p>\n<p>\u6216\u5219\u4f7f\u7528pwdx \u547d\u4ee4 \u67e5\u770b\u8fdb\u7a0b\u542f\u52a8\u65f6\u7684\u5de5\u4f5c\u76ee\u5f55<\/p>\n<p>pwdx \u547d\u4ee4\u4e3b\u8981\u7528\u4e8e\u67e5\u770b\u5f53\u524dpid\u8fdb\u7a0b\u542f\u52a8\u65f6\u7684\u5de5\u4f5c\u76ee\u5f55&#xff0c;\u5176\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b&#xff1a;<\/p>\n<p>pwdx pid<span class=\"token punctuation\">..<\/span>.<\/p>\n<p><span class=\"token punctuation\">[<\/span>oracle&#064;Oracle ~<span class=\"token punctuation\">]<\/span>$ pwdx <span class=\"token number\">2778<\/span><span class=\"token comment\">#\u8fd9\u6837\u6211\u4eec\u5c31\u77e5\u9053\u4e862778\u8fd9\u4e2a\u8fdb\u7a0b\u53f7\u662f\u5c5e\u4e8eOracle\u7684<\/span><br \/>\n<span class=\"token number\">2778<\/span>: \/u01\/app\/oracle\/product\/12.1.0.2\/db_1\/dbs<br \/>\n<span class=\"token punctuation\">[<\/span>oracle&#064;Oracle ~<span class=\"token punctuation\">]<\/span>$ <\/p>\n<h3>4. \u65b9\u5f0f \u4e09<\/h3>\n<p>https:\/\/blog.csdn.net\/tjcwt2011\/article\/details\/129390090 \u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4<\/p>\n<p>ss&#xff1a;\u53ef\u4ee5\u7528\u4e8e\u8f6c\u50a8\u5957\u63a5\u5b57\u7edf\u8ba1\u4fe1\u606f\u3002<\/p>\n<p>netstat&#xff1a;\u53ef\u4ee5\u663e\u793a\u6253\u5f00\u7684\u5957\u63a5\u5b57\u5217\u8868\u3002<\/p>\n<p>lsof&#xff1a;\u53ef\u4ee5\u5217\u51fa\u6253\u5f00\u7684\u6587\u4ef6\u3002<\/p>\n<p>fuser&#xff1a;\u53ef\u4ee5\u5217\u51fa\u90a3\u4e9b\u6253\u5f00\u4e86\u6587\u4ef6\u7684\u8fdb\u7a0b\u7684\u8fdb\u7a0b ID\u3002<\/p>\n<p>nmap&#xff1a;\u662f\u7f51\u7edc\u68c0\u6d4b\u5de5\u5177\u548c\u7aef\u53e3\u626b\u63cf\u7a0b\u5e8f\u3002<\/p>\n<p>systemctl&#xff1a;\u662f systemd \u7cfb\u7edf\u7684\u63a7\u5236\u7ba1\u7406\u5668\u548c\u670d\u52a1\u7ba1\u7406\u5668\u3002<\/p>\n<p>\u4ee5\u4e0b\u6211\u4eec\u5c06\u627e\u51fa sshd \u5b88\u62a4\u8fdb\u7a0b\u6240\u4f7f\u7528\u7684\u7aef\u53e3\u53f7\u3002<\/p>\n<h2>\u4e09 \u3001nginx \u901a\u8fc7\u7aef\u53e3\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u548c\u65e5\u5fd7<\/h2>\n<h3>\u67e5\u770b\u914d\u7f6e<\/h3>\n<h4>1. \u67e5\u770bnginx\u7684\u8fdb\u7a0bid<\/h4>\n<p><span class=\"token comment\">#\u67e5\u8be2nginx\u662f9000\u7aef\u53e3\u7684PID<\/span><br \/>\n<span class=\"token function\">netstat<\/span> <span class=\"token parameter variable\">-lntup<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token number\">9000<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113739-68023983d4658.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2. \u67e5\u8be2\u5bf9\u5e94\u7aef\u53e3\u7684nginx\u8def\u5f84<\/h4>\n<p>ll \/proc\/pid\/<\/p>\n<p>ll <span class=\"token operator\">\/<\/span>proc<span class=\"token operator\">\/<\/span><span class=\"token number\">15029<\/span><span class=\"token operator\">\/<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113740-68023984086ba.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>\u5728nginx \u6267\u884c\u76ee\u5f55\u4e0b\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u7684\u76ee\u5f55<\/h4>\n<p>\u4f7f\u7528-t\u53c2\u6570\u83b7\u53d6\u6539\u8fdb\u7a0b\u5bf9\u5e94\u7684\u914d\u7f6e\u6587\u4ef6\u8def\u5f84<\/p>\n<p>\/usr\/local\/nginx\/sbin\/nginx <span class=\"token parameter variable\">-t<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113740-680239842ed90.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>nginx \u670d\u52a1\u547d\u4ee4<\/h3>\n<p><span class=\"token comment\">#\u542f\u52a8<\/span><br \/>\nsbin\/nginx <span class=\"token parameter variable\">-s<\/span> start<br \/>\n<span class=\"token comment\">#\u505c\u6b62<\/span><br \/>\nsbin\/nginx <span class=\"token parameter variable\">-s<\/span> stop<br \/>\n<span class=\"token comment\">#\u91cd\u542f<\/span><br \/>\nsbin\/nginx <span class=\"token parameter variable\">-s<\/span> reload<\/p>\n<h3>nginx \u7684\u65e5\u5fd7<\/h3>\n<p>\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;Nginx \u670d\u52a1\u5668\u4f1a\u5c06\u8bbf\u95ee\u65e5\u5fd7\u8bb0\u5f55\u5230 access.log \u4e2d&#xff0c;\u9519\u8bef\u65e5\u5fd7\u8bb0\u5f55\u5230 error.log \u4e2d\u3002<\/p>\n<ul>\n<li>access.log \u4e3b\u8981\u7528\u4e8e\u76d1\u63a7 Web \u8bf7\u6c42&#xff0c;<\/li>\n<li>error.log \u5219\u7528\u4e8e\u8bca\u65ad Web \u670d\u52a1\u5668\u7684\u9519\u8bef\u548c\u95ee\u9898<\/li>\n<\/ul>\n<p>Nginx \u65e5\u5fd7\u6587\u4ef6\u7684\u914d\u7f6e\u53ef\u4ee5\u5728 Nginx \u914d\u7f6e\u6587\u4ef6\u4e2d\u8fdb\u884c\u3002\u4ee5\u4e0b\u662f\u51e0\u4e2a\u5e38\u7528\u7684\u914d\u7f6e\u9009\u9879&#xff1a;<\/p>\n<p>access_log&#xff1a;\u6307\u5b9a\u8bbf\u95ee\u65e5\u5fd7\u6587\u4ef6\u7684\u8def\u5f84\u548c\u540d\u79f0&#xff0c;\u53ef\u4ee5\u5305\u542b\u53d8\u91cf\u548c\u65f6\u95f4\u683c\u5f0f\u3002\u4f8b\u5982&#xff1a;<\/p>\n<p>access_log \/var\/log\/nginx\/access.log main_log<span class=\"token punctuation\">;<\/span><\/p>\n<p>\u4e0a\u8ff0\u914d\u7f6e\u5c06\u8bbf\u95ee\u65e5\u5fd7\u6587\u4ef6\u4fdd\u5b58\u5728 \/var\/log\/nginx\/access.log \u4e2d&#xff0c;\u4f7f\u7528 main_log \u4f5c\u4e3a\u65f6\u95f4\u683c\u5f0f\u3002<\/p>\n<li>error_log&#xff1a;\u6307\u5b9a\u9519\u8bef\u65e5\u5fd7\u6587\u4ef6\u7684\u8def\u5f84\u548c\u540d\u79f0\u3002\u4f8b\u5982&#xff1a;<\/li>\n<p>error_log \/var\/log\/nginx\/error.log info<span class=\"token punctuation\">;<\/span><\/p>\n<h2>\u56db\u3001lsof \u547d\u4ee4\u8be6\u89e3<\/h2>\n<h3>lsof \u547d\u4ee4<\/h3>\n<p><span class=\"token function\">lsof<\/span> -i:8080&#xff1a;\u67e5\u770b8080\u7aef\u53e3\u5360\u7528<br \/>\n<span class=\"token function\">lsof<\/span> abc.txt&#xff1a;\u663e\u793a\u5f00\u542f\u6587\u4ef6abc.txt\u7684\u8fdb\u7a0b<br \/>\n<span class=\"token function\">lsof<\/span> <span class=\"token parameter variable\">-c<\/span> abc&#xff1a;\u663e\u793aabc\u8fdb\u7a0b\u73b0\u5728\u6253\u5f00\u7684\u6587\u4ef6<br \/>\n<span class=\"token function\">lsof<\/span> <span class=\"token parameter variable\">-c<\/span> <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">1234<\/span>&#xff1a;\u5217\u51fa\u8fdb\u7a0b\u53f7\u4e3a1234\u7684\u8fdb\u7a0b\u6240\u6253\u5f00\u7684\u6587\u4ef6<br \/>\n<span class=\"token function\">lsof<\/span> <span class=\"token parameter variable\">-g<\/span> gid&#xff1a;\u663e\u793a\u5f52\u5c5egid\u7684\u8fdb\u7a0b\u60c5\u51b5<br \/>\n<span class=\"token function\">lsof<\/span> &#043;d \/usr\/local\/&#xff1a;\u663e\u793a\u76ee\u5f55\u4e0b\u88ab\u8fdb\u7a0b\u5f00\u542f\u7684\u6587\u4ef6<br \/>\n<span class=\"token function\">lsof<\/span> &#043;D \/usr\/local\/&#xff1a;\u540c\u4e0a&#xff0c;\u4f46\u662f\u4f1a\u641c\u7d22\u76ee\u5f55\u4e0b\u7684\u76ee\u5f55&#xff0c;\u65f6\u95f4\u8f83\u957f<br \/>\n<span class=\"token function\">lsof<\/span> <span class=\"token parameter variable\">-d<\/span> <span class=\"token number\">4<\/span>&#xff1a;\u663e\u793a\u4f7f\u7528fd\u4e3a4\u7684\u8fdb\u7a0b<br \/>\n<span class=\"token function\">lsof<\/span> <span class=\"token parameter variable\">-i<\/span> -U&#xff1a;\u663e\u793a\u6240\u6709\u6253\u5f00\u7684\u7aef\u53e3\u548cUNIX domain\u6587\u4ef6<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113740-6802398447a3c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>netstat \u547d\u4ee4<\/h3>\n<p>-a \u663e\u793a\u6240\u6709\u8fde\u63a5 -t \u663e\u793atcp\u8fde\u63a5 -u \u663e\u793audp\u8fde\u63a5 -l \u663e\u793a\u76d1\u542c\u7aef\u53e3\u7684\u94fe\u63a5 -p \u663e\u793a\u76d1\u542c\u7aef\u53e3\u5bf9\u5e94\u7684\u7a0b\u5e8f -n \u7981\u6b62\u5c06\u7aef\u53e3\u53f7\u8f6c\u6362\u6210\u522b\u540d\u663e\u793a<\/p>\n<h4>netstat \u8fc7\u6ee4\u76d1\u542c\u72b6\u6001\u7684UDP\u7aef\u53e3<\/h4>\n<p><span class=\"token function\">netstat<\/span> -lup<span class=\"token operator\">|<\/span><span class=\"token function\">grep<\/span> <span class=\"token number\">323<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113740-680239846961a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8bf4\u660e&#xff1a;<\/p>\n<p>323&#xff1a;\u4ee3\u8868\u8981\u8fc7\u6ee4\u7684\u7aef\u53e3\u53f7<\/p>\n<p>lup&#xff1a;\u4e09\u4e2a\u53c2\u6570\u8868\u793a\u663e\u793aUDP\u7aef\u53e3\u76d1\u542c\u72b6\u6001\u7684\u7a0b\u5e8f\u540d\u79f0<\/p>\n<p>grep&#xff1a;\u6839\u636e\u7aef\u53e3\u53f7\u5230\u8fc7\u6ee4<\/p>\n<p>netstat \u8fc7\u6ee4\u76d1\u542c\u72b6\u6001\u7684TCP\u7aef\u53e3<\/p>\n<p>netstat <span class=\"token operator\">&#8211;<\/span>ltnp<span class=\"token operator\">|<\/span>grep <span class=\"token number\">22<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113740-68023984768b2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8bf4\u660e&#xff1a;<\/p>\n<p>22&#xff1a;\u4ee3\u8868\u8981\u8fc7\u6ee4\u7684\u7aef\u53e3\u53f7<\/p>\n<p>ltnp&#xff1a;\u56db\u4e2a\u53c2\u6570\u8868\u793a\u663e\u793aTCP\u7aef\u53e3\u76d1\u542c\u72b6\u6001\u7684\u7a0b\u5e8f\u540d\u79f0<\/p>\n<p>grep&#xff1a;\u6839\u636e\u7aef\u53e3\u53f7\u5230\u8fc7\u6ee4<\/p>\n<p>netstat \u8fc7\u6ee4\u76d1\u542c\u72b6\u6001\u7684TCP\u7aef\u53e3\u522b\u540d<\/p>\n<p>netstat <span class=\"token operator\">&#8211;<\/span>ltp<span class=\"token operator\">|<\/span>grep ssh<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113740-6802398484305.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<p>22&#xff1a;\u4ee3\u8868\u8981\u8fc7\u6ee4\u7684\u7aef\u53e3\u53f7<\/p>\n<p>ltp&#xff1a;\u4e09\u4e2a\u53c2\u6570\u8868\u793a\u663e\u793aTCP\u7aef\u53e3\u522b\u540d\u76d1\u542c\u72b6\u6001\u7684\u7a0b\u5e8f\u540d\u79f0<\/p>\n<p>grep&#xff1a;\u6839\u636e\u7aef\u53e3\u522b\u540d\u5230\u8fc7\u6ee4<\/p>\n<p>netstat \u547d\u4ee4\u8fd4\u56de\u503c\u8bf4\u660e<\/p>\n<p>netstat -anp<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113740-68023984925b5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8bf4\u660e&#xff1a;<\/p>\n<p>Proto&#xff1a;\u4ee3\u8868\u534f\u8bae&#xff08;tcp\u3001tcp6\u3001udp\u3001udp6&#xff09;<\/p>\n<p>Recv-Q&#xff1a;\u6570\u636e\u5df2\u7ecf\u5728\u672c\u5730\u63a5\u6536\u7f13\u51b2,\u4f46\u662f\u8fd8\u6ca1\u6709recv()<\/p>\n<p>Send-Q&#xff1a;\u5bf9\u65b9\u6ca1\u6709\u6536\u5230\u7684\u6570\u636e\u6216\u8005\u8bf4\u6ca1\u6709Ack\u7684,\u8fd8\u662f\u672c\u5730\u7f13\u51b2\u533a<\/p>\n<p>Local Address: \u672c\u5730IP:\u672c\u5730\u7aef\u53e3<\/p>\n<p>Foreign Address: \u8fdc\u7a0bIP:\u8fdc\u7a0b\u7aef\u53e3<\/p>\n<p>State&#xff1a;\u94fe\u63a5\u72b6\u6001&#xff08;\u76d1\u542c\u72b6\u6001\u3001\u5efa\u7acb\u8fde\u63a5\u72b6\u6001\u7b49&#xff09;<\/p>\n<p>PID&#xff1a;\u8fdb\u7a0bPID\u53f7<\/p>\n<p>Program name&#xff1a;\u7a0b\u5e8f\u540d\u5b57<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5w\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf22\u6b21\u3002t\uff1a\u663e\u793aTCP\u8fde\u63a5-u\uff1a\u663e\u793aUDP\u8fde\u63a5-l\uff1a\u4ec5\u663e\u793a\u76d1\u542c\u72b6\u6001\u7684\u8fde\u63a5-n\uff1a\u4ee5\u6570\u5b57\u5f62\u5f0f\u663e\u793a\u7aef\u53e3\u53f7\uff0c\u800c\u4e0d\u662f\u4ee5\u670d\u52a1\u540d\u79f0\u663e\u793a\u901a\u8fc7\u7ba1\u9053\u7b26\u53f7|\u5c06netstat\u7684\u8f93\u51fa\u7ed3\u679c\u4f20\u9012\u7ed9grep\u547d\u4ee4\uff0c\u7528\u4e8e\u8fc7\u6ee4\u51fa\u5305\u542b\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u884c\u3002\u6267\u884c\u547d\u4ee4\u540e\uff0c\u7ec8\u7aef\u5c06\u663e\u793a\u4e0e\u8be5\u7aef\u53e3\u53f7\u76f8\u5173\u7684\u8fdb\u7a0b\u4fe1\u606f\uff0c\u5305\u62ec\u8fdb\u7a0bID\uff08PID\uff09\u548c\u8fdb\u7a0b\u540d\u79f0\u3002-i\uff1a\u663e\u793a\u4e0e\u7f51\u7edc\u76f8\u5173\u7684\u6587\u4ef6:\u7aef\u53e3\u53f7\uff1a\u8fc7\u6ee4\u51fa\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u7ed3\u679c\u6267\u884c\u547d\u4ee4\u540e\uff0c\u7ec8\u7aef\u5c06\u663e\u793a\u4e0e\u8be5\u7aef\u53e3\u53f7\u76f8\u5173\u7684\u8fdb\u7a0b\u4fe1\u606f\uff0c\u5305\u62ec\u8fdb\u7a0bID\uff08PID\uff09\u548c\u8fdb\u7a0b\u540d\u79f0\u3002_lsof -i:\u7aef\u53e3\u53f7<\/p>\n","protected":false},"author":2,"featured_media":12476,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,117,43],"topic":[],"class_list":["post-12485","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-nginx","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>linux \u670d\u52a1\u5668\u8fdb\u7a0b\u3001\u7aef\u53e3\u67e5\u627e\uff0cnginx \u914d\u7f6e\u65e5\u5fd7\u67e5\u627e\uff0clsof \u547d\u4ee4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/12485.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"linux \u670d\u52a1\u5668\u8fdb\u7a0b\u3001\u7aef\u53e3\u67e5\u627e\uff0cnginx \u914d\u7f6e\u65e5\u5fd7\u67e5\u627e\uff0clsof \u547d\u4ee4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5w\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf22\u6b21\u3002t\uff1a\u663e\u793aTCP\u8fde\u63a5-u\uff1a\u663e\u793aUDP\u8fde\u63a5-l\uff1a\u4ec5\u663e\u793a\u76d1\u542c\u72b6\u6001\u7684\u8fde\u63a5-n\uff1a\u4ee5\u6570\u5b57\u5f62\u5f0f\u663e\u793a\u7aef\u53e3\u53f7\uff0c\u800c\u4e0d\u662f\u4ee5\u670d\u52a1\u540d\u79f0\u663e\u793a\u901a\u8fc7\u7ba1\u9053\u7b26\u53f7|\u5c06netstat\u7684\u8f93\u51fa\u7ed3\u679c\u4f20\u9012\u7ed9grep\u547d\u4ee4\uff0c\u7528\u4e8e\u8fc7\u6ee4\u51fa\u5305\u542b\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u884c\u3002\u6267\u884c\u547d\u4ee4\u540e\uff0c\u7ec8\u7aef\u5c06\u663e\u793a\u4e0e\u8be5\u7aef\u53e3\u53f7\u76f8\u5173\u7684\u8fdb\u7a0b\u4fe1\u606f\uff0c\u5305\u62ec\u8fdb\u7a0bID\uff08PID\uff09\u548c\u8fdb\u7a0b\u540d\u79f0\u3002-i\uff1a\u663e\u793a\u4e0e\u7f51\u7edc\u76f8\u5173\u7684\u6587\u4ef6:\u7aef\u53e3\u53f7\uff1a\u8fc7\u6ee4\u51fa\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u7ed3\u679c\u6267\u884c\u547d\u4ee4\u540e\uff0c\u7ec8\u7aef\u5c06\u663e\u793a\u4e0e\u8be5\u7aef\u53e3\u53f7\u76f8\u5173\u7684\u8fdb\u7a0b\u4fe1\u606f\uff0c\u5305\u62ec\u8fdb\u7a0bID\uff08PID\uff09\u548c\u8fdb\u7a0b\u540d\u79f0\u3002_lsof -i:\u7aef\u53e3\u53f7\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/12485.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T11:37:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113739-68023983bace1.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/12485.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/12485.html\",\"name\":\"linux \u670d\u52a1\u5668\u8fdb\u7a0b\u3001\u7aef\u53e3\u67e5\u627e\uff0cnginx \u914d\u7f6e\u65e5\u5fd7\u67e5\u627e\uff0clsof \u547d\u4ee4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T11:37:41+00:00\",\"dateModified\":\"2025-04-18T11:37:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/12485.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/12485.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/12485.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"linux \u670d\u52a1\u5668\u8fdb\u7a0b\u3001\u7aef\u53e3\u67e5\u627e\uff0cnginx \u914d\u7f6e\u65e5\u5fd7\u67e5\u627e\uff0clsof \u547d\u4ee4\u8be6\u89e3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"linux \u670d\u52a1\u5668\u8fdb\u7a0b\u3001\u7aef\u53e3\u67e5\u627e\uff0cnginx \u914d\u7f6e\u65e5\u5fd7\u67e5\u627e\uff0clsof \u547d\u4ee4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/12485.html","og_locale":"zh_CN","og_type":"article","og_title":"linux \u670d\u52a1\u5668\u8fdb\u7a0b\u3001\u7aef\u53e3\u67e5\u627e\uff0cnginx \u914d\u7f6e\u65e5\u5fd7\u67e5\u627e\uff0clsof \u547d\u4ee4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5w\u6b21\uff0c\u70b9\u8d5e4\u6b21\uff0c\u6536\u85cf22\u6b21\u3002t\uff1a\u663e\u793aTCP\u8fde\u63a5-u\uff1a\u663e\u793aUDP\u8fde\u63a5-l\uff1a\u4ec5\u663e\u793a\u76d1\u542c\u72b6\u6001\u7684\u8fde\u63a5-n\uff1a\u4ee5\u6570\u5b57\u5f62\u5f0f\u663e\u793a\u7aef\u53e3\u53f7\uff0c\u800c\u4e0d\u662f\u4ee5\u670d\u52a1\u540d\u79f0\u663e\u793a\u901a\u8fc7\u7ba1\u9053\u7b26\u53f7|\u5c06netstat\u7684\u8f93\u51fa\u7ed3\u679c\u4f20\u9012\u7ed9grep\u547d\u4ee4\uff0c\u7528\u4e8e\u8fc7\u6ee4\u51fa\u5305\u542b\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u884c\u3002\u6267\u884c\u547d\u4ee4\u540e\uff0c\u7ec8\u7aef\u5c06\u663e\u793a\u4e0e\u8be5\u7aef\u53e3\u53f7\u76f8\u5173\u7684\u8fdb\u7a0b\u4fe1\u606f\uff0c\u5305\u62ec\u8fdb\u7a0bID\uff08PID\uff09\u548c\u8fdb\u7a0b\u540d\u79f0\u3002-i\uff1a\u663e\u793a\u4e0e\u7f51\u7edc\u76f8\u5173\u7684\u6587\u4ef6:\u7aef\u53e3\u53f7\uff1a\u8fc7\u6ee4\u51fa\u6307\u5b9a\u7aef\u53e3\u53f7\u7684\u7ed3\u679c\u6267\u884c\u547d\u4ee4\u540e\uff0c\u7ec8\u7aef\u5c06\u663e\u793a\u4e0e\u8be5\u7aef\u53e3\u53f7\u76f8\u5173\u7684\u8fdb\u7a0b\u4fe1\u606f\uff0c\u5305\u62ec\u8fdb\u7a0bID\uff08PID\uff09\u548c\u8fdb\u7a0b\u540d\u79f0\u3002_lsof -i:\u7aef\u53e3\u53f7","og_url":"https:\/\/www.wsisp.com\/helps\/12485.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T11:37:41+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418113739-68023983bace1.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/12485.html","url":"https:\/\/www.wsisp.com\/helps\/12485.html","name":"linux \u670d\u52a1\u5668\u8fdb\u7a0b\u3001\u7aef\u53e3\u67e5\u627e\uff0cnginx \u914d\u7f6e\u65e5\u5fd7\u67e5\u627e\uff0clsof \u547d\u4ee4\u8be6\u89e3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T11:37:41+00:00","dateModified":"2025-04-18T11:37:41+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/12485.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/12485.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/12485.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"linux \u670d\u52a1\u5668\u8fdb\u7a0b\u3001\u7aef\u53e3\u67e5\u627e\uff0cnginx \u914d\u7f6e\u65e5\u5fd7\u67e5\u627e\uff0clsof \u547d\u4ee4\u8be6\u89e3"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/12485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=12485"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/12485\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/12476"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=12485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=12485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=12485"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=12485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}