在logman中,所有实例都应包含_Total吗? [英] In logman, should All Instances include _Total?

查看:130
本文介绍了在logman中,所有实例都应包含_Total吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


如果已经在其他地方询问并回答了这个问题,我很抱歉。


我想收集IIS工作进程使用logman进行perfmon数据。 当我在PerfMon中添加计数器时,选择All Instances会给出所有实例(每个应用程序池的每个w3wp进程加上_Total)。 当我尝试在"logman"中获得相同的内容时
创建计数器"使用


-c" \w3svc_w3wp(*)\ *"


我得到的只是_Total,没有个别实例。


通过获取关于父/实例#index的错误结束(来自
http://technet.microsoft.com/en-us/library/bb490956.aspx),
我碰巧尝试了


- c" \w3svc_w3wp(**)\ *"


给出了单个实例,但没有_Total。 我尝试过使用(**)和(_Total)的组合,但只给出了个别实例。


我确定我做的是一些简单的错误并且会欣赏有人告诉我它是什么。


谢谢


dg





dg

解决方案

< blockquote>

再次问好


我继续尝试为所有实例收集程序计数器,不仅仅是_Total,而且不仅是每个单独的实例栏_Total。


我认为只是Logman不符合我的期望,但我对PerfMon制作的数据收集器套件有同样的问题。 当在PerfMon中运行时,我正在收集所有实例,这些实例转换为"*"。在计数器中添加
时,但在我查看时具体命名实例



  • 该数据收集器集的系统监视器日志
  • 该数据收集器集的Logman查询。

(可能这意味着如果应用程序池回收,则不会拾取应用程序池工作进程,从而更改ID号在实例名称的开头。但是这不适用于处理器实例。)


但是当我查看PerfMon中的二进制日志文件时,我只看到了实例"_Total"。


因此,无论我使用logman还是指定实例"*",或者我是否使用PerfMon创建一个新的记录计数器都是相同的数据收集器从当前的实时计数器设置。 我只得到_Total的结果,而不是单个实例的结果。


我希望获得文档的指导,解释这是预期的行为,或解释如何为个人收集计数器实时以外的实例。


请帮助。 谢谢



Hello

If this question has already been asked and answered elsewhere, my apologies.

I want to collect IIS worker process perfmon data using logman.  When I add counters in PerfMon, choosing All Instances gives all instances (each w3wp process for each application pool, plus _Total).  When I try to get the same in "logman  create counter" using

-c "\w3svc_w3wp(*)\*"

All I get is _Total, none of the individual instances.

Through getting the wrong end of the stick about parent/instance#index (from http://technet.microsoft.com/en-us/library/bb490956.aspx), I happened into trying

-c "\w3svc_w3wp(**)\*"

which gave the individual instances but not _Total.  I've tried a combination of using (**) and (_Total), but that gave the individual instances only.

I'm sure I'm doing something simple wrong and would appreciate someone telling me what it is.

Thank you

dg


dg

解决方案

Hello again

I've continued trying to collect program counters for all instances, not only _Total, and not only every individual instance bar _Total.

I thought that it was just Logman that didn't agree with my expectations, but I'm having the same problem with Data Collector Sets made in PerfMon.  When running live in PerfMon, I'm collecting for all the instances, which translates as "*" when adding the counters, but specifically names the instances when I look in

  • System Monitor Log for that Data Collector Set
  • Logman query for that Data Collector Set.

(Presumably this means that the application pool worker processes would not be picked up if the application pool recycles, thus changing the ID number at the start of the instance name.  But that does not apply to processor instances.)

But when I look at the binary log file in PerfMon, I'm only seeing counters for instance "_Total".

So, it seems that the recorded counters are the same whether I use logman and specify instance "*", or whether I use PerfMon and create a new Data Collector Set from the current live counters.  I only get results for _Total, not for individual instances.

I would appreciate guidance to documentation that explains that this is the expected behaviour, or an explanation of how to collect the counters for the individual instances other than in real time.

Please help.  Thanks


这篇关于在logman中,所有实例都应包含_Total吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