{"id":110,"date":"2010-01-20T01:53:23","date_gmt":"2010-01-19T16:53:23","guid":{"rendered":"http:\/\/cms1f37b.corede.net\/wordpress\/?p=110"},"modified":"2010-01-20T01:53:23","modified_gmt":"2010-01-19T16:53:23","slug":"unix%ef%bc%88linux%ef%bc%89%e5%9f%ba%e6%9c%ac%e4%b8%ad%e3%81%ae%e5%9f%ba%e6%9c%ac%e3%80%80%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%81%ab%e3%82%88%e3%82%8bos%e6%93%8d%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/matsudapress.com\/?p=110","title":{"rendered":"Unix\uff08Linux\uff09\u57fa\u672c\u4e2d\u306e\u57fa\u672c\u3000\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308bOS\u64cd\u4f5c"},"content":{"rendered":"<div>\n<div>\u25cfps<br \/>\n\u5b9f\u884c\u4e2d\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u8868\u793a<br \/>\n\u4f7f\u7528\u4f8b\uff1a<br \/>\nps axf<\/p>\n<p>\u203b\u30b3\u30de\u30f3\u30c9\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3069\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u300cps &#8211;help\u300d\u306a\u3069\u3068\u3059\u308b<\/p>\n<p>\u25cfkill<br \/>\n\u5b9f\u884c\u4e2d\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u7d42\u4e86\u3055\u305b\u308b<br \/>\n\u4f7f\u7528\u4f8b\uff1a<br \/>\nkill PID\uff08ps\u30b3\u30de\u30f3\u30c9\u8868\u793a\u3057\u305f\u30d7\u30ed\u30bb\u30b9\u3092PID\u3092\u78ba\u8a8d\u3057\u3066\u6d88\u3059)<br \/>\n\u5f37\u5236\u7d42\u4e86\u306e\u5834\u5408\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b<br \/>\nkill -9 PID<br \/>\n\u307e\u305f\u30d7\u30ed\u30bb\u30b9\u540d\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f<br \/>\nkillall \u30d7\u30ed\u30bb\u30b9\u540d<br \/>\n\u3068\u3059\u308b<\/p>\n<p>\u25cffree<br \/>\n\u30e1\u30e2\u30ea\u306e\u4f7f\u7528\u72b6\u6cc1\u306e\u78ba\u8a8d<br \/>\n\u4f7f\u7528\u4f8b\uff1a<br \/>\nfree mt<\/p>\n<p>\u25cfvmstat<br \/>\n\u30e1\u30e2\u30ea\u3084CPU\u306e\u4f7f\u7528\u72b6\u6cc1\u78ba\u8a8d<br \/>\n\u4f7f\u7528\u4f8b\uff1a<br \/>\nvmstat 3 3<br \/>\n3 3\u306f3\u79d2\u9593\u9694\u30673\u56de\u8868\u793a\u3068\u3044\u3046\u610f\u5473<br \/>\n\u30c7\u30fc\u30bf\u306e\u898b\u65b9<br \/>\nswap\u306eso\u304c\u5927\u304d\u306a\u5024\u3092\u3068\u308b \u2192 \u30e1\u30e2\u30ea\u304c\u8db3\u308a\u306a\u3044\u53ef\u80fd\u6027<br \/>\ncpu\u306eid\u304c\u5c0f\u3055\u306a\u5024\u3092\u3068\u308b\u3000\u3000\u2192\u3000CPU\u306b\u8ca0\u8377\u304c\u304b\u304b\u3063\u3066\u3044\u308b<\/p>\n<p>\u25cftop<br \/>\nps\u3000free vmstat\u3000\u3092\u307e\u3068\u3081\u305f\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<br \/>\n5\u79d2\u7f6e\u304d\u306b\u66f4\u65b0<\/p>\n<p>\u25cfdf<br \/>\n\u30c7\u30a3\u30b9\u30af\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u5225\u306e\u4f7f\u7528\u91cf\u3092\u8868\u793a<br \/>\n\u4f7f\u7528\u4f8b\uff1a<br \/>\ndf -h<\/p>\n<p>\u25cfdu<br \/>\n\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u306e\u4f7f\u7528\u72b6\u6cc1\u3092\u78ba\u8a8d<br \/>\n\u4f7f\u7528\u4f8b\uff1a<br \/>\ndu -sm \/usr\/*<\/p>\n<p>\u25cfifconfig<br \/>\n\u5404\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u72b6\u6cc1\u3092\u8868\u793a(IP\u306e\u78ba\u8a8d\u306a\u3069\u304c\u3067\u304d\u307e\u3059)<br \/>\n\u4f7f\u7528\u4f8b\uff1a<br \/>\nifconfig<br \/>\n\u30c7\u30fc\u30bf\u306e\u898b\u65b9\u3068\u3057\u3066\u3001\u3088\u304f\u307f\u308b\u9805\u76ee\u306f<br \/>\nRX packets:<br \/>\nTX packets:<br \/>\n\u304c\u983b\u7e41\u306b\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306fLAN\u30ab\u30fc\u30c9\u3084\u63a5\u7d9a\u3057\u3066\u3044\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u5668\u306a\u3069\u306b\u554f\u984c\u304c\u3042\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u25cfps \u5b9f\u884c\u4e2d\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u8868\u793a \u4f7f\u7528\u4f8b\uff1a ps axf \u203b\u30b3\u30de\u30f3\u30c9\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306a &hellip; <a href=\"https:\/\/matsudapress.com\/?p=110\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89,78],"tags":[],"class_list":["post-110","post","type-post","status-publish","format-standard","hentry","category-linux","category-78"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=110"}],"version-history":[{"count":0,"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts\/110\/revisions"}],"wp:attachment":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}