[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.hyades] Re: Problems using Statistical Console
|
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
> >>
> >>
> >
> >
>
>