2011-03-09 16 views
1

WMIパフォーマンスカウンターの名前を解析するための仕様はありますか?標準名は '\ Xxxx \ Yy yy \ Zzzz zzz'のように見えますが、 '\ Aaaa aaa \ Bb bb BLAH(bbb \ bbbb)\ CCC ccc ccc'のようなカスタム名があります。埋め込まれた括弧つき要素に '\'が埋め込まれています。これらの名前で許されるものを記述する仕様はありますか?WMIカウンターの命名仕様

\Process(Idle)\% Processor Time 
\Process(System)\% Processor Time 
\LogicalDisk(HarddiskVolume1)\Avg. Disk Bytes/Transfer 
\LogicalDisk(C:)\Avg. Disk Bytes/Transfer 
\LogicalDisk(_Total)\Avg. Disk Bytes/Transfer 
\LogicalDisk(HarddiskVolume1)\Avg. Disk Bytes/Read 
\LogicalDisk(C:)\Avg. Disk Bytes/Read 
\LogicalDisk(_Total)\Avg. Disk Bytes/Read 
\LogicalDisk(HarddiskVolume1)\Avg. Disk Bytes/Write 
\Thread(w3wp/7)\Priority Current 
\Thread(w3wp/8)\Priority Current 
\Thread(explorer/7)\Priority Current 
\MSMQ Outgoing HTTP Session(*)\Outgoing HTTP Bytes 
\MSMQ Queue(os:zyxwvut1dv\private$\profilestats_submissions_dev_current_1)\Messages in Queue 
\Per Processor Network Interface Card Activity(1, Intel(R) PRO-1000 MT Network Connection)\Received Packets/sec 
\Netlogon(\\ZY2XWVUT1.app5000.online)\Semaphore Waiters 
ここ

あるいくつかのカスタムカウンタ名:

\Customer App (current) DEV(netmix\auth.asmx\authtkts)\ErrorCode.InvalidState Count 
\Customer App (current) DEV(lorem\ipsem.asmx\rdunlcks)\ErrorCode.InvalidState Count 
\Customer App (current) DEV(netmix\legal.asmx\getvalidverid)\ErrorCode.OutOfRange Count 
\Customer App (current) DEV(lorem\acq.asmx\submit)\ErrorCode.OutOfRange Count 
\Customer App (current) DEV(netmix\milestones.asmx\getmilestones)\ErrorCode.OutOfRange Count 
\Customer App (current) AUTH(*)\ErrorCode.UnknownError Count 

注:ここでは

は、いくつかの典型的な標準カウンタ名でちょうど正規表現を探して 私は ないことでしょう上記の指定された文字列に一致します。私はこれを定義する文書化された仕様への参照を持っていたいと思います。

+0

あなたが意味する名前の正確な例を書くので、私たち下さいあなたが話している名前について理解できます。 – jing

答えて

0

名前はAが256文字

  • Bの上限は1024文字
  • の制限がありました
    1. の\ B \の形式です。任意の特定の「無効であることを表示されません。 'のいずれかの文字。

    参考文献(それぞれの '名前' のサブセクションを確認してください):

  • +0

    これはまあまあです。したがって、いずれかに埋め込まれた '\'がある場合、名前から部品を明白に分離することはできません。区切り文字 '\'をコンテンツ '\'から伝える方法はありません。 : – PaulMcG

    +0

    @Paulそれは見た目です。良いことは、\ A \ Bは構築された名前なので、別の方法でデータを取得することができるかもしれません。どのように名前を取得していますか? – Jon

    +0

    @Jon - Sambaでリモートレジストリアクセスを使用する(Linuxの場合) – PaulMcG