OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » dtrace » discuss

Thread: DTrace Graphical User Interface (GUI)

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 13 - Last Post: Nov 6, 2007 11:07 AM by: nassern
nassern

Posts: 29
From:

Registered: 7/26/07
DTrace Graphical User Interface (GUI)
Posted: Jul 26, 2007 6:01 PM
To: Communities » dtrace » discuss
Cc: OpenSolaris » discuss
  Click to reply to this thread Reply

The purpose of this message is to announce the availability of the
NetBeans plug-in module for DTrace.

The NetBeans DTrace plug-in module is a Graphical User Interface (GUI)
for running DTrace scripts.

The DTrace plug-in module works with both Sun Studio 12 IDE and NetBeans
IDE 5.5.1.

Users are allowed to run D scripts from the GUI, even those that are embedded in shell scripts. In fact, the DTrace GUI runs the entire D scripts that are packaged in DTraceToolkit. The DTraceToolkit is a collection of useful documented scripts developed by the OpenSolaris DTrace community.

You can download the "DTrace Graphical User Interface (GUI)" plug-in module from http://plugins.netbeans.org web site.

Once the "dtrace-gui.zip" file is downloaded, use the the "unzip" utility to unzip the file and follow the instructions in the NetBeans_DTrace_plug-in_module.html file to install the DTrace plug-in into the Sun Studio 12 IDE or NetBeans IDE 5.5.1.

The NetBeans_DTrace_plug-in_module.html file can be found in "dtrace-gui.zip" package.

Thanks,
__Nasser

eulertao

Posts: 186
From: Shanghai.China

Registered: 9/6/06
Re: DTrace Graphical User Interface (GUI)
Posted: Jul 26, 2007 9:38 PM   in response to: nassern

  Click to reply to this thread Reply

Hi Nasser:
 
