{"id":30220,"date":"2026-09-30T14:24:10","date_gmt":"2026-09-30T06:24:10","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=30220"},"modified":"2026-09-30T14:24:10","modified_gmt":"2026-09-30T06:24:10","slug":"%e5%91%8a%e5%88%ab%e9%87%8d%e5%a4%8d%e6%95%b2%e5%91%bd%e4%bb%a4%ef%bc%81%e8%bf%90%e7%bb%b4%e7%94%a8-llm-%e4%b8%80%e9%94%ae%e7%94%9f%e6%88%90%e5%8f%af%e7%9b%b4%e6%8e%a5%e4%b8%8a%e7%ba%bf-shell-python","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2026\/09\/30\/30220\/","title":{"rendered":"\u544a\u522b\u91cd\u590d\u6572\u547d\u4ee4\uff01\u8fd0\u7ef4\u7528 LLM \u4e00\u952e\u751f\u6210\u53ef\u76f4\u63a5\u4e0a\u7ebf Shell\/Python \u811a\u672c\uff0c\u641e\u5b9a 90% \u65e5\u5e38\u5de5\u4f5c \u539f\u521b"},"content":{"rendered":"<div class=\"article-desc\">\u672c\u6587\u7ed3\u5408\u8fd0\u7ef4\u771f\u5b9e\u9ad8\u9891\u573a\u666f\uff0c\u624b\u628a\u624b\u6559\u5927\u5bb6\u7528 LLM \u751f\u6210\u53ef\u76f4\u63a5\u843d\u5730\u7684\u8fd0\u7ef4\u811a\u672c\uff0c\u8986\u76d6\u65e5\u5e38 90% \u7684\u91cd\u590d\u64cd\u4f5c\u3002<\/div>\n<div id=\"postspictures\" class=\"article-content\">\n<div id=\"container\" class=\"container am-engine\" data-v-01a18e2f=\"\" data-element=\"root\">\n<p>\u6211\u662f\u97e9\u5148\u8d85\uff0c51CTO \u5b66\u5802 K8s\u3001Python \u6559\u5b66\u603b\u76d1\u3001AIOps \u5b9e\u6218\u8bad\u7ec3\u8425\u8bb2\u5e08\uff0c\u4e91\u8ba1\u7b97\u67b6\u6784\u5e08\uff0c\u5177\u6709 8 \u5e74\u9879\u76ee\u5b9e\u6218\u7ecf\u9a8c+5 \u5e74\u6559\u5b66\u7ecf\u9a8c\uff0c\u7ebf\u4e0a\u5b66\u5458\u5df2\u8fbe 300w+\u3002<\/p>\n<p>\u505a\u8fd0\u7ef4\u7684\u5c0f\u4f19\u4f34\uff0c\u65e5\u5e38\u5927\u6982\u7387\u90fd\u88ab\u8fd9\u4ef6\u4e8b\u6298\u78e8\u8fc7\uff1a<\/p>\n<blockquote><p>\u6bcf\u5929\u91cd\u590d\u6572\u51e0\u5341\u6761\u76f8\u4f3c\u547d\u4ee4\uff1a\u670d\u52a1\u5668\u6279\u91cf\u5de1\u68c0\u3001\u65e5\u5fd7\u6e05\u7406\u3001\u670d\u52a1\u91cd\u542f\u3001\u7aef\u53e3\u6392\u67e5\u3001\u78c1\u76d8\u76d1\u63a7\u2026\u2026<\/p><\/blockquote>\n<p>\u660e\u660e\u662f\u673a\u68b0\u91cd\u590d\u7684\u5de5\u4f5c\uff0c\u5374\u5fc5\u987b\u5b88\u7740\u7535\u8111\u9010\u6761\u8f93\u5165\uff0c\u8017\u65f6\u53c8\u5bb9\u6613\u624b\u6ed1\u8f93\u9519\uff0c\u71ac\u591c\u52a0\u73ed\u5168\u9760\u8fd9\u4e9b\u65e0\u6548\u5de5\u4f5c\u91cf\u5806\u51fa\u6765\u3002<\/p>\n<p>\u5176\u5b9e\u6839\u672c\u4e0d\u7528\u8fd9\u4e48\u7d2f\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s2.51cto.com\/oss\/202609\/30\/6208f7441cee1d913ca563624201244b84ea6e.webp\" alt=\"\u56fe\u7247\" data-type=\"inline\" \/><\/p>\n<p>\u73b0\u5728\u501f\u52a9<strong>\u901a\u7528\u5927\u6a21\u578b LLM<\/strong>\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u8fd0\u7ef4\u573a\u666f\uff0c\u4e00\u952e\u751f\u6210\u4e13\u5c5e Shell\u3001Python \u8fd0\u7ef4\u811a\u672c\uff0c\u65e0\u9700\u4efb\u4f55\u7f16\u7a0b\u57fa\u7840\uff0c\u4e0d\u7528\u7f51\u4e0a\u627e\u522b\u4eba\u7684\u5f00\u6e90\u811a\u672c\uff08\u89c4\u907f\u7248\u6743\u95ee\u9898\uff09\uff0c\u5b8c\u5168\u9002\u914d\u81ea\u5df1\u7684\u670d\u52a1\u5668\u73af\u5883\uff0c\u62ff\u6765\u5c31\u80fd\u76f4\u63a5\u7528\u3002<\/p>\n<p>\u4eca\u5929\uff0c\u6211\u5c31\u7ed3\u5408<strong>\u8fd0\u7ef4\u771f\u5b9e\u9ad8\u9891\u573a\u666f<\/strong>\uff0c\u624b\u628a\u624b\u6559\u5927\u5bb6\u7528 LLM \u751f\u6210\u53ef\u76f4\u63a5\u843d\u5730\u7684\u8fd0\u7ef4\u811a\u672c\uff0c\u8986\u76d6\u65e5\u5e38 90% \u7684\u91cd\u590d\u64cd\u4f5c\uff0c\u901a\u4fd7\u6613\u61c2\u3001\u7eaf\u901a\u7528\u65e0\u7248\u6743\uff0c\u4e2a\u4eba\u3001\u4f01\u4e1a\u5185\u7f51\u5747\u53ef\u653e\u5fc3\u4f7f\u7528\u3002<\/p>\n<h2>\u4e3a\u4ec0\u4e48\u63a8\u8350\u8fd0\u7ef4\u7528 LLM \u751f\u6210\u81ea\u5b9a\u4e49\u811a\u672c\uff1f<\/h2>\n<p>\u5f88\u591a\u8fd0\u7ef4\u540c\u5b66\u4e0d\u613f\u610f\u7528\u7f51\u4e0a\u73b0\u6210\u811a\u672c\uff0c\u6838\u5fc3\u987e\u8651\u5c31\u4e24\u4e2a\uff1a<\/p>\n<p>1.\u00a0<strong>\u7248\u6743\u98ce\u9669<\/strong>\uff1a\u7f51\u4e0a\u5f00\u6e90\u811a\u672c\u3001\u535a\u4e3b\u5206\u4eab\u4ee3\u7801\uff0c\u5546\u7528\u5bb9\u6613\u4fb5\u6743\uff0c\u4e0d\u6562\u76f4\u63a5\u90e8\u7f72\u5230\u4e1a\u52a1\u670d\u52a1\u5668\uff1b<\/p>\n<p>2.\u00a0<strong>\u9002\u914d\u6027\u5dee<\/strong>\uff1a\u522b\u4eba\u7684\u811a\u672c\u53c2\u6570\u3001\u8def\u5f84\u3001\u89c4\u5219\u90fd\u662f\u56fa\u5b9a\u7684\uff0c\u548c\u81ea\u5df1\u7684\u670d\u52a1\u5668\u73af\u5883\u4e0d\u5339\u914d\uff0c\u6539\u811a\u672c\u6bd4\u81ea\u5df1\u6572\u547d\u4ee4\u8fd8\u9ebb\u70e6\u3002<\/p>\n<p>\u800c\u81ea\u5df1\u7528 LLM \u751f\u6210\u811a\u672c\uff0c\u5b8c\u7f8e\u89e3\u51b3\u4ee5\u4e0a\u95ee\u9898\uff1a<\/p>\n<ul data-id=\"ua73dd4b-TfbZbbiD\">\n<li data-id=\"ld70c578-WR7mmEYi\"><strong>100% \u539f\u521b\u65e0\u7248\u6743<\/strong>\uff1a\u6839\u636e\u81ea\u8eab\u573a\u666f\u5b9e\u65f6\u751f\u6210\uff0c\u4e13\u5c5e\u81ea\u7528\uff0c\u65e0\u4efb\u4f55\u4fb5\u6743\u98ce\u9669\uff1b<\/li>\n<li data-id=\"ld70c578-e9Jh0Jm4\"><strong>\u9ad8\u5ea6\u9002\u914d\u73af\u5883<\/strong>\uff1a\u53ef\u4ee5\u6307\u5b9a\u7cfb\u7edf\uff08CentOS\/Ubuntu\uff09\u3001\u6587\u4ef6\u8def\u5f84\u3001\u670d\u52a1\u540d\u79f0\u3001\u76d1\u63a7\u9608\u503c\uff1b<\/li>\n<li data-id=\"ld70c578-dHaTcFeO\"><strong>\u96f6\u7f16\u7a0b\u95e8\u69db<\/strong>\uff1a\u53ea\u9700\u7528\u5927\u767d\u8bdd\u63cf\u8ff0\u9700\u6c42\uff0cLLM \u81ea\u52a8\u8f93\u51fa\u53ef\u8fd0\u884c\u4ee3\u7801\uff1b<\/li>\n<li data-id=\"ld70c578-WAgPja1j\"><strong>\u5927\u5e45\u63d0\u6548<\/strong>\uff1a5 \u5206\u949f\u751f\u6210\u811a\u672c\uff0c\u540e\u7eed\u91cd\u590d\u5de5\u4f5c\u4e00\u952e\u6267\u884c\uff0c\u544a\u522b\u673a\u68b0\u6572\u547d\u4ee4\u3002<\/li>\n<\/ul>\n<h2>\u8fd0\u7ef4\u901a\u7528 Prompt \u6a21\u677f\uff08\u76f4\u63a5\u590d\u5236\u53ef\u7528\uff09<\/h2>\n<p>\u5f88\u591a\u4eba\u7528 LLM \u5199\u811a\u672c\u4e0d\u597d\u7528\uff0c\u4e0d\u662f\u6a21\u578b\u4e0d\u884c\uff0c\u662f<strong>\u9700\u6c42\u63cf\u8ff0\u4e0d\u6e05\u6670<\/strong>\u3002<\/p>\n<p>\u7ed9\u5927\u5bb6\u6574\u7406\u4e86\u8fd0\u7ef4\u4e13\u7528\u7684\u901a\u7528 Prompt\uff0c\u9002\u914d\u6240\u6709\u65e5\u5e38\u573a\u666f\uff0c\u76f4\u63a5\u66ff\u6362\u62ec\u53f7\u5185\u5bb9\u5373\u53ef\u751f\u6210\u7cbe\u51c6\u811a\u672c\uff1a<\/p>\n<p><strong>\u901a\u7528\u8fd0\u7ef4\u811a\u672c\u751f\u6210 Prompt\uff1a<\/strong><\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_0\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-plain\" tabindex=\"0\"><code class=\"language-plain\">\u4f60\u662f\u8d44\u6df1Linux\u8fd0\u7ef4\u5de5\u7a0b\u5e08\uff0c\u8bf7\u6839\u636e\u6211\u7684\u9700\u6c42\u751f\u6210\u4e00\u6bb5\u53ef\u76f4\u63a5\u8fd0\u884c\u7684\u811a\u672c\uff0c\u8981\u6c42\uff1a\r\n1. \u9002\u914d\u3010CentOS7\/CentOS8\/Ubuntu\u3011\u7cfb\u7edf\uff0c\u7eaf\u539f\u521b\u65e0\u7248\u6743\uff0c\u53ef\u5546\u7528\u53ef\u5185\u7f51\u90e8\u7f72\uff1b\r\n2. \u4ee3\u7801\u7b80\u6d01\u3001\u6709\u8be6\u7ec6\u6ce8\u91ca\u3001\u5bb9\u9519\u6027\u9ad8\uff0c\u907f\u514d\u62a5\u9519\u5d29\u6e83\uff1b\r\n3. \u6267\u884c\u8fc7\u7a0b\u6709\u65e5\u5fd7\u8f93\u51fa\uff0c\u64cd\u4f5c\u7ed3\u679c\u6e05\u6670\u5c55\u793a\uff1b\r\n4. \u7981\u6b62\u4f7f\u7528\u7b2c\u4e09\u65b9\u4ed8\u8d39\u4f9d\u8d56\uff0c\u4ec5\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u547d\u4ee4\uff1b\r\n\u6211\u7684\u5177\u4f53\u9700\u6c42\uff1a\u3010\u586b\u5199\u4f60\u7684\u8fd0\u7ef4\u573a\u666f\uff0c\u5982\uff1a\u6279\u91cf\u6e05\u74063\u5929\u524d\u7684\u670d\u52a1\u5668\u65e5\u5fd7\u3001\u76d1\u63a7\u78c1\u76d8\u4f7f\u7528\u7387\u5e76\u544a\u8b66\u3001\u6279\u91cf\u91cd\u542fNginx\u670d\u52a1\u3011<\/code><\/pre>\n<ul id=\"code_id_0\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2>4 \u4e2a\u9ad8\u9891\u8fd0\u7ef4\u5b9e\u6218\u573a\u666f+LLM \u751f\u6210\u811a\u672c<\/h2>\n<p>\u4e0b\u9762\u7ed9\u5927\u5bb6\u5206\u4eab<strong>\u8fd0\u7ef4\u65e5\u5e38\u7528\u5f97\u6700\u591a\u3001\u6027\u4ef7\u6bd4\u6700\u9ad8<\/strong>\u7684 4 \u4e2a\u573a\u666f\uff0c\u9644\u5e26\u73b0\u6210\u7684 LLM \u751f\u6210\u811a\u672c\uff0c\u65e0\u9700\u4fee\u6539\uff0c\u9002\u914d\u7edd\u5927\u591a\u6570\u670d\u52a1\u5668\u73af\u5883\uff0c\u76f4\u63a5\u590d\u5236\u90e8\u7f72\u5373\u53ef\u3002<\/p>\n<h3>\u573a\u666f\u4e00\uff1a\u81ea\u52a8\u6e05\u7406\u8fc7\u671f\u65e5\u5fd7\uff08\u89e3\u51b3\u78c1\u76d8\u7206\u6ee1\u95ee\u9898\uff09<\/h3>\n<p><strong>\u75db\u70b9<\/strong>\uff1a\u4e1a\u52a1\u670d\u52a1\u5668\u65e5\u5fd7\u6bcf\u5929\u6301\u7eed\u751f\u6210\uff0c\u5360\u7528\u5927\u91cf\u78c1\u76d8\u7a7a\u95f4\uff0c\u624b\u52a8\u5b9a\u671f\u6e05\u7406\u592a\u9ebb\u70e6\uff0c\u5fd8\u8bb0\u6e05\u7406\u5c31\u4f1a\u5bfc\u81f4\u78c1\u76d8\u7206\u6ee1\u3001\u670d\u52a1\u5f02\u5e38\u3002<\/p>\n<p><strong>LLM \u751f\u6210\u811a\u672c\u529f\u80fd<\/strong>\uff1a\u81ea\u52a8\u626b\u63cf\u6307\u5b9a\u65e5\u5fd7\u76ee\u5f55\uff0c\u6e05\u7406 3 \u5929\u524d\u7684\u65e5\u5fd7\u6587\u4ef6\uff0c\u8f93\u51fa\u6e05\u7406\u65e5\u5fd7\uff0c\u8df3\u8fc7\u76ee\u5f55\u548c\u6b63\u5728\u4f7f\u7528\u7684\u6587\u4ef6\uff0c\u907f\u514d\u8bef\u5220\u3002<\/p>\n<p><strong>\u811a\u672c\u7c7b\u578b<\/strong>\uff1aShell\uff08\u9002\u914d RedHat \u5168\u7cfb\u5217\uff09<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_1\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-plain\" tabindex=\"0\"><code class=\"language-plain\">#!\/bin\/bash\r\n# \u8fd0\u7ef4\u65e5\u5fd7\u81ea\u52a8\u6e05\u7406\u811a\u672c\uff08LLM\u539f\u521b\u751f\u6210\uff0c\u65e0\u7248\u6743\uff09\r\n# \u529f\u80fd\uff1a\u6e05\u7406\u6307\u5b9a\u76ee\u5f553\u5929\u524d\u7684.log\u65e5\u5fd7\u6587\u4ef6\uff0c\u4fdd\u7559\u6700\u65b03\u5929\u65e5\u5fd7\r\n# \u9002\u914d\u7cfb\u7edf\uff1aCentOS7\/CentOS8\r\n# \u5b9a\u4e49\u65e5\u5fd7\u5b58\u653e\u76ee\u5f55\uff0c\u53ef\u6839\u636e\u81ea\u5df1\u670d\u52a1\u5668\u73af\u5883\u4fee\u6539\r\nLOG_DIR=\"\/var\/log\/nginx \/var\/log\/system \/tmp\/logs\"\r\n# \u5b9a\u4e49\u65e5\u5fd7\u4fdd\u7559\u5929\u6570\r\nSAVE_DAY=3\r\n# \u5b9a\u4e49\u811a\u672c\u6267\u884c\u65e5\u5fd7\r\nRUN_LOG=\"\/var\/log\/clean_log_run.log\"\r\n# \u6253\u5370\u6267\u884c\u65f6\u95f4\r\necho \"==================== $(date +%Y-%m-%d\\ %H:%M:%S) \u5f00\u59cb\u6267\u884c\u65e5\u5fd7\u6e05\u7406 ====================\" &gt;&gt; $RUN_LOG\r\n# \u5faa\u73af\u904d\u5386\u76ee\u5f55\u6e05\u7406\u8fc7\u671f\u65e5\u5fd7\r\nfor dir in $LOG_DIR\r\ndo\r\n    # \u5224\u65ad\u76ee\u5f55\u662f\u5426\u5b58\u5728\r\n    if [ -d $dir ];then\r\n        echo \"\u6b63\u5728\u6e05\u7406\u76ee\u5f55\uff1a$dir\" &gt;&gt; $RUN_LOG\r\n        # \u6e05\u74063\u5929\u524dlog\u6587\u4ef6\uff0c\u4e0d\u5220\u9664\u6587\u4ef6\u5939\u3001\u4e0d\u5220\u9664\u6b63\u5728\u5360\u7528\u7684\u6587\u4ef6\r\n        find $dir -name \"*.log\" -type f -mtime +$SAVE_DAY -delete &gt;&gt; $RUN_LOG 2&gt;&amp;1\r\n        if [ $? -eq 0 ];then\r\n            echo \"\u3010\u6210\u529f\u3011$dir \u8fc7\u671f\u65e5\u5fd7\u6e05\u7406\u5b8c\u6210\" &gt;&gt; $RUN_LOG\r\n        else\r\n            echo \"\u3010\u5931\u8d25\u3011$dir \u65e5\u5fd7\u6e05\u7406\u5f02\u5e38\uff0c\u8bf7\u68c0\u67e5\u6743\u9650\" &gt;&gt; $RUN_LOG\r\n        fi\r\n    else\r\n        echo \"\u3010\u8b66\u544a\u3011\u76ee\u5f55 $dir \u4e0d\u5b58\u5728\uff0c\u8df3\u8fc7\" &gt;&gt; $RUN_LOG\r\n    fi\r\ndone\r\necho \"==================== \u672c\u6b21\u65e5\u5fd7\u6e05\u7406\u6267\u884c\u7ed3\u675f ====================\" &gt;&gt; $RUN_LOG\r\necho \"\" &gt;&gt; $RUN_LOG<\/code><\/pre>\n<ul id=\"code_id_1\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<li>16.<\/li>\n<li>17.<\/li>\n<li>18.<\/li>\n<li>19.<\/li>\n<li>20.<\/li>\n<li>21.<\/li>\n<li>22.<\/li>\n<li>23.<\/li>\n<li>24.<\/li>\n<li>25.<\/li>\n<li>26.<\/li>\n<li>27.<\/li>\n<li>28.<\/li>\n<li>29.<\/li>\n<li>30.<\/li>\n<li>31.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u5176\u4e2d\uff0cLOG_DIR \u4e3a\u81ea\u5df1\u7684\u65e5\u5fd7\u8def\u5f84\u3002<\/p>\n<p>\u6388\u6743\u6267\u884c\uff1achmod +x clean_log.sh<\/p>\n<p>\u914d\u7f6e\u5b9a\u65f6\u4efb\u52a1\uff0c\u6bcf\u5929\u51cc\u6668\u81ea\u52a8\u6267\u884c\uff0c\u5f7b\u5e95\u89e3\u653e\u53cc\u624b\u3002<\/p>\n<h3>\u573a\u666f\u4e8c\uff1a\u670d\u52a1\u5668\u57fa\u7840\u4fe1\u606f\u6279\u91cf\u5de1\u68c0\u811a\u672c<\/h3>\n<p><strong>\u75db\u70b9<\/strong>\uff1a\u65e5\u5e38\u5de1\u68c0\u9700\u8981\u9010\u4e2a\u67e5\u770b\u78c1\u76d8\u3001CPU\u3001\u5185\u5b58\u3001\u7aef\u53e3\u3001\u670d\u52a1\u72b6\u6001\uff0c\u9010\u6761\u6572\u547d\u4ee4\uff0c\u8017\u65f6\u4e14\u5bb9\u6613\u9057\u6f0f\u95ee\u9898\u3002<\/p>\n<p><strong>LLM \u751f\u6210\u811a\u672c\u529f\u80fd<\/strong>\uff1a\u4e00\u952e\u8f93\u51fa\u670d\u52a1\u5668\u6838\u5fc3\u6307\u6807\uff0c\u5305\u542b\u78c1\u76d8\u4f7f\u7528\u7387\u3001\u5185\u5b58\u5360\u7528\u3001CPU \u8d1f\u8f7d\u3001\u7aef\u53e3\u76d1\u542c\u3001\u7cfb\u7edf\u8fd0\u884c\u65f6\u95f4\uff0c\u5de1\u68c0\u7ed3\u679c\u81ea\u52a8\u6c47\u603b\uff0c\u5f02\u5e38\u9879\u9ad8\u4eae\u63d0\u793a\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_2\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-plain\" tabindex=\"0\"><code class=\"language-plain\">#!\/bin\/bash\r\n# \u670d\u52a1\u5668\u65e5\u5e38\u5de1\u68c0\u811a\u672c\uff08LLM\u539f\u521b\u751f\u6210\uff0c\u65e0\u7248\u6743\uff09\r\n# \u9002\u914d\u7cfb\u7edf\uff1aCentOS\/Ubuntu \u901a\u7528\r\necho \"==================== \u670d\u52a1\u5668\u5de1\u68c0\u62a5\u544a $(date +%Y-%m-%d\\ %H:%M:%S) ====================\"\r\necho \"\u30101.\u7cfb\u7edf\u57fa\u7840\u4fe1\u606f\u3011\"\r\nhostname\r\nuname -r\r\necho \"\u7cfb\u7edf\u8fd0\u884c\u65f6\u95f4\uff1a$(uptime)\"\r\necho -e \"\\n\u30102.CPU\u8d1f\u8f7d\u4fe1\u606f\u3011\"\r\nuptime | awk '{print \"1\u5206\u949f\u8d1f\u8f7d\uff1a\"$3\" 5\u5206\u949f\u8d1f\u8f7d\uff1a\"$4\" 15\u5206\u949f\u8d1f\u8f7d\uff1a\"$5}'\r\necho -e \"\\n\u30103.\u5185\u5b58\u4f7f\u7528\u4fe1\u606f\u3011\"\r\nfree -h\r\necho -e \"\\n\u30104.\u78c1\u76d8\u4f7f\u7528\u4fe1\u606f\u3011\"\r\ndf -h | grep -v tmpfs\r\necho -e \"\\n\u30105.\u5173\u952e\u7aef\u53e3\u76d1\u542c\u72b6\u6001\u3011\"\r\nss -tulpn | grep -E \"80|443|22|3306|6379\"\r\necho -e \"\\n\u30106.\u78c1\u76d8\u4f7f\u7528\u7387\u5f02\u5e38\u68c0\u6d4b\u3011\"\r\ndf -h | awk 'NR&gt;1 {gsub(\/%\/,\"\");if($5&gt;80)print \"\u3010\u8b66\u544a\u3011\u78c1\u76d8\u5206\u533a\"$1\"\u4f7f\u7528\u7387\u8fc7\u9ad8\uff1a\"$5\"%\"}'\r\necho \"==================== \u5de1\u68c0\u62a5\u544a\u751f\u6210\u5b8c\u6210 ====================\"<\/code><\/pre>\n<ul id=\"code_id_2\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<li>16.<\/li>\n<li>17.<\/li>\n<li>18.<\/li>\n<li>19.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><strong>\u4f7f\u7528\u573a\u666f<\/strong>\uff1a\u6bcf\u65e5\u5f00\u673a\u5de1\u68c0\u3001\u6545\u969c\u6392\u67e5\u5feb\u901f\u81ea\u67e5\u3001\u6279\u91cf\u670d\u52a1\u5668\u72b6\u6001\u6838\u5bf9\u3002<\/p>\n<h3>\u573a\u666f\u4e09\uff1aNginx \u670d\u52a1\u4e00\u952e\u91cd\u542f&amp;\u5f02\u5e38\u81ea\u6108\u811a\u672c<\/h3>\n<p><strong>\u75db\u70b9<\/strong>\uff1aNginx \u662f\u9ad8\u9891\u4f7f\u7528\u670d\u52a1\uff0c\u7ecf\u5e38\u51fa\u73b0\u6302\u6389\u3001\u542f\u52a8\u5931\u8d25\u3001\u914d\u7f6e\u62a5\u9519\u7684\u95ee\u9898\uff0c\u624b\u52a8\u91cd\u542f\u3001\u6821\u9a8c\u914d\u7f6e\u7e41\u7410\uff0c\u4e1a\u52a1\u6545\u969c\u6062\u590d\u6162\u3002<\/p>\n<p><strong>LLM \u751f\u6210\u811a\u672c\u529f\u80fd<\/strong>\uff1a\u81ea\u52a8\u6821\u9a8c Nginx \u914d\u7f6e\u3001\u505c\u6b62\/\u91cd\u542f\u670d\u52a1\u3001\u68c0\u6d4b\u542f\u52a8\u72b6\u6001\uff0c\u542f\u52a8\u5931\u8d25\u81ea\u52a8\u8f93\u51fa\u62a5\u9519\u4fe1\u606f\uff0c\u65e0\u9700\u4eba\u5de5\u9010\u6761\u6392\u67e5\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_3\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-plain\" tabindex=\"0\"><code class=\"language-plain\">#!\/bin\/bash\r\n# Nginx\u4e00\u952e\u91cd\u542f\u81ea\u6108\u811a\u672c\uff08LLM\u539f\u521b\u751f\u6210\uff0c\u65e0\u7248\u6743\uff09\r\necho \"==================== \u5f00\u59cb\u6267\u884cNginx\u91cd\u542f\u64cd\u4f5c ====================\"\r\n# 1.\u6821\u9a8cNginx\u914d\u7f6e\u662f\u5426\u5408\u6cd5\r\necho \"1.\u6b63\u5728\u6821\u9a8cNginx\u914d\u7f6e\u6587\u4ef6...\"\r\nnginx -t\r\nif [ $? -ne 0 ];then\r\n    echo \"\u3010\u9519\u8bef\u3011Nginx\u914d\u7f6e\u6587\u4ef6\u5f02\u5e38\uff0c\u7ec8\u6b62\u91cd\u542f\uff0c\u8bf7\u68c0\u67e5\u914d\u7f6e\uff01\"\r\n    exit 1\r\nfi\r\necho \"\u3010\u6210\u529f\u3011\u914d\u7f6e\u6587\u4ef6\u6821\u9a8c\u901a\u8fc7\"\r\n# 2.\u91cd\u542fNginx\u670d\u52a1\r\necho \"2.\u6b63\u5728\u91cd\u542fNginx\u670d\u52a1...\"\r\nsystemctl restart nginx\r\n# 3.\u68c0\u6d4b\u670d\u52a1\u8fd0\u884c\u72b6\u6001\r\necho \"3.\u68c0\u6d4bNginx\u8fd0\u884c\u72b6\u6001...\"\r\nSTATUS=$(systemctl status nginx | grep active | awk '{print $3}')\r\nif [ \"$STATUS\" = \"(running)\" ];then\r\n    echo \"\u3010\u6210\u529f\u3011Nginx\u670d\u52a1\u91cd\u542f\u5b8c\u6210\uff0c\u8fd0\u884c\u6b63\u5e38\"\r\nelse\r\n    echo \"\u3010\u9519\u8bef\u3011Nginx\u670d\u52a1\u542f\u52a8\u5931\u8d25\uff0c\u8bf7\u67e5\u770b\u65e5\u5fd7\u6392\u67e5\u95ee\u9898\"\r\n    systemctl status nginx\r\nfi\r\necho \"==================== \u64cd\u4f5c\u6267\u884c\u7ed3\u675f ====================\"<\/code><\/pre>\n<ul id=\"code_id_3\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<li>16.<\/li>\n<li>17.<\/li>\n<li>18.<\/li>\n<li>19.<\/li>\n<li>20.<\/li>\n<li>21.<\/li>\n<li>22.<\/li>\n<li>23.<\/li>\n<li>24.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3>\u573a\u666f\u56db\uff1a\u6279\u91cf\u68c0\u6d4b\u670d\u52a1\u5668\u7aef\u53e3\u8fde\u901a\u6027\u811a\u672c<\/h3>\n<p><strong>\u75db\u70b9<\/strong>\uff1a\u4e1a\u52a1\u8054\u8c03\u3001\u6545\u969c\u6392\u67e5\u65f6\uff0c\u9700\u8981\u68c0\u6d4b\u591a\u53f0\u670d\u52a1\u5668\u7aef\u53e3\u662f\u5426\u901a\u3001\u9632\u706b\u5899\u662f\u5426\u653e\u884c\uff0c\u624b\u52a8 telnet \u6d4b\u8bd5\u6548\u7387\u6781\u4f4e\u3002<\/p>\n<p><strong>LLM \u751f\u6210\u811a\u672c\u529f\u80fd<\/strong>\uff1a\u6279\u91cf\u68c0\u6d4b\u6307\u5b9a IP+\u7aef\u53e3\uff0c\u81ea\u52a8\u5224\u65ad\u901a\u65ad\u72b6\u6001\uff0c\u8f93\u51fa\u6e05\u6670\u7ed3\u679c\uff0c\u9002\u914d\u5185\u7f51\u670d\u52a1\u5668\u6279\u91cf\u68c0\u6d4b\u3002<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_4\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-plain\" tabindex=\"0\"><code class=\"language-plain\">#!\/usr\/bin\/env python3\r\n# \u7aef\u53e3\u8fde\u901a\u6027\u6279\u91cf\u68c0\u6d4b\u811a\u672c\uff08LLM\u539f\u521b\u751f\u6210\uff0c\u65e0\u7248\u6743\uff09\r\n# \u65e0\u9700\u989d\u5916\u5b89\u88c5\u4f9d\u8d56\uff0cPython3\u7cfb\u7edf\u81ea\u5e26\u5373\u53ef\u8fd0\u884c\r\nimport socket\r\nimport time\r\n# \u81ea\u5b9a\u4e49\u9700\u8981\u68c0\u6d4b\u7684IP\u548c\u7aef\u53e3\u5217\u8868\uff0c\u53ef\u81ea\u884c\u589e\u51cf\r\ncheck_list = [\r\n    (\"127.0.0.1\", 80),\r\n    (\"127.0.0.1\", 443),\r\n    (\"127.0.0.1\", 3306),\r\n    (\"127.0.0.1\", 6379)\r\n]\r\nprint(\"========== \u7aef\u53e3\u8fde\u901a\u6027\u68c0\u6d4b\u5f00\u59cb ==========\")\r\nprint(f\"\u68c0\u6d4b\u65f6\u95f4\uff1a{time.strftime('%Y-%m-%d %H:%M:%S')}\")\r\nfor ip, port in check_list:\r\n    try:\r\n        # \u8bbe\u7f6e\u8d85\u65f6\u65f6\u95f41\u79d2\r\n        sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\r\n        sock.settimeout(1)\r\n        result = sock.connect_ex((ip, port))\r\n        if result == 0:\r\n            print(f\"\u2705 {ip}:{port} \u7aef\u53e3\u901a\u7545\")\r\n        else:\r\n            print(f\"\u274c {ip}:{port} \u7aef\u53e3\u4e0d\u901a\")\r\n        sock.close()\r\n    except Exception as e:\r\n        print(f\"\u274c {ip}:{port} \u68c0\u6d4b\u5f02\u5e38\uff1a{str(e)}\")\r\nprint(\"========== \u7aef\u53e3\u68c0\u6d4b\u5168\u90e8\u5b8c\u6210 ==========\")<\/code><\/pre>\n<ul id=\"code_id_4\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<li>16.<\/li>\n<li>17.<\/li>\n<li>18.<\/li>\n<li>19.<\/li>\n<li>20.<\/li>\n<li>21.<\/li>\n<li>22.<\/li>\n<li>23.<\/li>\n<li>24.<\/li>\n<li>25.<\/li>\n<li>26.<\/li>\n<li>27.<\/li>\n<li>28.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2>\u8fd0\u7ef4\u4f7f\u7528 LLM \u5199\u811a\u672c\u7684 3 \u4e2a\u5c0f\u6280\u5de7<\/h2>\n<h4>1.\u00a0\u5c3d\u91cf\u7cbe\u51c6\u63cf\u8ff0\u573a\u666f<\/h4>\n<p>\u544a\u8bc9 LLM \u4f60\u7684\u7cfb\u7edf\u7248\u672c\u3001\u9700\u8981\u5b9e\u73b0\u7684\u529f\u80fd\u3001\u662f\u5426\u9700\u8981\u65e5\u5fd7\u3001\u662f\u5426\u9700\u8981\u5b9a\u65f6\u6267\u884c\uff0c\u811a\u672c\u9002\u914d\u5ea6\u66f4\u9ad8\u3002<\/p>\n<h4>2.\u00a0\u751f\u6210\u540e\u7b80\u5355\u81ea\u6d4b<\/h4>\n<p>\u6240\u6709\u811a\u672c\u5148\u5728\u6d4b\u8bd5\u670d\u52a1\u5668\u8fd0\u884c\uff0c\u786e\u8ba4\u65e0\u8bef\u5220\u9664\u3001\u65e0\u62a5\u9519\u540e\uff0c\u518d\u90e8\u7f72\u5230\u751f\u4ea7\u73af\u5883\u3002<\/p>\n<h4>3.\u00a0\u4e2a\u6027\u5316\u8fed\u4ee3\u4f18\u5316<\/h4>\n<p>\u5982\u679c\u811a\u672c\u529f\u80fd\u4e0d\u591f\u7528\uff0c\u53ef\u4ee5\u7ee7\u7eed\u8ba9 LLM \u8fed\u4ee3\uff0c\u6bd4\u5982 \u201c\u589e\u52a0\u544a\u8b66\u529f\u80fd\u3001\u589e\u52a0\u65e5\u5fd7\u538b\u7f29\u529f\u80fd\u201d\uff0c\u6309\u9700\u4f18\u5316\u3002<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u8fd0\u7ef4\u7684\u6838\u5fc3\u4ef7\u503c\uff0c\u4ece\u6765\u4e0d\u662f<strong>\u673a\u68b0\u91cd\u590d\u6572\u547d\u4ee4<\/strong>\uff0c\u800c\u662f\u89e3\u51b3\u6545\u969c\u3001\u4f18\u5316\u67b6\u6784\u3001\u4fdd\u969c\u4e1a\u52a1\u7a33\u5b9a\u3002<\/p>\n<p>\u501f\u52a9 LLM \u751f\u6210\u4e13\u5c5e\u8fd0\u7ef4\u811a\u672c\uff0c\u65e2\u80fd\u5f7b\u5e95\u6446\u8131\u91cd\u590d\u52b3\u52a8\uff0c\u63d0\u5347\u5de5\u4f5c\u6548\u7387\uff0c\u53c8\u80fd\u89c4\u907f\u7f51\u4e0a\u811a\u672c\u7684\u7248\u6743\u98ce\u9669\uff0c\u9002\u914d\u81ea\u5df1\u7684\u4e1a\u52a1\u73af\u5883\uff0c\u5b89\u5168\u53c8\u7701\u5fc3\u3002<\/p>\n<p>\u4ee5\u4e0a 4 \u5957\u811a\u672c\u8986\u76d6\u4e86\u65e5\u5fd7\u6e05\u7406\u3001\u65e5\u5e38\u5de1\u68c0\u3001\u670d\u52a1\u8fd0\u7ef4\u3001\u7aef\u53e3\u68c0\u6d4b\u56db\u5927\u9ad8\u9891\u573a\u666f\uff0c\u5927\u5bb6\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u4f7f\u7528\uff0c\u4e5f\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u5de5\u4f5c\u573a\u666f\uff0c\u4f7f\u7528\u901a\u7528 Prompt \u751f\u6210\u66f4\u591a\u81ea\u5b9a\u4e49\u811a\u672c\u3002<\/p>\n<p>\u672c\u6587\u6765\u81ea\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u54d2\u54d2\u5de5\u5177\u5e93\uff0c\u6b22\u8fce\u5173\u6ce8\uff01<\/p>\n<p><img data-dominant-color=\"999a9c\" data-has-transparency=\"false\" style=\"--dominant-color: #999a9c;\" loading=\"lazy\" decoding=\"async\" class=\"not-transparent alignnone size-full wp-image-30221\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2026\/09\/5576a0b1105418510cb21081031cdae5977145.jpg\" width=\"258\" height=\"258\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2026\/09\/5576a0b1105418510cb21081031cdae5977145.jpg 258w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2026\/09\/5576a0b1105418510cb21081031cdae5977145-150x150.jpg 150w\" sizes=\"auto, (max-width: 258px) 100vw, 258px\" \/><\/p>\n<p>\u6587\u7ae0\u6765\u81ea\uff1a51CTO<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_30220\" class=\"pvc_stats total_only  \" data-element-id=\"30220\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u7ed3\u5408\u8fd0\u7ef4\u771f\u5b9e\u9ad8\u9891\u573a\u666f\uff0c\u624b\u628a\u624b\u6559\u5927\u5bb6\u7528 LLM \u751f\u6210\u53ef\u76f4\u63a5\u843d\u5730\u7684\u8fd0\u7ef4\u811a\u672c\uff0c\u8986\u76d6\u65e5\u5e38 90% \u7684\u91cd\u590d\u64cd\u4f5c\u3002 \u6211 [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_30220\" class=\"pvc_stats total_only  \" data-element-id=\"30220\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":56,"featured_media":30221,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[3,23,20,80],"tags":[2303],"class_list":["post-30220","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-23","category-20","category-80","tag--llm--shell-python"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/30220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/comments?post=30220"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/30220\/revisions"}],"predecessor-version":[{"id":30222,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/30220\/revisions\/30222"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media\/30221"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=30220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=30220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=30220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}