加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows-server-2008 – Windows性能计数器中的(*)是什么

发布时间:2020-12-14 00:13:31 所属栏目:Windows 来源:网络整理
导读:以下面的计数器为例: LogicalDisk(*)% Free Space 哪里可以找到什么可以代替*? 我知道有时它是_global_,有时它可以是_total_.我不知道差异(除了明显的猜测). 还有什么可用? 我可以/不能用于不同的柜台? 星号代表“所有实例”,其中包括_Total(如果适用)
以下面的计数器为例:

LogicalDisk(*)% Free Space

哪里可以找到什么可以代替*?

我知道有时它是_global_,有时它可以是_total_.我不知道差异(除了明显的猜测).

还有什么可用?
我可以/不能用于不同的柜台?

星号代表“所有实例”,其中包括_Total(如果适用).

Perfmon可能是最容易查看计数器并查看系统可用内容的地方.

从documentation for typeperf:

?Counter path format 

The general format for counter paths is as follows: [Computer]object[parent/instance#index]counter] where:

The parent,instance,index,and counter components of the format may contain either a valid name or a wildcard character. The computer,parent,and index components are not necessary for all counters.

You determine the counter paths to use based on the counter itself. For example,the LogicalDisk object has an instance index,so you must provide the #index or a wildcard. Therefore,you could use the following format:

LogicalDisk(*/*#*)*

In comparison,the Process object does not require an instance index. Therefore,you could use the following format:

Process(*)ID Process

The following is a list of the possible formats: ? machineobject(parent/instance#index)counter 

? machineobject(parent/instance)counter 

? machineobject(instance#index)counter 

? machineobject(instance)counter 

? machineobjectcounter 

? object(parent/instance#index)counter 

? object(parent/instance)counter 

? object(instance#index)counter 

? object(instance)counter 

? objectcounter

编辑:哦,别忘了在Powershell中查看Get-Counter:

PS C:&; (Get-Counter -ListSet Memory).Paths

MemoryPage Faults/sec
MemoryAvailable Bytes
MemoryCommitted Bytes
MemoryCommit Limit
MemoryWrite Copies/sec
MemoryTransition Faults/sec
MemoryCache Faults/sec
MemoryDemand Zero Faults/sec
MemoryPages/sec
MemoryPages Input/sec
...

The second command gets the path names that include "cache".
PS C:&; (Get-Counter -ListSet Memory).Paths | Where {$_ -like "*Cache*"}

MemoryCache Faults/sec
MemoryCache Bytes
MemoryCache Bytes Peak
MemorySystem Cache Resident Bytes
MemoryStandby Cache Reserve Bytes
MemoryStandby Cache Normal Priority Bytes
MemoryStandby Cache Core Bytes

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读