Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 2 Jun 2006 07:55:01 -0700,    group: microsoft.public.win32.programmer.tools        back       


Perfmon log does not show counters that I captured   
I'm not sure this is the appropriate newsgroup, though I could not find a 
better one.  I think there should probably be a management newsgroup.

I created a perfmon log.  I added several performance objects to it and some 
counters also.  I started the log, ran my tests and after my tests were over 
I stopped the log.  Unfortunately I see that some of the performance objects 
that I added to the log are not showing up in the log I captured.  Any idea 
why?  By the way, the only ones that are missing are our custom performance 
objects.  I was viewing these counters as the test was running in an instance 
of perfmon.  At first I thought that maybe they weren't showing up because 
our application had crashed and thus they weren't loaded.  Show I restarted 
our application but that didn't seem to help.  I'm hoping it doesn't have 
anything to do with our app crashing at the end of the test and somehow 
invaliding those counters in the log.
-- 
Thanks,
Nick
date: Fri, 2 Jun 2006 07:55:01 -0700   author:   nickdu

RE: Perfmon log does not show counters that I captured   
So this seems to be some sort of permissioning problem as the counters show 
up fine when viewing them in the system monitor window but any perfmon log 
does not contain the counters.  I decided to look in the security event log 
to see if anything interesting showed up.  Indeed there are failure audits on 
object access which relate to my problem.  I've included the text of the 
details window below.

Object Open:
 	Object Server:	Security
 	Object Type:	Section
 	Object Name:	\BaseNamedObjects\ATLPERF_Performance.Eom_000
 	Handle ID:	-
 	Operation ID:	{0,1173087071}
 	Process ID:	1684
 	Image File Name:	C:\WINDOWS\system32\smlogsvc.exe
 	Primary User Name:	NETWORK SERVICE
 	Primary Domain:	NT AUTHORITY
 	Primary Logon ID:	(0x0,0x3E4)
 	Client User Name:	-
 	Client Domain:	-
 	Client Logon ID:	-
 	Accesses:	Map section for read 
			
 	Privileges:	-
 	Restricted Sid Count:	0
 	Access Mask:	0x4


For more information, see Help and Support Center at 
http://go.microsoft.com/fwlink/events.asp.
-- 
Thanks,
Nick


"nickdu" wrote:

> I'm not sure this is the appropriate newsgroup, though I could not find a 
> better one.  I think there should probably be a management newsgroup.
> 
> I created a perfmon log.  I added several performance objects to it and some 
> counters also.  I started the log, ran my tests and after my tests were over 
> I stopped the log.  Unfortunately I see that some of the performance objects 
> that I added to the log are not showing up in the log I captured.  Any idea 
> why?  By the way, the only ones that are missing are our custom performance 
> objects.  I was viewing these counters as the test was running in an instance 
> of perfmon.  At first I thought that maybe they weren't showing up because 
> our application had crashed and thus they weren't loaded.  Show I restarted 
> our application but that didn't seem to help.  I'm hoping it doesn't have 
> anything to do with our app crashing at the end of the test and somehow 
> invaliding those counters in the log.
> -- 
> Thanks,
> Nick
date: Mon, 5 Jun 2006 07:15:01 -0700   author:   nickdu

RE: Perfmon log does not show counters that I captured   
While doing some searching on the web I see that others have had similar 
problems.  The one post indicated the performance service does not have the 
permissions to open/modify the counters because it's running as Network 
Service.  The suggested solution was to change the identity to LocalSystem.  
I would rather not do this and instead give whatever rights to Network 
Service on whatever resources I need to.  Though I don't know what resources 
and what rights.
-- 
Thanks,
Nick


"nickdu" wrote:

