{"id":512,"date":"2013-12-24T19:48:00","date_gmt":"2013-12-24T10:48:00","guid":{"rendered":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=512"},"modified":"2023-03-07T10:15:07","modified_gmt":"2023-03-07T01:15:07","slug":"wmi%e3%81%ab%e3%82%88%e3%82%8bcpu%e4%bd%bf%e7%94%a8%e7%8e%87%e3%81%a8%e3%81%97%e3%81%8d%e3%81%84%e5%80%a4%e9%81%95%e5%8f%8d%e3%82%a2%e3%83%a9%e3%83%bc%e3%83%88%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%97","status":"publish","type":"post","link":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=512","title":{"rendered":"WMI\u306b\u3088\u308bCPU\u4f7f\u7528\u7387\u3068\u3001\u3057\u304d\u3044\u5024\u9055\u53cd\u30a2\u30e9\u30fc\u30c8\u304c\u767a\u751f\u3057\u305f\u6642\u306b\u8868\u793a\u3055\u308c\u308btop3\u30d7\u30ed\u30bb\u30b9\u306eCPU\u4f7f\u7528\u7387\u306e\u4ed5\u69d8\u306b\u3064\u3044\u3066\u6559\u3048\u3066\u6b32\u3057\u3044"},"content":{"rendered":"<h2>\u8981\u671b<\/h2>\n<p>WMI\u306b\u3088\u308bCPU\u4f7f\u7528\u7387\u3068\u3057\u304d\u3044\u5024\u9055\u53cd\u30a2\u30e9\u30fc\u30c8\u304c\u767a\u751f\u3057\u305f\u6642\u306b\u8868\u793a\u3055\u308c\u308b<br \/>\ntop3\u30d7\u30ed\u30bb\u30b9\u306eCPU\u4f7f\u7528\u7387\u306e\u4ed5\u69d8\u306b\u3064\u3044\u3066\u6559\u3048\u3066\u6b32\u3057\u3044\u3002<\/p>\n<h2>\u89e3\u8aac<\/h2>\n<h5>WMI\u306b\u3088\u308bCPU\u4f7f\u7528\u7387\u76e3\u8996\u306e\u4ed5\u69d8\u306b\u3064\u3044\u3066<\/h5>\n<p>OpManager\u3067\u306f\u3001Win32_Processor \u30af\u30e9\u30b9\u306e LoadPercentage \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u53c2\u7167\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u901a\u308a\u3001\u88c5\u7f6e\u306eCPU\u4f7f\u7528\u7387\u306f\u77ac\u9593\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>\u53c2\u8003\u60c5\u5831)<br \/>\nLoad capacity of each processor, averaged to the last second.<br \/>\nProcessor loading refers to the total computing burden for each processor at one time. This property is inherited from CIM_Processor.<\/p>\n<p>\u53c2\u8003URL)<br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/aa394373(v=vs.85).aspx#fbid=CdSr7LMRjOG\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/aa394373(v=vs.85).aspx#fbid=CdSr7LMRjOG<\/a><\/p>\n<h5>WMI\u306b\u3088\u308bTOP3\u30d7\u30ed\u30bb\u30b9\u306eCPU\u4f7f\u7528\u7387\u306e\u4ed5\u69d8\u306b\u3064\u3044\u3066<\/h5>\n<p>OpManager\u3067\u306fWin32_PerfRawData_PerfProc_Process \u30af\u30e9\u30b9\u306e<br \/>\nTimestamp_Sys100NS\u3001PercentProcessorTime \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u53c2\u7167\u3057\u3001\u4ee5\u4e0b\u306e\u8a08\u7b97\u5f0f\u3067\u6c42\u3081\u307e\u3059\u3002<\/p>\n<p><strong>\u8a08\u7b97\u5f0f)<\/strong><\/p>\n<p>((PTn - PTn-1) \/ (TSn - TSn-1)) * (100 \/ CPU\u30d7\u30ed\u30bb\u30c3\u30b5\u6570)<br \/>\nPTn : n\u56de\u76ee\u8a08\u6e2c\u6642\u306e PercentProcessorTime \u5024<br \/>\nTSn : n\u56de\u76ee\u8a08\u6e2c\u6642\u306e Timestamp_Sys100NS \u5024<\/p>\n<p>OpManager\u3067\u306f\u77ac\u6642\u306bPT1,TS1\u3092\u305d\u308c\u305e\u308c\u53d6\u5f97\u3059\u308b\u3068\u5373\u6642\u306bPT2,TS2\u306e\u5024\u3092\u53d6\u5f97\u3057\u3001\u4e0a\u8a18\u306e\u8a08\u7b97\u5f0f\u304b\u3089\u5024\u3092\u6c42\u3081\u307e\u3059\u3002<br \/>\n\u305d\u306e\u5024\u3092TOP3\u30d7\u30ed\u30bb\u30b9\u306eCPU\u4f7f\u7528\u7387\u3068\u3057\u3066\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u53c2\u8003\u60c5\u5831)<br \/>\nPercentProcessorTime<br \/>\nReturns elapsed time that all of the threads of this process used the processor to execute instructions in 100 nanoseconds ticks.<br \/>\nAn instruction is the basic unit of execution in a computer, a thread is the object that executes instructions, and a process is the object created when a program is run.<br \/>\nCode executed to handle some hardware interrupts and trap conditions is included in this count.<\/p>\n<p>\u53c2\u8003URL)<br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/aa394323(v=vs.85).aspx\">http:\/\/msdn.microsoft.com\/en-us\/library\/aa394323(v=vs.85).aspx<\/a><\/p>\n<p>\u78ba\u8a8d\u624b\u9806)<br \/>\n1. [Windows\u30b9\u30bf\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc]\u306e\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u3067 wbemtest.exe \u3068\u5165\u529b\u3057<br \/>\n[Windows Management Instrumentation \u30c6\u30b9\u30c8] \u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>2. [\u63a5\u7d9a]\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3057\u3001\u5bfe\u8c61\u88c5\u7f6e\u306b\u3064\u3044\u3066\u4ee5\u4e0b\u60c5\u5831\u3092\u5165\u529b\u5f8c\u3001[\u63a5\u7d9a]\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3057\u307e\u3059\u3002<br \/>\n[\u540d\u524d\u7a7a\u9593] : \u300c\\\\[hostname]\\root\\cimv2\u300d<br \/>\n[\u30e6\u30fc\u30b6\u30fc] : \u300c\u7ba1\u7406\u8005\u6a29\u9650\u306e\u30e6\u30fc\u30b6\u540d\u300d<br \/>\n[\u30d1\u30b9\u30ef\u30fc\u30c9] : \u30d1\u30b9\u30ef\u30fc\u30c9<\/p>\n<p>3. [\u30af\u30a8\u30ea]\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3057\u3001\u4ee5\u4e0b\u30af\u30a8\u30ea\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\nselect * from\u00a0Win32_PerfRawData_PerfProc_Process<br \/>\n4.\u8868\u793a\u3055\u308c\u305f\u30d7\u30ed\u30bb\u30b9\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af<br \/>\n5.\u8868\u793a\u3055\u308c\u305f\u753b\u9762\u306b\u3066\u3001MOF\u306e\u8868\u793a\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b<br \/>\n6.\u4e0a\u8a18\u3001<strong>\u8a08\u7b97\u5f0f)<\/strong>\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3010\u5bfe\u5fdc\u30ea\u30ea\u30fc\u30b9\u3011 10.2\u4ee5\u964d<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8981\u671b WMI\u306b\u3088\u308bCPU\u4f7f\u7528\u7387\u3068\u3057\u304d\u3044\u5024\u9055\u53cd\u30a2\u30e9\u30fc\u30c8\u304c\u767a\u751f\u3057\u305f\u6642\u306b\u8868\u793a\u3055\u308c\u308b top3\u30d7\u30ed\u30bb\u30b9\u306eCPU\u4f7f\u7528\u7387\u306e\u4ed5\u69d8\u306b\u3064\u3044\u3066\u6559\u3048\u3066\u6b32\u3057\u3044\u3002 \u89e3\u8aac WMI\u2026 <a href=\"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=512\" class=\"more\">\uff3b\u7d9a\u304d\u3092\u8aad\u3080\uff3d<\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"","footnotes":""},"categories":[12],"tags":[163,307,474,141],"class_list":{"0":"post-512","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-3-design-opm","7":"tag-cpu","9":"tag-top3","10":"tag-wmi"},"modified_by":"yuka","_links":{"self":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts\/512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=512"}],"version-history":[{"count":11,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts\/512\/revisions"}],"predecessor-version":[{"id":19114,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts\/512\/revisions\/19114"}],"wp:attachment":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}