{"id":225167,"date":"2020-11-28T19:36:59","date_gmt":"2020-11-28T11:36:59","guid":{"rendered":"http:\/\/4563.org\/?p=225167"},"modified":"2020-11-28T19:36:59","modified_gmt":"2020-11-28T11:36:59","slug":"bash-%e4%b8%8b%e5%a6%82%e4%bd%95%e4%bc%98%e9%9b%85%e5%9c%b0%e4%b8%b4%e6%97%b6%e5%9c%a8%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8c%e7%a8%8b%e5%ba%8f%e5%b9%b6%e6%98%93%e4%ba%8e%e7%ae%a1%e7%90%86%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=225167","title":{"rendered":"Bash \u4e0b\u5982\u4f55\u4f18\u96c5\u5730\u4e34\u65f6\u5728\u540e\u53f0\u8fd0\u884c\u7a0b\u5e8f\u5e76\u6613\u4e8e\u7ba1\u7406\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Bash \u4e0b\u5982\u4f55\u4f18\u96c5\u5730\u4e34\u65f6\u5728\u540e\u53f0\u8fd0\u884c\u7a0b\u5e8f\u5e76\u6613\u4e8e\u7ba1\u7406\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dangyuluo <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u73b0\u5728\u9047\u5230\u4e00\u4e2a\u95ee\u9898\uff0c\u5c31\u662f\u5728\u67d0\u4e2a CI \u811a\u672c\u91cc\u9700\u8981\u6d4b\u8bd5\u4e00\u4e2a EXE\uff0c\u8be5 EXE \u9700\u8981\u5176\u4ed6\u670d\u52a1\u7a0b\u5e8f\u6765\u8fd0\u884c\u3002<\/p>\n<ul>\n<li>EXE1<\/li>\n<li>SERVER1<\/li>\n<li>SERVER2<\/li>\n<li>SERVER3<\/li>\n<li>&#8230;<\/li>\n<\/ul>\n<p>\u73b0\u5728\u7684\u65b9\u6cd5\u662f<\/p>\n<pre><code>server1 &gt; \/tmp\/server1 &amp; server2 &gt; \/tmp\/server2 &amp; ... ... killall server1 killall server2 <\/code><\/pre>\n<p>\u4f46\u662f\u611f\u89c9\u5f88\u4e0d\u4f18\u96c5\uff0c\u5e76\u4e14\u4e0d\u652f\u6301\u591a\u4e2a\u6d4b\u8bd5\u5e76\u53d1\u3002\u6211\u77e5\u9053\u53ef\u4ee5\u7528\u4fdd\u5b58 PID \u5730\u65b9\u5f0f\u6765\u7cbe\u51c6\u6740\u8fdb\u7a0b\uff0c\u4f46\u8fd8\u662f\u60f3\u95ee\u95ee\u5927\u5bb6\u6709\u6ca1\u6709\u66f4\u597d\u7684\u529e\u6cd5\uff1f\u8c22\u8c22<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4550048\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lululau <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             kill %1<br \/>kill %2<\/p>\n<p>\u6216\u8005 <\/p>\n<p>jobs -l                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4550049\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangfengmadking <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f7f\u7528 supervisor \u7ba1\u7406\u8fdb\u7a0b\uff0c\u4f60\u503c\u5f97\u62e5\u6709                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4550050\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : TimePPT <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             tmux\uff0c\u968f\u4fbf\u5f00\u968f\u4fbf\u8fd0\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Bash \u4e0b\u5982\u4f55\u4f18\u96c5\u5730\u4e34\u65f6\u5728\u540e\u53f0\u8fd0&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225167"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225167"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225167\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225167"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}