{"id":246,"date":"2021-07-28T13:27:45","date_gmt":"2021-07-28T05:27:45","guid":{"rendered":"http:\/\/egonlin.com\/?p=246"},"modified":"2022-04-06T19:06:51","modified_gmt":"2022-04-06T11:06:51","slug":"%e7%ac%ac%e4%ba%8c%e8%8a%82%ef%bc%9a%e5%83%b5%e5%b0%b8%e8%bf%9b%e7%a8%8b%e5%92%8c%e5%ad%a4%e5%84%bf%e8%bf%9b%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/egonlin.com\/?p=246","title":{"rendered":"\u7b2c\u4e8c\u8282\uff1a\u50f5\u5c38\u8fdb\u7a0b\u548c\u5b64\u513f\u8fdb\u7a0b"},"content":{"rendered":"<h2>\u50f5\u5c38\u8fdb\u7a0b<\/h2>\n<pre><code class=\"language-python\">#1\u3001\u4ec0\u4e48\u662f\u50f5\u5c38\u8fdb\u7a0b\n\u64cd\u4f5c\u7cfb\u7edf\u8d1f\u8d23\u7ba1\u7406\u8fdb\u7a0b\n\u6211\u4eec\u7684\u5e94\u7528\u7a0b\u5e8f\u82e5\u60f3\u5f00\u542f\u5b50\u8fdb\u7a0b\uff0c\u90fd\u662f\u5728\u5411\u64cd\u4f5c\u7cfb\u7edf\u53d1\u9001\u7cfb\u7edf\u8c03\u7528\n\u5f53\u4e00\u4e2a\u5b50\u8fdb\u7a0b\u5f00\u542f\u8d77\u6765\u4ee5\u540e\uff0c\u5b83\u7684\u8fd0\u884c\u4e0e\u7236\u8fdb\u7a0b\u662f\u5f02\u6b65\u7684\uff0c\u5f7c\u6b64\u4e92\u4e0d\u5f71\u54cd\uff0c\u8c01\u5148\u6b7b\u90fd\u4e0d\u4e00\u5b9a\n\nlinux\u64cd\u4f5c\u7cfb\u7edf\u7684\u8bbe\u8ba1\u89c4\u5b9a\uff1a\u7236\u8fdb\u7a0b\u5e94\u8be5\u5177\u5907\u968f\u65f6\u83b7\u53d6\u5b50\u8fdb\u7a0b\u72b6\u6001\u7684\u80fd\u529b\n\u5982\u679c\u5b50\u8fdb\u7a0b\u5148\u4e8e\u7236\u8fdb\u7a0b\u8fd0\u884c\u5b8c\u6bd5\uff0c\u6b64\u65f6\u82e5linux\u64cd\u4f5c\u7cfb\u7edf\u7acb\u523b\u628a\u8be5\u5b50\u8fdb\u7a0b\u7684\u6240\u6709\u8d44\u6e90\u5168\u90e8\u91ca\u653e\u6389\uff0c\u90a3\u4e48\u7236\u8fdb\u7a0b\u6765\u67e5\u770b\u5b50\u8fdb\u7a0b\u72b6\u6001\u65f6\uff0c\u4f1a\u7a81\u7136\u53d1\u73b0\u81ea\u5df1\u521a\u521a\u751f\u4e86\u4e00\u4e2a\u513f\u5b50\uff0c\u4f46\u662f\u513f\u5b50\u6ca1\u4e86\uff01\uff01\uff01\n\u8fd9\u5c31\u8fdd\u80cc\u4e86linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u8bbe\u8ba1\u89c4\u5b9a\n\u6240\u4ee5\uff0clinux\u7cfb\u7edf\u51fa\u4e8e\u597d\u5fc3\uff0c\u82e5\u5b50\u8fdb\u7a0b\u5148\u4e8e\u7236\u8fdb\u7a0b\u8fd0\u884c\u5b8c\u6bd5\/\u6b7b\u6389\uff0c\u90a3\u4e48linux\u7cfb\u7edf\u5728\u6e05\u7406\u5b50\u8fdb\u7a0b\u7684\u65f6\u5019\uff0c\u4f1a\u5c06\u5b50\u8fdb\u7a0b\u5360\u7528\u7684\u91cd\u578b\u8d44\u6e90\u90fd\u91ca\u653e\u6389(\u6bd4\u5982\u5360\u7528\u7684\u5185\u5b58\u7a7a\u95f4\u3001cpu\u8d44\u6e90\u3001\u6253\u5f00\u7684\u6587\u4ef6\u7b49)\uff0c\u4f46\u662f\u4f1a\u4fdd\u7559\u4e00\u90e8\u5206\u5b50\u8fdb\u7a0b\u7684\u5173\u952e\u72b6\u6001\u4fe1\u606f\uff0c\u6bd4\u5982\u8fdb\u7a0b\u53f7the process ID\uff0c\u9000\u51fa\u72b6\u6001the termination status of the process\uff0c\u8fd0\u884c\u65f6\u95f4the amount of CPU time taken by the process\u7b49\uff0c\u6b64\u65f6\u5b50\u8fdb\u7a0b\u5c31\u76f8\u5f53\u4e8e\u6b7b\u4e86\u4f46\u662f\u6ca1\u6b7b\u5e72\u51c0\uff0c\u56e0\u800c\u5f97\u540d&quot;\u50f5\u5c38\u8fdb\u7a0b&quot;\uff0c\u5176\u5b9e\u50f5\u5c38\u8fdb\u7a0b\u662flinux\u64cd\u4f5c\u7cfb\u7edf\u51fa\u4e8e\u597d\u5fc3\uff0c\u4e3a\u7236\u8fdb\u7a0b\u51c6\u5907\u7684\u4e00\u4e9b\u5b50\u8fdb\u7a0b\u7684\u72b6\u6001\u6570\u636e\uff0c\u4e13\u95e8\u4f9b\u7236\u8fdb\u7a0b\u67e5\u9605\uff0c\u4e5f\u5c31\u662f\u8bf4&quot;\u50f5\u5c38\u8fdb\u7a0b&quot;\u662flinux\u7cfb\u7edf\u7684\u4e00\u79cd\u6570\u636e\u7ed3\u6784\uff0c\u6240\u6709\u7684\u5b50\u8fdb\u7a0b\u7ed3\u675f\u540e\u90fd\u4f1a\u8fdb\u5165\u50f5\u5c38\u8fdb\u7a0b\u7684\u72b6\u6001\n\n# 2\u3001\u90a3\u4e48\u95ee\u9898\u6765\u4e86\uff0c\u50f5\u5c38\u8fdb\u7a0b\u6b8b\u5b58\u7684\u90a3\u4e9b\u6570\u636e\u4e0d\u9700\u8981\u56de\u6536\u5417\uff1f\uff1f\uff1f\n\u5f53\u7136\u9700\u8981\u56de\u6536\u4e86\uff0c\u4f46\u662f\u50f5\u5c38\u8fdb\u7a0b\u6bd5\u7adf\u662flinux\u7cfb\u7edf\u51fa\u4e8e\u597d\u5fc3\uff0c\u4e3a\u7236\u8fdb\u7a0b\u51c6\u5907\u7684\u6570\u636e\uff0c\u81f3\u4e8e\u56de\u6536\u64cd\u4f5c\uff0c\u5e94\u8be5\u662f\u7236\u8fdb\u7a0b\u89c9\u5f97\u81ea\u5df1\u65e0\u9700\u67e5\u770b\u50f5\u5c38\u8fdb\u7a0b\u7684\u6570\u636e\u4e86\uff0c\u7236\u8fdb\u7a0b\u89c9\u5f97\u7559\u7740\u50f5\u5c38\u8fdb\u7a0b\u7684\u6570\u636e\u4e5f\u6ca1\u5565\u7528\u4e86\uff0c\u7136\u540e\u7531\u7236\u8fdb\u7a0b\u53d1\u8d77\u4e00\u4e2a\u7cfb\u7edf\u8c03\u7528wait \/ waitpid\u6765\u901a\u77e5linux\u64cd\u4f5c\u7cfb\u7edf\u8bf4\uff1a\u54e5\u4eec\uff0c\u8c22\u8c22\u4f60\u4e3a\u6211\u4fdd\u5b58\u7740\u8fd9\u4e9b\u50f5\u5c38\u7684\u5b50\u8fdb\u7a0b\u72b6\u6001\uff0c\u6211\u73b0\u5728\u7528\u4e0d\u4e0a\u4ed6\u4e86\uff0c\u4f60\u53ef\u4ee5\u628a\u4ed6\u4eec\u56de\u6536\u6389\u4e86\u3002\u7136\u540e\u64cd\u4f5c\u7cfb\u7edf\u518d\u6e05\u7406\u6389\u50f5\u5c38\u8fdb\u7a0b\u7684\u6b8b\u4f59\u72b6\u6001\uff0c\u4f60\u770b\uff0c\u4e24\u8005\u914d\u5408\u7684\u975e\u5e38\u9ed8\u5951\uff0c\u4f46\u662f\uff0c\u6015\u5c31\u6015\u5728\u3002\u3002\u3002\n\n# 3\u3001\u5206\u4e09\u79cd\u60c5\u51b5\u8ba8\u8bba\n1\u3001linux\u7cfb\u7edf\u81ea\u5e26\u7684\u4e00\u4e9b\u4f18\u79c0\u7684\u5f00\u6e90\u8f6f\u4ef6\uff0c\u8fd9\u4e9b\u8f6f\u4ef6\u5728\u5f00\u542f\u5b50\u8fdb\u7a0b\u65f6\uff0c\u7236\u8fdb\u7a0b\u5185\u90e8\u90fd\u4f1a\u53ca\u65f6\u8c03\u7528wait\/waitpid\u6765\u901a\u77e5\u64cd\u4f5c\u7cfb\u7edf\u56de\u6536\u50f5\u5c38\u8fdb\u7a0b\uff0c\u6240\u4ee5\uff0c\u6211\u4eec\u901a\u5e38\u770b\u4e0d\u5230\u4f18\u79c0\u7684\u5f00\u6e90\u8f6f\u4ef6\u5806\u79ef\u50f5\u5c38\u8fdb\u7a0b\uff0c\u56e0\u4e3a\u5f88\u53ca\u65f6\u5c31\u56de\u6536\u4e86\uff0c\u4e0elinux\u7cfb\u7edf\u914d\u5408\u7684\u5f88\u9ed8\u5951\n\n2\u3001\u4e00\u4e9b\u6c34\u5e73\u826f\u597d\u7684\u7a0b\u5e8f\u5458\u5f00\u53d1\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u8fd9\u4e9b\u7a0b\u5e8f\u5458\u6280\u672f\u529f\u5e95\u6df1\u539a\uff0c\u77e5\u9053\u7236\u8fdb\u7a0b\u8981\u5bf9\u5b50\u8fdb\u7a0b\u8d1f\u8d23\uff0c\u4f1a\u5728\u7236\u8fdb\u7a0b\u5185\u8003\u8651\u8c03\u7528wait\/waitpid\u6765\u901a\u77e5\u64cd\u4f5c\u7cfb\u7edf\u56de\u6536\u50f5\u5c38\u8fdb\u7a0b\uff0c\u4f46\u662f\u53d1\u8d77\u7cfb\u7edf\u8c03\u7528wait\/waitpid\u7684\u65f6\u95f4\u53ef\u80fd\u6162\u4e86\u4e9b\uff0c\u4e8e\u662f\u6211\u4eec\u53ef\u4ee5\u5728linux\u7cfb\u7edf\u4e2d\u901a\u8fc7\u547d\u4ee4\u67e5\u770b\u5230\u50f5\u5c38\u8fdb\u7a0b\u72b6\u6001\n[root@egon ~]# ps aux | grep [Z]+\n\n3\u3001\u4e00\u4e9b\u5783\u573e\u7a0b\u5e8f\u5458\uff0c\u6280\u672f\u975e\u5e38\u5783\u573e\uff0c\u53ea\u77e5\u9053\u5f00\u5b50\u8fdb\u7a0b\uff0c\u7236\u8fdb\u7a0b\u4e5f\u4e0d\u7ed3\u675f\uff0c\u5c31\u5728\u90a3\u50bb\u4e0d\u62c9\u51e0\u5730\u4e00\u76f4\u5f00\u5b50\u8fdb\u7a0b\uff0c\u4e5f\u538b\u6839\u4e0d\u77e5\u9053\u5565\u53eb\u50f5\u5c38\u8fdb\u7a0b\uff0c\u81f3\u4e8ewait\/waitpid\u7684\u7cfb\u7edf\u8c03\u7528\u66f4\u662f\u6ca1\u542c\u8bf4\u8fc7\uff0c\u8fd9\u4e2a\u65f6\u5019\uff0c\u5c31\u771f\u7684\u5783\u573e\u4e86\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u4f1a\u5806\u79ef\u5f88\u591a\u50f5\u5c38\u8fdb\u7a0b\uff0c\u6b64\u65f6\u6211\u4eec\u7684\u8ba1\u7b97\u673a\u4f1a\u8fdb\u5165\u4e00\u4e2a\u5947\u602a\u7684\u73b0\u8c61\uff0c\u5c31\u662f\u5185\u5b58\u5145\u8db3\u3001\u786c\u76d8\u5145\u8db3\u3001cpu\u7a7a\u95f2\uff0c\u4f46\u662f\uff0c\u542f\u52a8\u65b0\u7684\u8f6f\u4ef6\u5c31\u662f\u65e0\u6cd5\u542f\u52a8\u8d77\u6765\uff0c\u4e3a\u5565\uff0c\u56e0\u4e3a\u64cd\u4f5c\u7cfb\u7edf\u8d1f\u8d23\u7ba1\u7406\u8fdb\u7a0b\uff0c\u6bcf\u542f\u52a8\u4e00\u4e2a\u8fdb\u7a0b\u5c31\u4f1a\u5206\u914d\u4e00\u4e2apid\u53f7\uff0c\u800cpid\u53f7\u662f\u6709\u9650\u7684\uff0c\u6b63\u5e38\u60c5\u51b5\u4e0bpid\u4e5f\u7528\u4e0d\u5b8c\uff0c\u4f46\u6015\u5c31\u6015\u5806\u79ef\u4e00\u5806\u50f5\u5c38\u8fdb\u7a0b\uff0c\u4ed6\u5403\u4e0d\u4e86\u591a\u5c11\u5185\u5b58\uff0c\u4f46\u80fd\u5403\u4e00\u5806pid\n\n# 4\u3001\u5982\u679c\u6e05\u7406\u50f5\u5c38\u8fdb\u7a0b\n\u9488\u5bf9\u60c5\u51b53\uff0c\u53ea\u6709\u4e00\u79cd\u89e3\u51b3\u65b9\u6848\uff0c\u5c31\u662f\u6740\u6b7b\u7236\u8fdb\u7a0b\uff0c\u90a3\u4e48\u50f5\u5c38\u7684\u5b50\u8fdb\u7a0b\u4f1a\u88ablinux\u7cfb\u7edf\u4e2dpid\u4e3a1\u7684\u9876\u7ea7\u8fdb\u7a0b\uff08init\u6216systemd\uff09\u63a5\u7ba1\uff0c\u9876\u7ea7\u8fdb\u7a0b\u4f1a\u5b9a\u671f\u53d1\u8d77\u7cfb\u7edf\u8c03\u7528wait\/waitpid\u6765\u901a\u77e5\u64cd\u4f5c\u7cfb\u7edf\u6e05\u7406\u50f5\u5c38\n\n\u9488\u5bf9\u60c5\u51b52\uff0c\u53ef\u4ee5\u53d1\u9001\u4fe1\u53f7\u7ed9\u7236\u8fdb\u7a0b\uff0c\u901a\u77e5\u5b83\u5feb\u70b9\u53d1\u8d77\u7cfb\u7edf\u8c03\u7528wait\/waitpid\u6765\u6e05\u7406\u50f5\u5c38\u7684\u513f\u5b50\nkill -CHLD \u7236\u8fdb\u7a0bPID\n\n# 5\u3001\u7ed3\u8bed\n\u50f5\u5c38\u8fdb\u7a0b\u662flinux\u7cfb\u7edf\u51fa\u4e8e\u597d\u5fc3\u8bbe\u8ba1\u7684\u4e00\u79cd\u6570\u636e\u7ed3\u6784\uff0c\u4e00\u4e2a\u5b50\u8fdb\u7a0b\u6b7b\u6389\u540e\uff0c\u76f8\u5f53\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u51fa\u4e8e\u597d\u5fc3\u5e2e\u5b83\u7684\u7238\u7238\u4fdd\u5b58\u5b83\u7684\u9057\u4f53\uff0c\u4e4b\u8bf4\u4ee5\u4f1a\u5728\u67d0\u79cd\u573a\u666f\u4e0b\u6709\u5bb3\uff0c\u662f\u56e0\u4e3a\u5b83\u7684\u7238\u7238\u4e0d\u9760\u8c31\uff0c\u513f\u5b50\u6b7b\u4e86\uff0c\u4e5f\u4e0d\u53ca\u65f6\u6536\u5c38(\u53d1\u8d77\u7cfb\u7edf\u8c03\u7528\u8ba9\u64cd\u4f5c\u7cfb\u7edf\u6536\u5c38)\n\n\u8bf4\u767d\u4e86\uff0c\u50f5\u5c38\u8fdb\u7a0b\u672c\u8eab\u65e0\u5bb3\uff0c\u6709\u5bb3\u7684\u662f\u90a3\u4e9b\u6c34\u5e73\u4e0d\u8db3\u7684\u7a0b\u5e8f\u5458\uff0c\u4ed6\u4eec\u603b\u662f\u559c\u6b22\u5199bug\uff0c\u597d\u5427\uff0c\u5982\u679c\u4f60\u60f3\u770b\u770b\u5783\u573e\u7a0b\u5e8f\u5458\u662f\u5982\u4f55\u5199bug\u6765\u5806\u79ef\u50f5\u5c38\u8fdb\u7a0b\u7684\uff0c\u4f60\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u7bc7\u535a\u5ba2https:\/\/www.cnblogs.com\/linhaifeng\/articles\/13567273.html<\/code><\/pre>\n<h2>\u5b64\u513f\u8fdb\u7a0b<\/h2>\n<pre><code class=\"language-python\">\u7236\u8fdb\u7a0b\u5148\u6b7b\u6389\uff0c\u800c\u5b83\u7684\u4e00\u4e2a\u6216\u591a\u4e2a\u5b50\u8fdb\u7a0b\u8fd8\u5728\u8fd0\u884c\uff0c\u90a3\u4e48\u90a3\u4e9b\u5b50\u8fdb\u7a0b\u5c06\u6210\u4e3a\u5b64\u513f\u8fdb\u7a0b\u3002\u5b64\u513f\u8fdb\u7a0b\u5c06\u88ab\u8fdb\u7a0b\u53f7\u4e3a1\u7684\u9876\u7ea7\u8fdb\u7a0b\uff08init\u6216systemd\uff09\u6240\u6536\u517b\uff0c\u5e76\u7531\u9876\u7ea7\u8fdb\u7a0b\u5bf9\u5b83\u4eec\u5b8c\u6210\u72b6\u6001\u6536\u96c6\u5de5\u4f5c\u3002\n\u8fdb\u7a0b\u5c31\u597d\u50cf\u662f\u4e00\u4e2a\u6c11\u653f\u5c40\uff0c\u4e13\u95e8\u8d1f\u8d23\u5904\u7406\u5b64\u513f\u8fdb\u7a0b\u7684\u5584\u540e\u5de5\u4f5c\u3002\u6bcf\u5f53\u51fa\u73b0\u4e00\u4e2a\u5b64\u513f\u8fdb\u7a0b\u7684\u65f6\u5019\uff0c\u5185\u6838\u5c31\u628a\u5b64\u513f\u8fdb\u7a0b\u7684\u7236\u8fdb\u7a0b\u8bbe\u7f6e\u4e3a\u9876\u7ea7\u8fdb\u7a0b\uff0c\u800c\u9876\u7ea7\u8fdb\u7a0b\u4f1a\u5faa\u73af\u5730wait()\u5b83\u7684\u5df2\u7ecf\u9000\u51fa\u7684\u5b50\u8fdb\u7a0b\u3002\u8fd9\u6837\uff0c\u5f53\u4e00\u4e2a\u5b64\u513f\u8fdb\u7a0b\u51c4\u51c9\u5730\u7ed3\u675f\u4e86\u5176\u751f\u547d\u5468\u671f\u7684\u65f6\u5019\uff0c\u9876\u7ea7\u8fdb\u7a0b\u5c31\u4f1a\u4ee3\u8868\u515a\u548c\u653f\u5e9c\u51fa\u9762\u5904\u7406\u5b83\u7684\u4e00\u5207\u5584\u540e\u5de5\u4f5c\u3002\u56e0\u6b64\u5b64\u513f\u8fdb\u7a0b\u5e76\u4e0d\u4f1a\u6709\u4ec0\u4e48\u5371\u5bb3\u3002\n\n\u6211\u4eec\u6765\u6d4b\u8bd5\u4e00\u4e0b\uff08\u521b\u5efa\u5b8c\u5b50\u8fdb\u7a0b\u540e\uff0c\u4e3b\u8fdb\u7a0b\u6240\u5728\u7684\u8fd9\u4e2a\u811a\u672c\u5c31\u9000\u51fa\u4e86\uff0c\u5f53\u7236\u8fdb\u7a0b\u5148\u4e8e\u5b50\u8fdb\u7a0b\u7ed3\u675f\u65f6\uff0c\u5b50\u8fdb\u7a0b\u4f1a\u88ab\u9876\u7ea7\u8fdb\u7a0b\u6536\u517b\uff0c\u6210\u4e3a\u5b64\u513f\u8fdb\u7a0b\uff0c\u800c\u975e\u50f5\u5c38\u8fdb\u7a0b\uff09\uff0c\u6587\u4ef6\u5185\u5bb9\n\nimport os\nimport sys\nimport time\n\npid = os.getpid()\nppid = os.getppid()\nprint &#039;im father&#039;, &#039;pid&#039;, pid, &#039;ppid&#039;, ppid\npid = os.fork()\n#\u6267\u884cpid=os.fork()\u5219\u4f1a\u751f\u6210\u4e00\u4e2a\u5b50\u8fdb\u7a0b\n#\u8fd4\u56de\u503cpid\u6709\u4e24\u79cd\u503c\uff1a\n#    \u5982\u679c\u8fd4\u56de\u7684pid\u503c\u4e3a0\uff0c\u8868\u793a\u5728\u5b50\u8fdb\u7a0b\u5f53\u4e2d\n#    \u5982\u679c\u8fd4\u56de\u7684pid\u503c&gt;0\uff0c\u8868\u793a\u5728\u7236\u8fdb\u7a0b\u5f53\u4e2d\nif pid &gt; 0:\n    print &#039;father died..&#039;\n    sys.exit(0)\n\n# \u4fdd\u8bc1\u4e3b\u7ebf\u7a0b\u9000\u51fa\u5b8c\u6bd5\ntime.sleep(1)\nprint &#039;im child&#039;, os.getpid(), os.getppid()\n\n\u6267\u884c\u6587\u4ef6\uff0c\u8f93\u51fa\u7ed3\u679c\uff1a\nim father pid 32515 ppid 32015\nfather died..\nim child 32516 1\n\n\u770b\uff0c\u5b50\u8fdb\u7a0b\u5df2\u7ecf\u88abpid\u4e3a1\u7684\u9876\u7ea7\u8fdb\u7a0b\u63a5\u6536\u4e86\uff0c\u6240\u4ee5\u50f5\u5c38\u8fdb\u7a0b\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\u662f\u4e0d\u5b58\u5728\u7684\uff0c\u5b58\u5728\u53ea\u6709\u5b64\u513f\u8fdb\u7a0b\u800c\u5df2\uff0c\u5b64\u513f\u8fdb\u7a0b\u58f0\u660e\u5468\u671f\u7ed3\u675f\u81ea\u7136\u4f1a\u88ab\u9876\u7ea7\u8fdb\u7a0b\u6765\u9500\u6bc1\u3002<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u50f5\u5c38\u8fdb\u7a0b #1\u3001\u4ec0\u4e48\u662f\u50f5\u5c38\u8fdb\u7a0b \u64cd\u4f5c\u7cfb\u7edf\u8d1f\u8d23\u7ba1\u7406\u8fdb\u7a0b \u6211\u4eec\u7684\u5e94\u7528\u7a0b\u5e8f\u82e5\u60f3\u5f00\u542f\u5b50\u8fdb\u7a0b\uff0c\u90fd\u662f\u5728\u5411\u64cd\u4f5c\u7cfb\u7edf\u53d1\u9001\u7cfb\u7edf\u8c03 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":6201,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[34],"tags":[21,19,35,22,20],"_links":{"self":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/246"}],"collection":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=246"}],"version-history":[{"count":0,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/246\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/media\/6201"}],"wp:attachment":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}