[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: I can't see anything using Perfmon & Stat View

Hi Roman,

I followed your steps below choosing:

    Logical Disk -> Get child couters
            _Total -> Get child counters
                    % disk write time -> Start tracing this counter

and I get a red line graph and an entry in the table pertaining to it.

Are you tracing localhost or another machine?  If you're tracing another
machine try clicking in the 'More' column in the graphs table and selecting
'Snap Offset to Now' in the resulting dialog.  This offsets the data coming
from the other machine to take account any difference in the remote
machine's clock.

Are you able to trace any other counters like processor usage?

cheers

Antony

"Roman Smirak" <smirakr@xxxxxxxxxxxxx> wrote in message
news:ciuifd$17r$1@xxxxxxxxxxxxxx
> Hi Antony,
>
>    thanks for the info. I have installed current version (3.1) but I have
> got still the problem with empty graph. I have tried to profile % disk
write
> but still nothing painted in context of graph (moreover, I can still see
the
> repaint-problem.)
>
> I have found following error in context of .log:
> java.lang.NullPointerException
>  at
>
org.eclipse.hyades.statistical.ui.editor.internal.SDSnapshotObservationGraph
> Source.getAverageBetween(SDSnapshotObservationGraphSource.java)
>  at
>
org.eclipse.hyades.statistical.ui.widgets.grapher.internal.LineGraph.paintGr
> aph(LineGraph.java)
>  at
>
org.eclipse.hyades.statistical.ui.widgets.grapher.internal.LineGraph.paintGr
> aph(LineGraph.java)
>  at
>
org.eclipse.hyades.statistical.ui.widgets.grapher.internal.GraphCanvas.paint
> Unbuffered(GraphCanvas.java)
>  at
>
org.eclipse.hyades.statistical.ui.widgets.grapher.internal.GraphCanvas.paint
> Control(GraphCanvas.java)
>  at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:82)
>  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
>  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
>  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
>  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
>  at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:803)
>  at org.eclipse.swt.widgets.Control.windowProc(Control.java:3020)
>  at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
>  at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>  at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1467)
>  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
>  at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
>  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
>  at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
>  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
>  at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
>  at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.
> java:335)
>  at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
>  at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>  at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324)
>  at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
>  at org.eclipse.core.launcher.Main.run(Main.java:704)
>  at org.eclipse.core.launcher.Main.main(Main.java:688)
>
> My steps are following:
> 1. Start RAC (start ok)
> 2. Start Eclipse with com.eclipse.hyades.runtime extension
> 3. New project (simple project) called eg. Perfmon
> 4. New Host-Windows (Perfmon) Profiling
> 5. Existing project as profiling project selection
> (platform:/resource/PerfMon)
> 6. Profile
> 7. Open statistical view over new node
> 8. Configure statistical data collection counters: I have chosen % disk
> write (child of disk) => I can see new record in context of Graphs table
but
> no line; I try to Snap to associated graph, follow the time (button >) but
> still no success reached
>
> Thanks,
>
> Roman
>
> "Antony Miguel" <antony.miguel@xxxxxxxxxxxxx> pí¹e v diskusním pøíspìvku
> news:cipbmf$gh5$1@xxxxxxxxxxxxxx
> > There has been a stable build of 3.1 today.  The build can be found on
the
> > Hyades website in the downloads section.
> >
> > Here's a link to the build page:
> >
> >
>
http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/hyades-home/downloads/drops/3.1.0_20040920_1414.html
> >
> > thanks
> >
> > Antony
> >
> > "Antony Miguel" <antony.miguel@xxxxxxxxxxxxx> wrote in message
> > news:cimveb$fdn$1@xxxxxxxxxxxxxx
> > > Hi Roman,
> > >
> > > Some repaint bugs were fixed in Hyades 3.1 (in CVS HEAD but not yet
> > > released) that would probably account for your repaint refresh
problems.
> > >
> > > As for your exceptions in the log, that code has also been made more
> > robust
> > > in 3.1 but I'm not sure why they would be occurring at all.  However,
> it's
> > > possible that the exceptions are responsible for the data not showing
> and
> > > even for the repaint bug.
> > >
> > > Hyades 3.1 is in the last stages of bugfixing now and should be
released
> > > soon.  I advise you keep an eye out for it and give it a try when it
> comes
> > > out.
> > >
> > > I'll post updates to this thread when a build of 3.1 comes out.
> > >
> > > In the meantime you could post a list of the steps you take and I can
> see
> > if
> > > I can spot anything you might be doing wrong?
> > >
> > > cheers
> > >
> > > Antony
> > >
> > > "Roman Smirak" <smirakr@xxxxxxxxxxxxx> wrote in message
> > > news:chmiq5$cgf$1@xxxxxxxxxxxxxx
> > > > Hi Antony,
> > > >
> > > >    the problem isn't with the scale - what you can see on previous
> > > > screenshot is simple result of my experimentation (looking for
> profiling
> > > > results across whole range). I've more information for you now: as
you
> > can
> > > > see on new screenshot (hyades.jpg), there is some problem with graph
> > view
> > > > repaint as well as icons are missed => some error has been occurred
> (you
> > > can
> > > > find an exception in context of attached .log file). PerfomAgent has
> > been
> > > > launched ok as you can see in attached service.log (I can find it as
> > > process
> > > > via Win Task Manager as well).
> > > >
> > > > User's feedback:
> > > > - it's not clear if the node has another children as well as
progress
> of
> > > it,
> > > > i.e. would be nice to have some info about it (progress monitor,
final
> > > nodes
> > > > have another icon, etc.)
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Roman
> > > >
> > > > "Antony Miguel" <antony.miguel@xxxxxxxxxxxxx> pí¹e v diskusním
> pøíspìvku
> > > > news:chkjjf$dss$1@xxxxxxxxxxxxxx
> > > > > Hi Roman,
> > > > >
> > > > > It looks from the screenshot that the problem might lie in your
> > scales.
> > > > > Your vertical scale widget seems to have a range from 492 to 500
> which
> > > may
> > > > > be outside the range of your data (e.g. your graphs' values might
> > range
> > > > from
> > > > > 0-100 or 50000-100000).  The easiest way to fix this is to
> right-click
> > > on
> > > > > the scale widget and select 'Snap to Data'.  The widget will then
> > > rescale
> > > > > based on the extent of the data in the current graphs.  If you do
> this
> > > > with
> > > > > the vertical slider and the horizontal slider you should be able
to
> > see
> > > > your
> > > > > whole trace in the graph area.
> > > > >
> > > > > thanks
> > > > >
> > > > > Antony
> > > > >
> > > > >
> > > > > "Roman Smirak" <smirakr@xxxxxxxxxxxxx> wrote in message
> > > > > news:ch6p4f$tsv$1@xxxxxxxxxxxxxx
> > > > > Hi,
> > > > >
> > > > >    I'm trying to use Perfom but I'm not able to obtain any value
> from
> > > it;
> > > > > after configuration I've done with regard to instructions from
help
> > > pages
> > > > I
> > > > > can't still see anything in context of Stat View (see attachment).
> > > > Moreover,
> > > > > after some while Perfom had been shut down without an error log
(all
> > > logs
> > > > > attached). Did I miss something ?
> > > > >
> > > > > platform:
> > > > >   - Hyades3.0.1 (+ proper version of projects used including
> > > > > eclipse3.0-M20040825)
> > > > >   - Java1.4.2
> > > > >   - WindowsXP/2000
> > > > >
> > > > > Roman
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>