I've tried this NetBeans DTrace plug-in. 
Following the directions in the zip ball, I install it and start the DTrace panel successfully. But it doesn't work in my Sun Studio 12 :(
The problem is:
1, the default dtrace scripts are not loaded automatically. (I've untared the DTraceScripts before installing this plug-in)
2, the Advanced button doesn't work. The view/edit and import options are inactive. The CreateNew is active, but no more feedback when clicked.
 
Btw, the default language of my Sun Studio 12 and OpenSolaris is Chinese. Does the non-english language setting cause this problem?
 
 
Regards
TJ
 
2007/7/27, Nasser Nouri <nasser dot nouri at sun dot com>:
The purpose of this message is to announce the availability of the
NetBeans plug-in module for DTrace.

The NetBeans DTrace plug-in module is a Graphical User Interface (GUI)
for running DTrace scripts.

The DTrace plug-in module works with both Sun Studio 12 IDE and NetBeans
IDE 5.5.1.

Users are allowed to run D scripts from the GUI, even those that are embedded in shell scripts. In fact, the DTrace GUI runs the entire D scripts that are packaged in DTraceToolkit.  The DTraceToolkit is a collection of useful documented scripts developed by the OpenSolaris DTrace community.

You can download the "DTrace Graphical User Interface (GUI)" plug-in module from http://plugins.netbeans.org web site.

Once the  "dtrace-gui.zip" file is downloaded, use the the "unzip" utility to unzip the file and follow the instructions in the NetBeans_DTrace_plug-in_module.html file to install the DTrace plug-in into the Sun Studio 12 IDE or NetBeans IDE 5.5.1.

The NetBeans_DTrace_plug-in_module.html file can be found in "dtrace-gui.zip" package.

Thanks,
__Nasser


--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss at opensolaris dot org

_______________________________________________ dtrace-discuss mailing list dtrace-discuss at opensolaris dot org

nassern

Posts: 29
From:

Registered: 7/26/07
Re: DTrace Graphical User Interface (GUI)
Posted: Jul 27, 2007 6:05 AM   in response to: eulertao
To: Communities » dtrace » discuss
  Click to reply to this thread Reply

Hi TJ,

Not sure what is the problem. Try to install it into the NetBeans IDE 5.5.1 and see if the problem is fixed. The Sun Studio 12 IDE is based on NetBeans IDE 5.5.1. It should work with both of them.

I didn't test it with non-english language setting so I am not sure if that is the problem.

Regards,
__Nasser

nassern

Posts: 29
From:

Registered: 7/26/07
Re: DTrace Graphical User Interface (GUI)
Posted: Jul 27, 2007 6:26 AM   in response to: nassern
To: Communities » dtrace » discuss
  Click to reply to this thread Reply

I forgot to mention that I created the DTrace plug-in on an AMD platform. Not sure if that makes a difference. Since the Java binary code should run on both SPARC and Intel/AMD platforms.

__Nasser

eulertao

Posts: 186
From: Shanghai.China

Registered: 9/6/06
Re: DTrace Graphical User Interface (GUI)
Posted: Jul 27, 2007 7:44 AM   in response to: nassern

  Click to reply to this thread Reply

Hi Nasser:
 
This problem exists in NetBeans 5.5.1/5.5 as well.
My system is Intel P4 platform and OpenSolaris Express B66.
 
 
Regards
TJ

 
2007/7/27, Nasser Nouri <nasser dot nouri at sun dot com>:
I forgot  to mention that I created the DTrace plug-in on an AMD platform. Not sure if that makes a difference. Since the Java binary code should run on both SPARC and Intel/AMD platforms.

__Nasser


--
This message posted from opensolaris.org
__________________________ _____________________
dtrace-discuss mailing list
dtrace-discuss at opensolaris dot org

_______________________________________________ dtrace-discuss mailing list dtrace-discuss at opensolaris dot org

nassern

Posts: 29
From:

Registered: 7/26/07
Re: DTrace Graphical User Interface (GUI)
Posted: Jul 27, 2007 2:26 PM   in response to: eulertao
To: Communities » dtrace » discuss
  Click to reply to this thread Reply

Hi TJ,

You may try to install another plug-in module from the netbeans.org to see the if the problem is specific to your environment. Other users have installed the DTrace plug-in module successfully into the both Sun Studio 12 IDE and NetBeans IDE 5.5.1.

Regards,
__Nasser

nassern

Posts: 29
From:

Registered: 7/26/07
Re: DTrace Graphical User Interface (GUI)
Posted: Jul 27, 2007 5:07 PM   in response to: nassern
To: Communities » dtrace » discuss
  Click to reply to this thread Reply

TJ,

Make sure the DTraceScripts directory resides in your home directory. See the example below:

% pwd
/home/nassern/DTraceScripts

% ls
Apps Examples Locks Proc TopMostUseful dexplorer
Cpu FS Mem README User zzz
Disk Kernel Net System Zones

__Nasser

eulertao

Posts: 186
From: Shanghai.China

Registered: 9/6/06
Re: DTrace Graphical User Interface (GUI)
Posted: Jul 28, 2007 12:47 AM   in response to: nassern

  Click to reply to this thread Reply

Nasser:
 
In my /etc/passwd file, "eulertao:x:0:0:eulertao:/export/home/eulertao:/bin/bash".
I changed my uid and gid as the root when I installed the OpenSolaris.
And the Netbeans considers me as root, not eulertao...
After I moved DTraceScripts from my home to root's home, dtrace-gui works!
 
Thank you :)
 
 
Regards,
TJ
 

 
2007/7/28, Nasser Nouri <nasser dot nouri at sun dot com>:
TJ,

Make sure the DTraceScripts directory resides in your home directory.  See the example below:

% pwd
/home/nassern/DTraceScripts

% ls
Apps           Examples       Locks          Proc &nbs p;         TopMostUseful  dexplorer
Cpu      &n bsp;     FS       &n bsp;     Mem            READ ME         User           zzz
Disk           Kernel         Net            Syst em         Zones