> So this seems to be some sort of permissioning problem as the counters show 
> up fine when viewing them in the system monitor window but any perfmon log 
> does not contain the counters.  I decided to look in the security event log 
> to see if anything interesting showed up.  Indeed there are failure audits on 
> object access which relate to my problem.  I've included the text of the 
> details window below.
> 
> Object Open:
>  	Object Server:	Security
>  	Object Type:	Section
>  	Object Name:	\BaseNamedObjects\ATLPERF_Performance.Eom_000
>  	Handle ID:	-
>  	Operation ID:	{0,1173087071}
>  	Process ID:	1684
>  	Image File Name:	C:\WINDOWS\system32\smlogsvc.exe
>  	Primary User Name:	NETWORK SERVICE
>  	Primary Domain:	NT AUTHORITY
>  	Primary Logon ID:	(0x0,0x3E4)
>  	Client User Name:	-
>  	Client Domain:	-
>  	Client Logon ID:	-
>  	Accesses:	Map section for read 
> 			
>  	Privileges:	-
>  	Restricted Sid Count:	0
>  	Access Mask:	0x4
> 
> 
> For more information, see Help and Support Center at 
> http://go.microsoft.com/fwlink/events.asp.
> -- 
> Thanks,
> Nick
> 
> 
> "nickdu" wrote:
> 
> > I'm not sure this is the appropriate newsgroup, though I could not find a 
> > better one.  I think there should probably be a management newsgroup.
> > 
> > I created a perfmon log.  I added several performance objects to it and some 
> > counters also.  I started the log, ran my tests and after my tests were over 
> > I stopped the log.  Unfortunately I see that some of the performance objects 
> > that I added to the log are not showing up in the log I captured.  Any idea 
> > why?  By the way, the only ones that are missing are our custom performance 
> > objects.  I was viewing these counters as the test was running in an instance 
> > of perfmon.  At first I thought that maybe they weren't showing up because 
> > our application had crashed and thus they weren't loaded.  Show I restarted 
> > our application but that didn't seem to help.  I'm hoping it doesn't have 
> > anything to do with our app crashing at the end of the test and somehow 
> > invaliding those counters in the log.
> > -- 
> > Thanks,
> > Nick
date: Mon, 5 Jun 2006 07:40:02 -0700   author:   nickdu

RE: Perfmon log does not show counters that I captured   
Well I'm going to answer my own question here.  We used ATL's perfmon classes 
to implement our own performance counters.  Those classes do not give 
permission to the NetworkService account.  I modified the ATL source to give 
the NetworkService permission and things are now working.
-- 
Thanks,
Nick


"nickdu" wrote:

> While doing some searching on the web I see that others have had similar 
> problems.  The one post indicated the performance service does not have the 
> permissions to open/modify the counters because it's running as Network 
> Service.  The suggested solution was to change the identity to LocalSystem.  
> I would rather not do this and instead give whatever rights to Network 
> Service on whatever resources I need to.  Though I don't know what resources 
> and what rights.
> -- 
> Thanks,
> Nick
> 
> 
> "nickdu" wrote:
> 
> > So this seems to be some sort of permissioning problem as the counters show 
> > up fine when viewing them in the system monitor window but any perfmon log 
> > does not contain the counters.  I decided to look in the security event log 
> > to see if anything interesting showed up.  Indeed there are failure audits on 
> > object access which relate to my problem.  I've included the text of the 
> > details window below.
> > 
> > Object Open:
> >  	Object Server:	Security
> >  	Object Type:	Section
> >  	Object Name:	\BaseNamedObjects\ATLPERF_Performance.Eom_000
> >  	Handle ID:	-
> >  	Operation ID:	{0,1173087071}
> >  	Process ID:	1684
> >  	Image File Name:	C:\WINDOWS\system32\smlogsvc.exe
> >  	Primary User Name:	NETWORK SERVICE
> >  	Primary Domain:	NT AUTHORITY
> >  	Primary Logon ID:	(0x0,0x3E4)
> >  	Client User Name:	-
> >  	Client Domain:	-
> >  	Client Logon ID:	-
> >  	Accesses:	Map section for read 
> > 			
> >  	Privileges:	-
> >  	Restricted Sid Count:	0
> >  	Access Mask:	0x4
> > 
> > 
> > For more information, see Help and Support Center at 
> > http://go.microsoft.com/fwlink/events.asp.
> > -- 
> > Thanks,
> > Nick
> > 
> > 
> > "nickdu" wrote:
> > 
> > > I'm not sure this is the appropriate newsgroup, though I could not find a 
> > > better one.  I think there should probably be a management newsgroup.
> > > 
> > > I created a perfmon log.  I added several performance objects to it and some 
> > > counters also.  I started the log, ran my tests and after my tests were over 
> > > I stopped the log.  Unfortunately I see that some of the performance objects 
> > > that I added to the log are not showing up in the log I captured.  Any idea 
> > > why?  By the way, the only ones that are missing are our custom performance 
> > > objects.  I was viewing these counters as the test was running in an instance 
> > > of perfmon.  At first I thought that maybe they weren't showing up because 
> > > our application had crashed and thus they weren't loaded.  Show I restarted 
> > > our application but that didn't seem to help.  I'm hoping it doesn't have 
> > > anything to do with our app crashing at the end of the test and somehow 
> > > invaliding those counters in the log.
> > > -- 
> > > Thanks,
> > > Nick
date: Mon, 5 Jun 2006 12:11:02 -0700   author:   nickdu

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us