windows-server-2008 – Windows性能计数器中的(*)是什么
发布时间:2020-12-14 00:13:31 所属栏目:Windows 来源:网络整理
导读:以下面的计数器为例: LogicalDisk(*)% Free Space 哪里可以找到什么可以代替*? 我知道有时它是_global_,有时它可以是_total_.我不知道差异(除了明显的猜测). 还有什么可用? 我可以/不能用于不同的柜台? 星号代表“所有实例”,其中包括_Total(如果适用)
以下面的计数器为例:
哪里可以找到什么可以代替*? 我知道有时它是_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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 将两个uint8_t组合为uint16_t
- windows-server-2008 – 在Windows Server 2008上创建证书
- .net – 调试Windows服务
- windows-server-2008-r2 – “显示桌面图标”的GPO选项?
- 如何在Windows 7中打开剪贴板查看器
- Windows?2000日志的描述及删除
- 查询动态库文件(Windows *.dll, Linux *.so)所依赖的文件
- windows-server-2008-r2 – Win2008R2:暴力攻击预防
- botframework – Skype for Business中未显示的卡片和选择(
- Windows有点腻了?不如试试Ubuntu.
推荐文章
站长推荐
- 什么是将服务器添加到RDS的服务器池的PowerShell
- Win7、Win8、Win10始终以管理员身份运行程序。
- 使用.NET Core创建Windows服务(一) - 使用官方
- 一条线的分段节点问题第二次测试
- windows-7 – 如何在没有Visual Studio的Windows
- windows – PSExec如何以SYSTEM用户身份运行应用
- windows – 为什么在IIS中添加其他应用程序池?
- windows-server-2012 – 如何配置ADFS 2.0以在使
- 域名系统 – Windows 7:“本地主机名称解析在DN
- windows-server-2003 – IBM LTO 3磁带机定期“脱
热点阅读