{"id":1238,"date":"2014-09-22T10:00:14","date_gmt":"2014-09-22T01:00:14","guid":{"rendered":"http:\/\/www.skyarch.net\/blog\/?p=1238"},"modified":"2014-11-21T21:43:47","modified_gmt":"2014-11-21T12:43:47","slug":"%e3%82%b5%e3%83%bc%e3%83%90%e9%9a%9c%e5%ae%b3%e7%99%ba%e7%94%9f%e6%99%82%e3%81%ab%e3%82%88%e3%81%8f%e4%bd%bf%e3%81%86%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%ef%bc%81%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/%e3%82%b5%e3%83%bc%e3%83%90%e9%9a%9c%e5%ae%b3%e7%99%ba%e7%94%9f%e6%99%82%e3%81%ab%e3%82%88%e3%81%8f%e4%bd%bf%e3%81%86%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%ef%bc%81%ef%bc%81\/","title":{"rendered":"\u30b5\u30fc\u30d0\u969c\u5bb3\u767a\u751f\u6642\u306b\u3088\u304f\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\uff01\uff01"},"content":{"rendered":"<a href=\"http:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2014\/07\/keyboard.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-415 aligncenter\" src=\"http:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2014\/07\/keyboard.png\" alt=\"keyboard\" width=\"128\" height=\"128\" srcset=\"https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2014\/07\/keyboard.png 128w, https:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2014\/07\/keyboard-64x64.png 64w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/a>\n<p>&nbsp;<\/p>\n<p>\u3053\u3093\u306b\u3061\u306f\uff01\uff01<\/p>\n<p>\u5927\u5206\u5916\u3082\u6dbc\u3057\u304f\u306a\u3063\u3066\u904e\u3054\u3057\u3084\u3059\u3044\u65e5\u304c\u7d9a\u3044\u3066\u3044\u307e\u3059\u306d\uff01<\/p>\n<p>\u4eca\u56de\u306f\u3001\u5f0a\u793e\u30b5\u30fc\u30d3\u30b9\u306e\u8981\u3067\u3042\u308b\u201d\u30b5\u30fc\u30d0\u76e3\u8996\u201d\u306e\u969b\u306b\u969c\u5bb3\u5207\u308a\u5206\u3051\u3067<\/p>\n<p>\u3088\u304f\u4f7f\u308f\u308c\u308bLinux\u306e\u30b3\u30de\u30f3\u30c9\u3092\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059(^\u30fb^)<\/p>\n<p>\u25bc\u30b3\u30de\u30f3\u30c9\u4e00\u89a7<\/p>\n<p>\u300c<strong><em>hostname<\/em><\/strong>\u300d<\/p>\n<p>\u30b5\u30fc\u30d0\u306e\u30db\u30b9\u30c8\u540d\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n<p>\u305d\u3082\u305d\u3082\u969c\u5bb3\u304c\u8d77\u3053\u3063\u3066\u3044\u308b\u30b5\u30fc\u30d0\u3068\u9055\u3046\u30b5\u30fc\u30d0\u3092\u958b\u3044\u3066\u3044\u305f\u3089\u5927\u60e8\u4e8b\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067...<\/p>\n<p>\u5f0a\u793e\u3067\u306f\u300chostname -f\u300d\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u3066FQDN\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u300c<strong><em>date<\/em><\/strong>\u300d<\/p>\n<p>\u65e5\u4ed8\u3092\u51fa\u529b\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff01\u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u6642\u523b\u3084\u5bfe\u5fdc\u3092\u3057\u305f\u6642\u523b\u3092\u30ed\u30b0\u3068\u3057\u3066\u8a18\u9332\u3059\u308b\u305f\u3081\u306b<\/p>\n<p>\u5fc5\u9808\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>\u300c<strong><em>w<\/em><\/strong>\u300d<\/p>\n<p>\u73fe\u5728\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u3092\u78ba\u8a8d\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff01<\/p>\n<p>\u305d\u308c\u4ee5\u5916\u306b\u3082\u3001\u8d77\u52d5\u6642\u9593\u3084\u30ed\u30fc\u30c9\u30a2\u30d9\u30ec\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3001<\/p>\n<p>\u518d\u8d77\u52d5\u304c\u304b\u304b\u3063\u3066\u3044\u306a\u3044\u304b\u3084\u30b5\u30fc\u30d0\u306e\u8ca0\u8377\u72b6\u6cc1\u306f\u3069\u3046\u304b\u3068\u3044\u3046\u3053\u3068\u304c\u7c21\u5358\u306b\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u300c<strong><em>last<\/em><\/strong>\u300d<\/p>\n<p>\u904e\u53bb\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u305f\u30e6\u30fc\u30b6\u30fc\u3001\u4eca\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u3092\u8868\u793a\u3057\u3066\u304f\u308c\u307e\u3059\uff01<\/p>\n<p>\u969c\u5bb3\u304c\u8d77\u3053\u3063\u305f\u6642\u9593\u306b\u8ab0\u304b\u30ed\u30b0\u30a4\u30f3\u3092\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001<\/p>\n<p>\u4f5c\u696d\u5f71\u97ff\u306a\u306e\u304b\u969c\u5bb3\u306a\u306e\u304b\u3092\u5207\u308a\u5206\u3051\u308b\u306e\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u300clast -20\u300d\u3068\u5b9f\u884c\u3059\u308b\u3068\u904e\u53bb20\u30e6\u30fc\u30b6\u30fc\u5206\u304c\u3067\u3066\u304f\u308b\u306e\u3067\u5206\u304b\u308a\u3084\u3059\u3044\u3067\u3059<\/p>\n<p>&nbsp;<\/p>\n<p>\u300c<strong><em>ps<\/em><\/strong>\u300d<\/p>\n<p>\u30d7\u30ed\u30bb\u30b9\u306e\u8d77\u52d5\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff01<\/p>\n<p>\u3069\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u3069\u308c\u304f\u3089\u3044\u8d77\u52d5\u3057\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u969c\u5bb3\u5bfe\u5fdc\u4e2d\u306b\u3082<\/p>\n<p>\u591a\u7528\u3057\u307e\u3059\u3002\u30b5\u30fc\u30d3\u30b9\u306e\u518d\u8d77\u52d5\u306e\u524d\u5f8c\u306bps\u3092\u5b9f\u884c\u3057\u3066\u672c\u5f53\u306b\u518d\u8d77\u52d5\u3067\u30d7\u30ed\u30bb\u30b9\u304c<\/p>\n<p>\u8d77\u52d5\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u306e\u306b\u5fc5\u305a\u4f7f\u3044\u307e\u3059\uff01<\/p>\n<p>\u8a73\u7d30\u3092\u30c4\u30ea\u30fc\u4e0a\u306b\u51fa\u529b\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u305f\u65b9\u304c\u5206\u304b\u308a\u3084\u3059\u3044\u306e\u3067\u3001<\/p>\n<p>\u300cps auxfwww\u300d\u3068\u5b9f\u884c\u3059\u308b\u3053\u3068\u3084\u300cps auxfwww | grep httpd\u300d\u306e\u3088\u3046\u306b<\/p>\n<p>\u7279\u5b9a\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u30d1\u30a4\u30d7\u3068grep\u3092\u4f7f\u3063\u3066\u691c\u7d22\u3059\u308b\u3053\u3068\u3082\u591a\u3044\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u300c<strong><em>netstat<\/em><\/strong>\u300d<\/p>\n<p>\u30b5\u30fc\u30d0\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u9593\u306e\u901a\u4fe1\u72b6\u6cc1\u3092\u8abf\u3079\u308b\u969b\u306b\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff01<\/p>\n<p>\u5bfe\u8c61\u306e\u30b5\u30fc\u30d0\u306b\u5bfe\u3057\u3066\u306e\u901a\u4fe1\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3084\u3001\u958b\u3044\u3066\u3044\u308b\u30dd\u30fc\u30c8\u306e\u78ba\u8a8d\u3092<\/p>\n<p>\u3059\u308b\u305f\u3081\u306b\u4f7f\u3046\u4e8b\u304c\u591a\u3044\u3067\u3059\u3002\u4f7f\u3046\u5834\u9762\u3068\u3057\u3066\u306fDDos\u653b\u6483\u306a\u3069\u3092\u5224\u65ad\u3059\u308b\u305f\u3081\u306b<\/p>\n<p>\u300cnetstat -an\u300d\u3068\u5b9f\u884c\u3057\u3066\u7279\u5b9a\u306eIP\u304b\u3089\u7279\u5b9a\u306e\u30dd\u30fc\u30c8\u306b\u5bfe\u3057\u3066\u306e\u901a\u4fe1\u304c\u8cbc\u3089\u308c\u3066<\/p>\n<p>\u3044\u306a\u3044\u304b\u3069\u3046\u304b\u3084\u3001\u300cnetstat -ln\u300d\u3067\u63a5\u7d9a\u5f85\u3061\u72b6\u614b\u306e\u30bd\u30b1\u30c3\u30c8\u3092\u8868\u793a\u3055\u305b\u305f\u308a\u3059\u308b<\/p>\n<p>\u5834\u9762\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u300c<strong><em>vmstat<\/em><\/strong>\u300d<\/p>\n<p>\u30e1\u30e2\u30ea\u30fc\u3084CPU\u306e\u8ca0\u8377\u7387\u3084\u4f7f\u7528\u72b6\u6cc1\u3092\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff01<\/p>\n<p>\u30e1\u30e2\u30ea\u3092\u4f7f\u3044\u304d\u3063\u3066swap\u9818\u57df\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044\u304b\u3084CPU\u306e\u4f7f\u7528\u7387\u304c\u9ad8\u304f\u306a\u3044\u304b\u306a\u3069<\/p>\n<p>\u3092\u30ea\u30bd\u30fc\u30b9\u306e\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u300c<strong><em>dmesg<\/em><\/strong>\u300d<\/p>\n<p>\u30ab\u30fc\u30cd\u30eb\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u51fa\u529b\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff01<\/p>\n<p>\u30ab\u30fc\u30cd\u30eb\u304b\u3089\u4f55\u304b\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3069\u3046\u304b\u3068\u3044\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\uff01<\/p>\n<p>\u3053\u3053\u306b\u30a8\u30e9\u30fc\u304c\u3067\u3066\u3044\u308b\u3068\u6df1\u523b\u306a\u30a8\u30e9\u30fc\u3067\u3042\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u300c<strong><em>top<\/em><\/strong>\u300d<\/p>\n<p>CPU\u3084\u30e1\u30e2\u30ea\u306a\u3069\u306e\u30ea\u30bd\u30fc\u30b9\u72b6\u6cc1\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u8868\u793a\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\uff01<\/p>\n<p>\u30b7\u30b9\u30c6\u30e0\u4e0a\u3067\u6700\u3082\u30ea\u30bd\u30fc\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u9806\u306b\u30d7\u30ed\u30bb\u30b9\u3092\u8868\u793a\u3057\u3066\u304f\u308c\u308b\u306e\u3067<\/p>\n<p>\u3069\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u30ea\u30bd\u30fc\u30b9\u3092\u5360\u6709\u3057\u3066\u3044\u308b\u304b\u3068\u3044\u3046\u3053\u3068\u304c\u5224\u65ad\u3067\u304d\u307e\u3059\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>\u662f\u975e\u3001\u53c2\u8003\u306b\u3057\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\uff01<\/p>\n<p>\u4ee5\u4e0a\u3067\u3059\uff01\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u3053\u3093\u306b\u3061\u306f\uff01\uff01 \u5927\u5206\u5916\u3082\u6dbc\u3057\u304f\u306a\u3063\u3066\u904e\u3054\u3057\u3084\u3059\u3044\u65e5\u304c\u7d9a\u3044\u3066\u3044\u307e\u3059\u306d\uff01 \u4eca\u56de\u306f\u3001\u5f0a\u793e\u30b5\u30fc\u30d3\u30b9\u306e\u8981\u3067\u3042\u308b\u201d\u30b5\u30fc\u30d0\u76e3\u8996\u201d\u306e\u969b\u306b\u969c\u5bb3\u5207\u308a\u5206\u3051\u3067 \u3088\u304f\u4f7f\u308f\u308c\u308bLinux\u306e\u30b3\u30de\u30f3\u30c9\u3092\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059(^\u30fb^) \u25bc&#8230;<\/p>\n","protected":false},"author":1,"featured_media":438,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"","_original_post":"","footnotes":""},"categories":[29],"tags":[],"class_list":{"0":"post-1238","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-linux","8":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/1238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=1238"}],"version-history":[{"count":3,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/1238\/revisions"}],"predecessor-version":[{"id":2128,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/1238\/revisions\/2128"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/438"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=1238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=1238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=1238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}