TPTP-Agent Controller on Linux [message #142747] |
Mon, 22 June 2009 17:55  |
Eclipse User |
|
|
|
Hi,
I've got an app that I run from a script on a Linux x86 box. I've
installed the Agent Controller on there and run ACStart. I've added the
-agentlib... to the java command line as specified in the documentation.
All the LD_LIBRARY_PATH and PATH variables are set up correctly.
I'm running eclipse ganymede with the latest TPTP client software and have
tried to create an external application to profile. I've added the linux
host on the default port and tested the connection which was successful.
But when I go to the Agents tab and press refresh, nothing comes up. I've
tried this when the application is running to no avail.
I want to be able to remotely attach an eclipse TPTP profiler, running on
Windows, to an app running on Linux.
I have come across some pages on the net that say that agent discovery on
linux isn't supported but they're from about 2006-7 on version 4.0 or
similar of TPTP.
Has the situation changed? Can I do what I want to try and do? If so,
what am I doing wrong? Is there a help page somewhere that explains what
needs to be done to attach to and remotely profile an application on a
linux platform.
If there is no such documentation and I can get it to work, I would be
more than happy to document it for future users.
Many thanks,
Dave
|
|
|
Re: TPTP-Agent Controller on Linux [message #142825 is a reply to message #142747] |
Wed, 24 June 2009 14:47   |
Eclipse User |
|
|
|
Hi Dave,
Have you setup your Agent Controller on the Linux machine to be remote
accessible? That is part of the configuration during AC setup process. If
you allow ALL host connection, then your Linux process should be enabled for
discovery and attach for monitoring.
If you already done that, could you attach the serviceconfigi.xml content in
your reply?
Eugene
"Dave " <davehallam@yahoo.com> wrote in message
news:ea7ec857c279f09153487f8ab57876d6$1@www.eclipse.org...
> Hi,
>
> I've got an app that I run from a script on a Linux x86 box. I've
> installed the Agent Controller on there and run ACStart. I've added
> the -agentlib... to the java command line as specified in the
> documentation. All the LD_LIBRARY_PATH and PATH variables are set up
> correctly.
>
> I'm running eclipse ganymede with the latest TPTP client software and have
> tried to create an external application to profile. I've added the linux
> host on the default port and tested the connection which was successful.
> But when I go to the Agents tab and press refresh, nothing comes up. I've
> tried this when the application is running to no avail.
>
> I want to be able to remotely attach an eclipse TPTP profiler, running on
> Windows, to an app running on Linux.
>
> I have come across some pages on the net that say that agent discovery on
> linux isn't supported but they're from about 2006-7 on version 4.0 or
> similar of TPTP.
>
> Has the situation changed? Can I do what I want to try and do? If so,
> what am I doing wrong? Is there a help page somewhere that explains what
> needs to be done to attach to and remotely profile an application on a
> linux platform.
>
> If there is no such documentation and I can get it to work, I would be
> more than happy to document it for future users.
>
> Many thanks,
>
> Dave
>
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.30072 seconds