[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.hyades] Re: Problems using Statistical Console
|
I tryed the perfmon in two machines, one running windows XP and othe running
windows 2000, but the problem persist. I didn't check the 'Connect to
remote registry' otpion in profile configuration.
I followed the steps, but the results were the same. When I run perfmon.exe
it works fine...
Below there are the messages printed in command prompt of PerfmonAgent.exe:
C:\hyades\bin>PerfmonAgent.exe
Using Resource DLL "sysperf.dll", Communications DLL "rac.dll"
Sending agent name from the collection DLL - PerfmonAgent
PerfmonAgent received agentname of PerfmonAgent
Setting the agent name is the transfer DLL to PerfmonAgent
Loading RAC libraries
Getting RAC functions
Initializing RAC bindings
Connecting to RAC - PerfmonAgent - #1102538019374
Starting RAC listener
Allocating message block
RAC Command 00000050
RAC Agent Controller available
RAC Startup succesful
Allocating buffer
RAC Command 00000017
RAC Agent Started Monitoring 0
RAC Command 00000019
Received a RA_SET_NAME_VALUE_PAIR event, type var_string, name
PERFMON_REG_HOST,
value null
FOUND NULL STRING null
RAC Command 00000019
Received a RA_SET_NAME_VALUE_PAIR event, type var_int, name DC_WAITTIME,
value 1
000
RAC Command 00000019
Received a RA_SET_NAME_VALUE_PAIR event, type updatetree, name , value true
Requested children of tree node
Perfmon Datacollection:Collecting from host (null)
Object Count is 49
ADDING OBJECT .NET CLR Data
ADDING OBJECT .NET CLR Networking
ADDING OBJECT .NET CLR Memory
ADDING OBJECT .NET CLR Interop
ADDING OBJECT .NET CLR Exceptions
ADDING OBJECT .NET CLR Loading
ADDING OBJECT .NET CLR LocksAndThreads
ADDING OBJECT .NET CLR Jit
ADDING OBJECT .NET CLR Remoting
ADDING OBJECT .NET CLR Security
ADDING OBJECT ASP.NET
ADDING OBJECT ASP.NET Applications
ADDING OBJECT ASP.NET v1.1.4322
ADDING OBJECT ASP.NET Apps v1.1.4322
ADDING OBJECT Indexing Service Filter
ADDING OBJECT Indexing Service
ADDING OBJECT Http Indexing Service
ADDING OBJECT Distributed Transaction Coordinator
ADDING OBJECT LogicalDisk
ADDING OBJECT PhysicalDisk
ADDING OBJECT Server
ADDING OBJECT Server Work Queues
ADDING OBJECT Redirector
ADDING OBJECT Browser
ADDING OBJECT Cache
ADDING OBJECT Processor
ADDING OBJECT Memory
ADDING OBJECT Objects
ADDING OBJECT Paging File
ADDING OBJECT System
ADDING OBJECT Process
ADDING OBJECT Thread
ADDING OBJECT Job Object
ADDING OBJECT Job Object Details
ADDING OBJECT PSched Pipe
ADDING OBJECT PSched Flow
ADDING OBJECT RSVP Service
ADDING OBJECT RSVP Interfaces
ADDING OBJECT Print Queue
ADDING OBJECT Telephony
ADDING OBJECT NBT Connection
ADDING OBJECT Network Interface
ADDING OBJECT IP
ADDING OBJECT ICMP
ADDING OBJECT TCP
ADDING OBJECT UDP
ADDING OBJECT Terminal Services Session
ADDING OBJECT Terminal Services
ADDING OBJECT WMI Objects
RAC Command 00000019
Received a RA_SET_NAME_VALUE_PAIR event, type var_int, name DC_WAITTIME,
value 1
000
[]'s
Rafael Espinha
"Antony Miguel" <antony.miguel@xxxxxxxxxxxxx> wrote in message
news:cp6oli$9df$1@xxxxxxxxxxxxxxxxxx
> The problem with the stop button not working is an existing bug that has
> been around for a while (71980). It is currently in the process of being
> fixed by the AC team but as a workaround the Perfmon Agent dies when the
> client detaches from it, so to kill the agent you've launched from the
> launch configuration (Run->Profile...) you can use the Detach action
> instead
> of Terminate (this in turn means that the agent does not support
> detach/attach). If you launch from StatCon then you can just right-click
> on
> the agent node and select 'Stop Trace' - this should terminate the agent.
>
> As for not gathering data, I'm not sure why it wouldn't be working. Can
> you
> tell me if you're monitoring a remote registry (is 'Connect to remote
> registry' checked in the new trace dialog?) and what version of windows
> you
> are running?
>
> You could also try the following steps:
>
> 1. Open windows Task Manager (run taskmgr.exe) and kill any processes
> called
> PerfmonAgent.exe (the terminate bug means that sometimes there can be old
> agents hanging around if they aren't detached from properly or stopped in
> StatCon)
> 2. Close the Agent Controller
> 3. Open a copy of StatCon
> 4. Run the Agent Controller on the local host
> 5. Right-click on the 'Windows System Trace (Perfmon)' node under the
> 'Statistical Data Collection' node and select 'New Trace'
> 6. Click OK to monitor perfmon on the local host
>
> If this basic scenario doesn't work then can you try running 'perfmon.exe'
> and monitoring CPU or something to make sure that your registry isn't
> corrupted.
>
> thanks
>
> Antony
>
> "Rafael Espinha" <rafael@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:cp691e$p64$1@xxxxxxxxxxxxxxxxxx
>> First of all, thanks for the answer Antony...
>>
>> When I start my trace there is no error dialogs neither registers in
>> log
>> view. In the configuration I use the dafaults, trying to trace my
> localhost
>> with the default agent.
>>
>> I have already ran the SetConfig.bat and, when I try to collect data,
> the
>> RAServer.exe and PerfmonAgent.exe are running. When I run the trace via
> the
>> profiling configuration(profile>Host-Windows) no data is shown. When I
>> run
>> it from a StatCon it shows only the frequency counters.
>>
>> Another problem I am having is that i can't stop the agent through
>> Profiling Monitor View. I click the stop button, but it has no effect.
>>
>> Any ideas of what can be happening??
>>
>> []'s
>> Rafael Espinha
>>
>> "Antony Miguel" <antony.miguel@xxxxxxxxxxxxx> wrote in message
>> news:cp1pu3$75r$1@xxxxxxxxxxxxxxxxxx
>> > Hi,
>> >
>> > This problem usually means that the agent isn't getting back any data
> (the
>> > frequency counters are special as they control the agent and are not
> part
>> > of
>> > the monitored counters). Do you see any error dialogs or logged errors
> in
>> > the Error Log view? Also, can you tell me what information you enter
>> > to
>> > the
>> > 'New Trace' dialog when you start a new perfmon agent?
>> >
>> > Some checks to make are:
>> >
>> > 1. Check that you have run your Agent Controller SetConfig.bat
>> > 2. Check that the Agent Controller is running on the agent controller
> host
>> > you enter into the New Trace dialog
>> > 3. (Important) If you are using the remote registry facility, make sure
>> > that
>> > the Agent Controller host has permissions to get remote counters from
> the
>> > remote registry host.
>> >
>> > Number 3 in this list is a very common cause. The way to make sure you
>> > have permissions is to map a drive from the Agent Controller host to
>> > the
>> > remote registry host.
>> >
>> > E.g.
>> > If the connection information is:
>> >
>> > Connect to host: machine1
>> > Connect to remote registry: machine2
>> >
>> > then machine1 must have permissions to access machine2's registry.
> To
>> > get these permissions set up you need to map a drive on machine1 to a
> path
>> > on machine2.
>> >
>> > Once you have a drive mapped, open windows perfmon (Start button ->
>> > Run -> 'perfmon.exe') and try to connect to machine2. If you can add
> it's
>> > counters OK then you should have permissions.
>> >
>> > I'll look into whether the documentation explains this and get it
> updated
>> > if
>> > not.
>> >
>> > cheers
>> >
>> > Antony Miguel
>> >
>> > "Rafael Espinha" <rafael@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> > news:corm62$qe5$1@xxxxxxxxxxxxxxxxxx
>> >> Hello,
>> >>
>> >> I'm using the Statistical Console and I tryed to use the model
>> >> provided
>> >> by
>> >> Perfmon, running Widows Perfmon Trace. The problem is thai it only
> shows
>> > the
>> >> frequency(period between data updates) counter. Is there some manner
>> >> to
>> >> enable the other counters??
>> >>
>> >> []'s
>> >> Rafael Espinha
>> >>
>> >>
>> >
>> >
>>
>>
>
>