2011年3月2日水曜日

Windows(Server 2008)でロードアベレージ的な情報の取得

スズキです。

下記コマンドで取得できます。

C:\Users\Administrator>typeperf "\System\Processor Queue Length"

"(PDH-CSV 4.0)","\\IP-0A832BE2\System\Processor Queue Length"
"03/02/2011 12:46:16.553","1.000000"
"03/02/2011 12:46:17.567","0.000000"
"03/02/2011 12:46:18.581","0.000000"
"03/02/2011 12:46:19.595","0.000000"
"03/02/2011 12:46:20.609","0.000000"
"03/02/2011 12:46:21.623","0.000000"
"03/02/2011 12:46:22.637","0.000000"
"03/02/2011 12:46:23.651","0.000000"
"03/02/2011 12:46:24.665","0.000000"
"03/02/2011 12:46:25.679","0.000000"
"03/02/2011 12:46:26.693","0.000000"
"03/02/2011 12:46:27.707","0.000000"
"03/02/2011 12:46:28.721","0.000000"

The command completed successfully.

Linuxのようにはいかないなー…
--------
http://www.suz-lab.com

0 コメント: