是否有解析WMI性能计数器名称的规范?标准名称看起来像'\Xxxx\Yy \ yy\Zzzz‘,但是我们看到一些自定义名称看起来像'\Aaaa aaa \Bb BLAH(bbb\bbbb)\Ccc ccc',也就是尾随空格,以及嵌入了嵌入式’‘s’s的内嵌括号元素。有没有规范来描述这些名称中允许使用什么?
以下是一些典型的标准计数器名称:
\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注释:,我不是在寻找与上面给定的字符串匹配的正则表达式。我想要引用定义这一点的文档规范。
发布于 2011-03-21 17:38:06
姓名为表格\A\B
。
参考资料(请查看每个条目的“名称”分节):
http://msdn.microsoft.com/en-us/library/aa394299%28v=vs.85%29.aspx
:
https://stackoverflow.com/questions/5252089
复制相似问题