__Nasser


--
This message posted from opensolaris.org
__________________________ _____________________
dtrace-discuss mailing list
dtrace-discuss at opensolaris dot org

_______________________________________________ dtrace-discuss mailing list dtrace-discuss at opensolaris dot org

nassern

Posts: 29
From:

Registered: 7/26/07
Re: DTrace Graphical User Interface (GUI)
Posted: Aug 3, 2007 11:28 AM   in response to: eulertao
To: Communities » dtrace » discuss
  Click to reply to this thread Reply

I am temporarily removing the current build of the Dtrace plugin GUI, but will have an updated version shortly. I will update this team when the new version is available.

Regards,
__Nasser

nassern

Posts: 29
From:

Registered: 7/26/07
Re: DTrace Graphical User Interface (GUI)
Posted: Oct 31, 2007 12:02 PM   in response to: nassern
To: Communities » dtrace » discuss
  Click to reply to this thread Reply

The new version of the NetBeans DTrace GUI plug-in is ready for download.

http://www.netbeans.org/kb/dtracegui_plugin/NetBeans_DTrace_GUI_Plugin.html

The NetBeans DTrace GUI plug-in works with Sun Studio 12 IDE, NetBeans IDE 5.5.1 and NetBeans 6.0 Beta 2.

Regards,
__Nasser

bgregg

Posts: 438
From: CA, USA

Registered: 4/27/05
Re: DTrace Graphical User Interface (GUI)
Posted: Oct 31, 2007 1:54 PM   in response to: nassern

  Click to reply to this thread Reply

G'Day Nasser,

On Wed, Oct 31, 2007 at 12:02:27PM -0700, Nasser Nouri wrote:
> The new version of the NetBeans DTrace GUI plug-in is ready for download.
>
> http://www.netbeans.org/kb/dtracegui_plugin/NetBeans_DTrace_GUI_Plugin.html
>
> The NetBeans DTrace GUI plug-in works with Sun Studio 12 IDE, NetBeans IDE 5.5.1 and NetBeans 6.0 Beta 2.

I couldn't find anything Graphical about this GUI. I can see it has a user
interface to run and display text commands. Did I miss something?

Maybe this would be better described as a DTrace IDE, and could provide
features such as D syntax highlighting and keyword completion.

Brendan

--
Brendan
[CA, USA]
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss at opensolaris dot org


nassern

Posts: 29
From:

Registered: 7/26/07
Re: DTrace Graphical User Interface (GUI)
Posted: Nov 1, 2007 1:31 PM   in response to: bgregg
To: Communities » dtrace » discuss
  Click to reply to this thread Reply

Hi Brendan,

The subsequent releases of the DTrace GUI will include the D syntax highlighting, code completion and the DTrace output visualization.

Not enough resources to implement everything in the first release!

Regards,
__Nasser

slamarr

Posts: 12
From: Houston, TX

Registered: 12/3/06
Re: DTrace Graphical User Interface (GUI)
Posted: Nov 3, 2007 12:55 PM   in response to: nassern
To: Communities » dtrace » discuss
  Click to reply to this thread Reply

I'm interested in helping to add some of these things such as syntax highlighting, code completion,... Is the DTrace NetBeans module open-source at this point? Perhaps others in the community would like to help too?

nassern

Posts: 29
From:

Registered: 7/26/07
Re: DTrace Graphical User Interface (GUI)
Posted: Nov 6, 2007 11:07 AM   in response to: slamarr
To: Communities » dtrace » discuss
  Click to reply to this thread Reply

It is an excellent idea to make the NetBeans DTrace GUI plugin an open-source project.

Both members of the netbeans.org and OpenSolaris communities can collaborate on DTrace GUI project. Numerous new features can be implemented that are useful to members of both communities such as the D language syntax checking and code completion.

__Nasser




Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
Copyright © 1995-2005 Sun Microsystems, Inc.