In 99% of the cases the Sampler profiler does the trick. It's quick and
usually precise enough. The Profiler profiler is more precise but does an
extensive byte code weaving for that. The overhead is usually not worth it.

On Fri, Sep 28, 2012 at 3:51 PM, Jan Goyvaerts <[email protected]>wrote:

> if your case is a simple one, I'd really advise to stick to visualvm. It's
> "lighter" then jprofiler.
>
>
> On Fri, Sep 28, 2012 at 3:48 PM, Rakesh <[email protected]>wrote:
>
>> Hi guys,
>>
>> so this profiling world is quite , errr complicated!
>>
>> I'm using a trial copy of JProfiler but there's soo much info and I'm not
>> sure what's relevant.
>>
>> Any resources you can recommend to try and understand these concepts?
>>
>> Thanks
>>
>> R
>>
>>
>> On 26 September 2012 10:56, Tomas R <[email protected]> wrote:
>>
>>> There's an interesting article [1] concerning remote JVM inspecting.
>>>
>>> 1.
>>> http://theholyjava.wordpress.com/2012/09/21/visualvm-monitoring-remote-jvm-over-ssh-jmx-or-not/
>>>
>>>
>>> On Wed, Sep 26, 2012 at 12:54 PM, Ricky Clarkson <
>>> [email protected]> wrote:
>>>
>>>> I've successfully used an ssh tunnel to debug (rather than profile) an
>>>> application running on a locked-down server, perhaps that would be
>>>> useful here.
>>>>
>>>> On Wed, Sep 26, 2012 at 6:52 AM, Jan Goyvaerts <[email protected]>
>>>> wrote:
>>>> > Why not ? But they might block the JMX ports. You'll have to try:
>>>> > http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html
>>>> >
>>>> > The Sampler profiler seems to be lightweight. And you're only
>>>> interested in
>>>> > seeing it crash once. :-)
>>>> >
>>>> >
>>>> > On Wed, Sep 26, 2012 at 11:29 AM, Rakesh <[email protected]
>>>> >
>>>> > wrote:
>>>> >>
>>>> >> considering the target server is in Amazon and my local machine
>>>> running
>>>> >> Jvisualvm is on a Mac on my work network....
>>>> >>
>>>> >> Still a good idea?
>>>> >>
>>>> >>
>>>> >> On 26 September 2012 10:27, Shaine Ismail <[email protected]>
>>>> wrote:
>>>> >>>
>>>> >>> And it has a bunch of plugins that can be useful.
>>>> >>>
>>>> >>> DZone have just released a refcard for VisualVM ( Full disclosure:
>>>> I was
>>>> >>> on the DZone review pannel).
>>>> >>>
>>>> >>> Regards
>>>> >>> Shaine Ismail
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On 26 September 2012 10:22, Jan Goyvaerts <[email protected]>
>>>> wrote:
>>>> >>>>
>>>> >>>> There's a wonderful tool for free out of there: VisualVM. Which
>>>> ships
>>>> >>>> with all good JVM. :-) Type jvisualvm to run it.
>>>> >>>>
>>>> >>>> You'll need to enable remote JMX on your server. Once this is done
>>>> >>>> you'll be able to connect with the server in visualvm using the
>>>> "Sampler"
>>>> >>>> tab. NOT the "profiler" tab.
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> On Wed, Sep 26, 2012 at 11:19 AM, Rakesh <
>>>> [email protected]>
>>>> >>>> wrote:
>>>> >>>>>
>>>> >>>>> Hi,
>>>> >>>>>
>>>> >>>>> I'd like to profile the app and see if I can find out what the
>>>> problem
>>>> >>>>> is but my target server is running non-GUI Linux.
>>>> >>>>>
>>>> >>>>> Any advice on tools? Never done profiling before so any experience
>>>> >>>>> would be helpful.
>>>> >>>>>
>>>> >>>>> Thanks
>>>> >>>>>
>>>> >>>>> R
>>>> >>>>>
>>>> >>>>> --
>>>> >>>>> You received this message because you are subscribed to the Google
>>>> >>>>> Groups "Java Posse" group.
>>>> >>>>> To post to this group, send email to [email protected].
>>>> >>>>> To unsubscribe from this group, send email to
>>>> >>>>> [email protected].
>>>> >>>>> For more options, visit this group at
>>>> >>>>> http://groups.google.com/group/javaposse?hl=en.
>>>> >>>>
>>>> >>>>
>>>> >>>> --
>>>> >>>> You received this message because you are subscribed to the Google
>>>> >>>> Groups "Java Posse" group.
>>>> >>>> To post to this group, send email to [email protected].
>>>> >>>> To unsubscribe from this group, send email to
>>>> >>>> [email protected].
>>>> >>>> For more options, visit this group at
>>>> >>>> http://groups.google.com/group/javaposse?hl=en.
>>>> >>>
>>>> >>>
>>>> >>> --
>>>> >>> You received this message because you are subscribed to the Google
>>>> Groups
>>>> >>> "Java Posse" group.
>>>> >>> To post to this group, send email to [email protected].
>>>> >>> To unsubscribe from this group, send email to
>>>> >>> [email protected].
>>>> >>> For more options, visit this group at
>>>> >>> http://groups.google.com/group/javaposse?hl=en.
>>>> >>
>>>> >>
>>>> >> --
>>>> >> You received this message because you are subscribed to the Google
>>>> Groups
>>>> >> "Java Posse" group.
>>>> >> To post to this group, send email to [email protected].
>>>> >> To unsubscribe from this group, send email to
>>>> >> [email protected].
>>>> >> For more options, visit this group at
>>>> >> http://groups.google.com/group/javaposse?hl=en.
>>>> >
>>>> >
>>>> > --
>>>> > You received this message because you are subscribed to the Google
>>>> Groups
>>>> > "Java Posse" group.
>>>> > To post to this group, send email to [email protected].
>>>> > To unsubscribe from this group, send email to
>>>> > [email protected].
>>>> > For more options, visit this group at
>>>> > http://groups.google.com/group/javaposse?hl=en.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Java Posse" group.
>>>> To post to this group, send email to [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/javaposse?hl=en.
>>>>
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Java Posse" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/javaposse?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Java Posse" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/javaposse?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to