{"id":2476,"date":"2023-12-28T15:58:02","date_gmt":"2023-12-28T07:58:02","guid":{"rendered":"https:\/\/blog.kingsbestone.com\/?p=2476"},"modified":"2024-01-03T13:29:46","modified_gmt":"2024-01-03T05:29:46","slug":"%e3%80%90%e5%ae%89%e8%a3%85%e6%95%99%e7%a8%8b%e3%80%91btop-centos7","status":"publish","type":"post","link":"https:\/\/blog.kingsbestone.com\/?p=2476","title":{"rendered":"\u3010\u7cfb\u7edf\u64cd\u4f5c\u3011btop centos7"},"content":{"rendered":"<p><span style=\"font-family: 'comic sans ms', sans-serif;\">btop\uff1a\u662f\u4e00\u4e2a\u57fa\u4e8e\u7ec8\u7aef\u7684\u5b9e\u65f6\u7cfb\u7edf\u76d1\u63a7\u5de5\u5177\uff0c\u63d0\u4f9b\u76f4\u89c2\u7684\u754c\u9762\u5c55\u793a CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u7b49\u6027\u80fd\u6307\u6807\uff0c\u652f\u6301\u4ea4\u4e92\u5f0f\u64cd\u4f5c\u3002<\/span><\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u7b80\u800c\u8a00\u4e4b\u5c31\u662f\uff0c\u53ef\u4ee5\u76f4\u89c2\u7684\u67e5\u770bLinux\u4e3b\u673a\u7684\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\u7684\u8d44\u6e90\u7ba1\u7406\u5668\u3002<\/span><\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u672c\u6559\u7a0b\u4f7f\u7528centos7.9 2009\u73af\u5883\u5b89\u88c5<\/span><\/p>\n<hr \/>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">1.\u5b89\u88c5\u6240\u9700\u8f6f\u4ef6\uff1a<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">yum install -y wget bzip2<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">2.\u4e0b\u8f7dbtop\u5b89\u88c5\u5305<\/span><\/p>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5b98\u7f51\uff1ahttps:\/\/github.com\/aristocratos\/btop\/releases<\/span><\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">wget https:\/\/github.com\/aristocratos\/btop\/releases\/download\/v1.2.13\/btop-x86_64-linux-musl.tbz<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">3.\u89e3\u538bbtop\u538b\u7f29\u5305<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">mkdir btop\r\ntar -jxvf btop-x86_64-linux-musl.tbz -C btop<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">4.\u5b89\u88c5btop\uff1a<\/span><\/p>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u8fdb\u5165\u521a\u521a\u89e3\u538b\u7684btop\u6839\u76ee\u5f55<\/span><\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">.\/install.sh<\/pre>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">5.\u68c0\u67e5\u662f\u5426\u5b89\u88c5\u6210\u529f<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">btop<\/pre>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5982\u679c\u76f4\u63a5\u51fa\u6765\u8d44\u6e90\u7a97\u53e3\u5219\u8bc1\u660e\u6210\u529f\uff0c\u5982\u679c\u6ca1\u6709\u5219\u5931\u8d25\uff0c\u6309\u4e0bCtrl+C\u9000\u51fa\u3002<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">6.\u5378\u8f7dbtop\uff1a<\/span><\/p>\n<ul>\n<li><span style=\"font-family: 'comic sans ms', sans-serif;\">\u8fdb\u5165\u521a\u521a\u89e3\u538b\u7684btop\u6839\u76ee\u5f55<\/span><\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">.\/uninstall.sh<\/pre>\n<hr \/>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u63a8\u8350\u4f7f\u7528\u7ec8\u7aef\u5de5\u5177\uff1aXshell 7<\/span><\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5982\u679c\u9700\u8981\u8ba9Xshell\u663e\u793a\u6b63\u5e38\uff0c\u9700\u8981\u6309\u7167\u4e0b\u9762\u7684\u8def\u5f84\u64cd\u4f5c\uff0c\u7136\u540e\u91cd\u542fxshell\u5ba2\u6237\u7aef\u540e\u751f\u6548\u3002<\/span><\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif;\">\u5de5\u5177&#8212;-&gt; \u9009\u9879 &#8212;-&gt; \u9ad8\u7ea7 &#8212;-&gt; \u52fe\u9009 [\u4f7f\u7528\u672c\u8272*]<\/span><\/p>\n<p>end&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>btop\uff1a\u662f\u4e00\u4e2a\u57fa\u4e8e\u7ec8\u7aef\u7684\u5b9e\u65f6\u7cfb\u7edf\u76d1\u63a7\u5de5\u5177\uff0c\u63d0\u4f9b\u76f4\u89c2\u7684\u754c\u9762\u5c55\u793a CPU\u3001\u5185\u5b58\u3001\u78c1\u76d8\u7b49\u6027\u80fd\u6307\u6807\uff0c\u652f\u6301\u4ea4\u4e92\u5f0f\u64cd\u4f5c\u3002 \u7b80\u800c\u8a00\u4e4b\u5c31\u662f\uff0c\u53ef\u4ee5\u76f4\u89c2\u7684\u67e5\u770bLinux\u4e3b\u673a\u7684\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\u7684\u8d44\u6e90\u7ba1\u7406\u5668\u3002 \u672c\u6559\u7a0b\u4f7f\u7528centos7.9 2009\u73af\u5883\u5b89\u88c5 1.\u5b89\u88c5\u6240\u9700\u8f6f\u4ef6\uff1a yum install -y wget bzip2 2.\u4e0b\u8f7dbtop &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"\u3010\u7cfb\u7edf\u64cd\u4f5c\u3011btop centos7\" class=\"read-more button\" href=\"https:\/\/blog.kingsbestone.com\/?p=2476#more-2476\" aria-label=\"\u66f4\u591a \u3010\u7cfb\u7edf\u64cd\u4f5c\u3011btop centos7\">\u67e5\u770b\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":212,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[59,4],"tags":[100,18],"_links":{"self":[{"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/posts\/2476"}],"collection":[{"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2476"}],"version-history":[{"count":4,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/posts\/2476\/revisions"}],"predecessor-version":[{"id":2507,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/posts\/2476\/revisions\/2507"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=\/wp\/v2\/media\/212"}],"wp:attachment":[{"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kingsbestone.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}