{"id":181421,"date":"2020-05-16T10:11:38","date_gmt":"2020-05-16T02:11:38","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=181421"},"modified":"2020-05-06T10:12:52","modified_gmt":"2020-05-06T02:12:52","slug":"process-analysis-under-linux","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/process-analysis-under-linux.html","title":{"rendered":"Linux\u4e0b\u7684\u8fdb\u7a0b\u5206\u6790–PS"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5f53\u6211\u4eec\u5728Linux\u7cfb\u7edf\u4e0b\u8981\u5bf9\u8fdb\u7a0b\u8fdb\u884c\u76d1\u6d4b\u548c\u63a7\u5236\u65f6\uff0c\u9996\u5148\u5fc5\u987b\u8981\u4e86\u89e3\u5f53\u524d\u8fdb\u7a0b\u7684\u60c5\u51b5,\u4e5f\u5c31\u662f\u9700\u8981\u67e5\u770b\u5f53\u524d\u8fdb\u7a0b\uff0cps\u547d\u4ee4\u5c31\u662f\u6700\u57fa\u672c\u8fdb\u7a0b\u67e5\u770b\u547d\u4ee4\u3002\u4eca\u5929\u5c0f\u7f16\u5c31\u6765\u5e26\u9886\u5927\u5bb6\u4e00\u8d77\u5b66\u4e60Linux\u4e0b\u5206\u6790\u8fdb\u7a0b\u7684\u547d\u4ee4--PS\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
1. ps\u662f\u4ec0\u4e48\uff1f<\/strong><\/div>\n

\u8981\u5bf9\u8fdb\u7a0b\u8fdb\u884c\u76d1\u6d4b\u548c\u63a7\u5236\uff0c\u9996\u5148\u5fc5\u987b\u8981\u4e86\u89e3\u5f53\u524d\u8fdb\u7a0b\u7684\u60c5\u51b5,\u4e5f\u5c31\u662f\u9700\u8981\u67e5\u770b\u5f53\u524d\u8fdb\u7a0b\uff0cps\u547d\u4ee4\u5c31\u662f\u6700\u57fa\u672c\u8fdb\u7a0b\u67e5\u770b\u547d\u4ee4\u3002\u4f7f\u7528\u8be5\u547d\u4ee4\u53ef\u4ee5\u786e\u5b9a\u6709\u54ea\u4e9b\u8fdb\u7a0b\u6b63\u5728\u8fd0\u884c\u548c\u8fd0\u884c\u7684\u72b6\u6001\u3001\u8fdb\u7a0b\u662f\u5426\u7ed3\u675f\u3001\u8fdb\u7a0b\u6709\u6ca1\u6709\u50f5\u5c38\u3001\u54ea\u4e9b\u8fdb\u7a0b\u5360\u7528\u4e86\u8fc7\u591a\u7684\u8d44\u6e90\u7b49\u7b49.\u603b\u4e4b\u5927\u90e8\u5206\u4fe1\u606f\u90fd\u662f\u53ef\u4ee5\u901a\u8fc7\u6267\u884c\u8be5\u547d\u4ee4\u5f97\u5230\u3002<\/p>\n

ps\u662f\u663e\u793a\u77ac\u95f4\u8fdb\u7a0b\u7684\u72b6\u6001\uff0c\u5e76\u4e0d\u52a8\u6001\u8fde\u7eed\uff1b\u5982\u679c\u60f3\u5bf9\u8fdb\u7a0b\u8fdb\u884c\u5b9e\u65f6\u76d1\u63a7\u5e94\u8be5\u7528top\u547d\u4ee4\u3002<\/p>\n

\u57fa\u672c\u53c2\u6570\uff1a<\/strong><\/span><\/div>\n

-A \uff1a\u6240\u6709\u7684\u8fdb\u7a0b\u5747\u663e\u793a\u51fa\u6765\uff0c\u4e0e -e \u5177\u6709\u540c\u6837\u7684\u6548\u7528\uff1b<\/p>\n

-a \uff1a\u663e\u793a\u73b0\u884c\u7ec8\u7aef\u673a\u4e0b\u7684\u6240\u6709\u8fdb\u7a0b\uff0c\u5305\u62ec\u5176\u4ed6\u7528\u6237\u7684\u8fdb\u7a0b\uff1b<\/p>\n

-u \uff1a\u4ee5\u7528\u6237\u4e3a\u4e3b\u7684\u8fdb\u7a0b\u72b6\u6001 \uff1b<\/p>\n

x \uff1a\u901a\u5e38\u4e0e a \u8fd9\u4e2a\u53c2\u6570\u4e00\u8d77\u4f7f\u7528\uff0c\u53ef\u5217\u51fa\u8f83\u5b8c\u6574\u4fe1\u606f\u3002<\/p>\n

\u8f93\u51fa\u683c\u5f0f\u89c4\u5212\uff1a<\/strong><\/span><\/div>\n

l \uff1a\u8f83\u957f\u3001\u8f83\u8be6\u7ec6\u7684\u5c06\u8be5PID \u7684\u7684\u4fe1\u606f\u5217\u51fa\uff1b<\/p>\n

j \uff1a\u5de5\u4f5c\u7684\u683c\u5f0f (jobs format)<\/p>\n

-f \uff1a\u505a\u4e00\u4e2a\u66f4\u4e3a\u5b8c\u6574\u7684\u8f93\u51fa\u3002<\/p>\n

\u4e0b\u9762\u6211\u4eec\u5c31\u6765\u4e00\u4e2a\u547d\u4ee4\u8fdb\u884c\u5b9e\u8df5\uff0c\u770b\u770b\u4e0d\u540c\u7684\u53c2\u6570\u90fd\u6709\u4e9b\u4ec0\u4e48\u6548\u679c\u3002<\/p>\n

2. \u4e0d\u52a0\u53c2\u6570\u6267\u884cps\u547d\u4ee4\u4f1a\u8f93\u51fa\u4ec0\u4e48\uff1f<\/strong><\/div>\n

\u8fd9\u662f\u4e00\u4e2a\u57fa\u672c\u7684 ps \u4f7f\u7528\uff0c\u6211\u4eec\u6765\u770b\u770b\u63a7\u5236\u53f0\u4e2d\u6267\u884c\u8fd9\u4e2a\u547d\u4ee4\u5e76\u67e5\u770b\u7ed3\u679c\u3002
\n\"\"<\/p>\n

\u7ed3\u679c\u9ed8\u8ba4\u4f1a\u663e\u793a4\u5217\u4fe1\u606f\uff1a<\/p>\n

    PID: \u8fd0\u884c\u7740\u7684\u547d\u4ee4(CMD)\u7684\u8fdb\u7a0b\u7f16\u53f7<\/ol>\n
      TTY: \u547d\u4ee4\u6240\u8fd0\u884c\u7684\u4f4d\u7f6e\uff08\u7ec8\u7aef\uff09<\/ol>\n
        TIME: \u8fd0\u884c\u7740\u7684\u8be5\u547d\u4ee4\u6240\u5360\u7528\u7684CPU\u5904\u7406\u65f6\u95f4<\/ol>\n
          CMD: \u8be5\u8fdb\u7a0b\u6240\u8fd0\u884c\u7684\u547d\u4ee4<\/ol>\n

          \u8fd9\u4e9b\u4fe1\u606f\u5728\u663e\u793a\u65f6\u672a\u6392\u5e8f\u3002<\/p>\n

          3. \u5982\u4f55\u663e\u793a\u6240\u6709\u5f53\u524d\u8fdb\u7a0b\uff1f<\/strong><\/div>\n

          \u4f7f\u7528 -a \u53c2\u6570\uff0c-a \u4ee3\u8868 all\u3002\u540c\u65f6\u52a0\u4e0ax\u53c2\u6570\u4f1a\u663e\u793a\u6ca1\u6709\u63a7\u5236\u7ec8\u7aef\u7684\u8fdb\u7a0b\u3002<\/p>\n

          $ ps -ax  \r\n# \u8fd9\u4e2a\u547d\u4ee4\u7684\u7ed3\u679c\u6216\u8bb8\u4f1a\u5f88\u957f\u3002\u4e3a\u4e86\u4fbf\u4e8e\u67e5\u770b\uff0c\u53ef\u4ee5\u7ed3\u5408less\u547d\u4ee4\u548c\u7ba1\u9053\u6765\u4f7f\u7528\u3002  \r\n$ ps -ax | less \r\n<\/pre>\n

          \"\"<\/p>\n

          4. \u5982\u4f55\u6839\u636e\u8fdb\u7a0b\u7684\u7528\u6237\u8fdb\u884c\u4fe1\u606f\u8fc7\u6ee4\u5462\uff1f<\/strong><\/div>\n

          \u5728\u9700\u8981\u67e5\u770b\u7279\u5b9a\u7528\u6237\u8fdb\u7a0b\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 -u \u53c2\u6570\u3002\u6bd4\u5982\u6211\u4eec\u8981\u67e5\u770b\u7528\u6237'pungki'\u7684\u8fdb\u7a0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n

          $ ps -u pungki<\/pre>\n

          \"\"<\/p>\n

          5. \u5982\u4f55\u901a\u8fc7cpu\u548c\u5185\u5b58\u4f7f\u7528\u6765\u8fc7\u6ee4\u8fdb\u7a0b\uff1f<\/strong><\/div>\n

          \u4e5f\u8bb8\u4f60\u5e0c\u671b\u628a\u7ed3\u679c\u6309\u7167 CPU \u6216\u8005\u5185\u5b58\u7528\u91cf\u6765\u7b5b\u9009\uff0c\u8fd9\u6837\u4f60\u5c31\u627e\u5230\u54ea\u4e2a\u8fdb\u7a0b\u5360\u7528\u4e86\u4f60\u7684\u8d44\u6e90\u3002\u8981\u505a\u5230\u8fd9\u4e00\u70b9\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 aux \u53c2\u6570\uff0c\u6765\u663e\u793a\u5168\u9762\u7684\u4fe1\u606f:<\/p>\n

          $ ps -aux | less<\/pre>\n

          \"\"<\/p>\n

          \u5f53\u7ed3\u679c\u5f88\u957f\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u7ba1\u9053\u548cless\u547d\u4ee4\u6765\u7b5b\u9009\u3002<\/p>\n

          \u9ed8\u8ba4\u7684\u7ed3\u679c\u96c6\u662f\u672a\u6392\u597d\u5e8f\u7684\u3002\u53ef\u4ee5\u901a\u8fc7 --sort\u547d\u4ee4\u6765\u6392\u5e8f\u3002<\/p>\n

          5.1 \u6839\u636eCPU\u4f7f\u7528\u7387\u6765\u5347\u5e8f\u6392\u5e8f<\/strong><\/span><\/div>\n
          $ ps -aux --sort -pcpu | less<\/pre>\n

          \"\"<\/a><\/p>\n

          5.2 \u6839\u636e\u5185\u5b58\u4f7f\u7528\u7387\u6765\u5347\u5e8f\u6392\u5e8f<\/strong><\/span><\/div>\n
          $ ps -aux --sort -pmem | less<\/pre>\n

          \"\"<\/p>\n

          5.3 \u6211\u4eec\u4e5f\u53ef\u4ee5\u5c06\u5b83\u4eec\u5408\u5e76\u5230\u4e00\u4e2a\u547d\u4ee4\uff0c\u5e76\u901a\u8fc7\u7ba1\u9053\u663e\u793a\u524d10\u4e2a\u7ed3\u679c\uff1a<\/strong><\/span><\/div>\n
          $ ps -aux --sort -pcpu,+pmem | head -n 10<\/pre>\n
          6. \u5982\u4f55\u901a\u8fc7\u8fdb\u7a0b\u540d\u548cPID\u8fdb\u884c\u8fc7\u6ee4\u5462\uff1f<\/strong><\/div>\n

          \u4f7f\u7528 -C \u53c2\u6570\uff0c\u540e\u9762\u8ddf\u4f60\u8981\u627e\u7684\u8fdb\u7a0b\u7684\u540d\u5b57\u3002\u6bd4\u5982\u60f3\u663e\u793a\u4e00\u4e2a\u540d\u4e3agetty\u7684\u8fdb\u7a0b\u7684\u4fe1\u606f\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n

          $ ps -C getty<\/pre>\n

          \"\"<\/p>\n

          \u5982\u679c\u60f3\u8981\u770b\u5230\u66f4\u591a\u7684\u7ec6\u8282\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528-f\u53c2\u6570\u6765\u67e5\u770b\u683c\u5f0f\u5316\u7684\u4fe1\u606f\u5217\u8868\uff1a<\/p>\n

          $ ps -f -C getty<\/pre>\n

          \"\"<\/p>\n

          7. \u5982\u4f55\u6839\u636e\u7ebf\u7a0b\u6765\u8fc7\u6ee4\u8fdb\u7a0b\u5462\uff1f<\/strong><\/div>\n

          \u5982\u679c\u6211\u4eec\u60f3\u77e5\u9053\u7279\u5b9a\u8fdb\u7a0b\u7684\u7ebf\u7a0b\uff0c\u53ef\u4ee5\u4f7f\u7528 -L \u53c2\u6570\uff0c\u540e\u9762\u52a0\u4e0a\u7279\u5b9a\u7684PID\u3002<\/p>\n

          $ ps -L 1213<\/pre>\n

          \"\"<\/p>\n

          8. \u5982\u4f55\u6811\u5f62\u7684\u663e\u793a\u8fdb\u7a0b\uff1f<\/strong><\/div>\n

          \u6709\u65f6\u5019\u6211\u4eec\u5e0c\u671b\u4ee5\u6811\u5f62\u7ed3\u6784\u663e\u793a\u8fdb\u7a0b\uff0c\u53ef\u4ee5\u4f7f\u7528 -axjf \u53c2\u6570\u3002<\/p>\n

          $ ps -axjf<\/pre>\n

          \"\"<\/p>\n

          \u6216\u8005\u53ef\u4ee5\u4f7f\u7528\u53e6\u4e00\u4e2a\u547d\u4ee4\u3002<\/p>\n

          $ pstree<\/pre>\n

          \"\"<\/p>\n

          9. \u5982\u4f55\u663e\u793a\u5b89\u5168\u4fe1\u606f\uff1f<\/strong><\/div>\n

          \u5982\u679c\u60f3\u8981\u67e5\u770b\u73b0\u5728\u6709\u8c01\u767b\u5165\u4e86\u4f60\u7684\u670d\u52a1\u5668\u3002\u53ef\u4ee5\u4f7f\u7528ps\u547d\u4ee4\u52a0\u4e0a\u76f8\u5173\u53c2\u6570:<\/p>\n

          $ ps -eo pid,user,args<\/pre>\n

          \"\"<\/p>\n

          \u53c2\u6570 -e \u663e\u793a\u6240\u6709\u8fdb\u7a0b\u4fe1\u606f\uff0c-o \u53c2\u6570\u63a7\u5236\u8f93\u51fa\u3002Pid,User \u548c Args\u53c2\u6570\u663e\u793aPID\uff0c\u8fd0\u884c\u5e94\u7528\u7684\u7528\u6237\u548c\u8be5\u5e94\u7528\u3002<\/p>\n

          \u80fd\u591f\u4e0e -e \u53c2\u6570 \u4e00\u8d77\u4f7f\u7528\u7684\u5173\u952e\u5b57\u662fargs, cmd, comm, command, fname, ucmd, ucomm, lstart, bsdstart \u548c start\u3002<\/p>\n

          10. \u5982\u4f55\u683c\u5f0f\u5316\u8f93\u51faroot\u7528\u6237\uff08\u771f\u5b9e\u7684\u6216\u6709\u6548\u7684UID\uff09\u521b\u5efa\u7684\u8fdb\u7a0b\uff1f<\/strong><\/div>\n

          \u7cfb\u7edf\u7ba1\u7406\u5458\u60f3\u8981\u67e5\u770b\u7531root\u7528\u6237\u8fd0\u884c\u7684\u8fdb\u7a0b\u548c\u8fd9\u4e2a\u8fdb\u7a0b\u7684\u5176\u4ed6\u76f8\u5173\u4fe1\u606f\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4:<\/p>\n

          $ ps -U root -u root u<\/pre>\n

          -U \u53c2\u6570\u6309\u771f\u5b9e\u7528\u6237ID(RUID)\u7b5b\u9009\u8fdb\u7a0b\uff0c\u5b83\u4f1a\u4ece\u7528\u6237\u5217\u8868\u4e2d\u9009\u62e9\u771f\u5b9e\u7528\u6237\u540d\u6216 ID\u3002\u771f\u5b9e\u7528\u6237\u5373\u5b9e\u9645\u521b\u5efa\u8be5\u8fdb\u7a0b\u7684\u7528\u6237\u3002<\/p>\n

          -u \u53c2\u6570\u7528\u6765\u7b5b\u9009\u6709\u6548\u7528\u6237ID\uff08EUID\uff09\u3002<\/p>\n

          \u6700\u540e\u7684 u \u53c2\u6570\u7528\u6765\u51b3\u5b9a\u4ee5\u9488\u5bf9\u7528\u6237\u7684\u683c\u5f0f\u8f93\u51fa\uff0c\u7531User, PID, %CPU, %MEM, VSZ, RSS, TTY, STAT, START, TIME \u548c COMMAND\u8fd9\u51e0\u5217\u7ec4\u6210\u3002<\/p>\n

          \u8fd9\u91cc\u6709\u4e0a\u9762\u7684\u547d\u4ee4\u7684\u8f93\u51fa\u7ed3\u679c\uff1a
          \n\"\"<\/p>\n

          11. \u5982\u4f55\u4f7f\u7528PS\u5b9e\u65f6\u76d1\u63a7\u8fdb\u7a0b\u72b6\u6001\uff1f<\/strong><\/div>\n

          ps \u547d\u4ee4\u4f1a\u663e\u793a\u4f60\u7cfb\u7edf\u5f53\u524d\u7684\u8fdb\u7a0b\u72b6\u6001\uff0c\u4f46\u662f\u8fd9\u4e2a\u7ed3\u679c\u662f\u9759\u6001\u7684\u3002<\/p>\n

          \u5f53\u6709\u4e00\u79cd\u60c5\u51b5\uff0c\u6211\u4eec\u9700\u8981\u50cf\u4e0a\u9762\u7b2c\u56db\u70b9\u4e2d\u63d0\u5230\u7684\u901a\u8fc7CPU\u548c\u5185\u5b58\u7684\u4f7f\u7528\u7387\u6765\u7b5b\u9009\u8fdb\u7a0b\uff0c\u5e76\u4e14\u6211\u4eec\u5e0c\u671b\u7ed3\u679c\u80fd\u591f\u6bcf\u79d2\u5237\u65b0\u4e00\u6b21\u3002\u4e3a\u6b64\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06ps\u547d\u4ee4\u548cwatch\u547d\u4ee4\u7ed3\u5408\u8d77\u6765\u3002<\/p>\n

          $ watch -n 1 \u2018ps -aux --sort -pmem, -pcpu\u2019<\/pre>\n

          \"\"<\/p>\n

          \u5982\u679c\u8f93\u51fa\u592a\u957f\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u9650\u5236\u5b83\uff0c\u6bd4\u5982\u524d20\u6761\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 head \u547d\u4ee4\u6765\u505a\u5230\u3002<\/p>\n

          $ watch -n 1 \u2018ps -aux --sort -pmem, -pcpu | head 20\u2019<\/pre>\n

          \"\"<\/p>\n

          \u8fd9\u91cc\u7684\u52a8\u6001\u67e5\u770b\u5e76\u4e0d\u50cftop\u6216\u8005htop\u547d\u4ee4\u4e00\u6837\u3002\u4f46\u662f\u4f7f\u7528ps\u7684\u597d\u5904\u662f\u4f60\u80fd\u591f\u5b9a\u4e49\u663e\u793a\u7684\u5b57\u6bb5\uff0c\u4f60\u80fd\u591f\u9009\u62e9\u4f60\u60f3\u67e5\u770b\u7684\u5b57\u6bb5\u3002<\/p>\n

          \u4e3e\u4e2a\u4f8b\u5b50\uff0c\u5982\u679c\u4f60\u53ea\u9700\u8981\u770b\u540d\u4e3a'pungki'\u7528\u6237\u7684\u4fe1\u606f\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n

          $ watch -n 1 \u2018ps -aux -U pungki u --sort -pmem, -pcpu | head 20\u2019<\/pre>\n

          \"\"<\/p>\n

          12. \u6700\u540e<\/strong><\/div>\n

          \u4f60\u4e5f\u8bb8\u6bcf\u5929\u90fd\u4f1a\u4f7f\u7528ps\u547d\u4ee4\u6765\u76d1\u63a7\u4f60\u7684Linux\u7cfb\u7edf\u3002\u4f46\u662f\u4e8b\u5b9e\u4e0a\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7ps\u547d\u4ee4\u7684\u53c2\u6570\u6765\u751f\u6210\u5404\u79cd\u4f60\u9700\u8981\u7684\u62a5\u8868\u3002<\/p>\n

          ps\u547d\u4ee4\u7684\u53e6\u4e00\u4e2a\u4f18\u52bf\u662fps\u662f\u5404\u79cd Linux\u7cfb\u7edf\u90fd\u9ed8\u8ba4\u5b89\u88c5\u7684\uff0c\u56e0\u6b64\u4f60\u53ea\u8981\u7528\u5c31\u884c\u4e86\u3002\u4e0d\u8981\u5fd8\u4e86\u901a\u8fc7 man ps\u6765\u67e5\u770b\u66f4\u591a\u7684\u53c2\u6570\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

          \u8981\u5bf9\u8fdb\u7a0b\u8fdb\u884c\u76d1\u6d4b\u548c\u63a7\u5236\uff0c\u9996\u5148\u5fc5\u987b\u8981\u4e86\u89e3\u5f53\u524d\u8fdb\u7a0b\u7684\u60c5\u51b5,\u4e5f\u5c31\u662f\u9700\u8981\u67e5\u770b\u5f53\u524d\u8fdb\u7a0b\uff0cps\u547d\u4ee4\u5c31\u662f\u6700\u57fa\u672c\u8fdb\u7a0b\u67e5\u770b\u547d\u4ee4\u3002 […]<\/p>\n","protected":false},"author":1329,"featured_media":181445,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-181421","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/181421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1329"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=181421"}],"version-history":[{"count":6,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/181421\/revisions"}],"predecessor-version":[{"id":181446,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/181421\/revisions\/181446"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/181445"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=181421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=181421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=181421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}