This article describes how to download, install, and run the NetBeans Dynamic tracing (DTrace) GUI plug-in. The NetBeans dtrace GUI plug-in is a graphical user interface for running DTrace scripts (graphical user Interface,gui) and can be installed in Suntm Studio IDE, NETBEANSTM IDE 5. 5, NetBeans IDE 5.5.1 and NetBeans IDE 6.0.
We can run D scripts through the GUI, even if they are embedded in the shell script. In fact, the DTrace GUI plug-in can run all the D scripts in the Dtracetoolkit package. Dtracetoolkit is a set of useful document scripts developed by the OpenSolaris DTrace community.
Thanks to its excellent architectural design, we can easily extend and customize the NetBeans DTrace GUI plug-in.
The GUI package consists of two components: the NetBeans plug-in and the Dtracescripts directory.
You can easily install the NetBeans DTrace GUI plug-in into the Sun Studio IDE, NetBeans IDE 5.5, NetBeans IDE 5.5.1, and NetBeans IDE 6.0.
The Dtracescripts directory contains subdirectories. Each subdirectory contains some D scripts. D scripts are categorized primarily according to the DTrace provider. The shell command line will copy the new D script into an existing subdirectory, which can be copied to the newly created subdirectory under the Dtracescripts directory. You can also create and save new D scripts in the IDE.
System and software requirements and downloads
The system and software requirements are listed below:
The DTrace tool supports only the solaristm 10 and Solaris 11 operating systems.
NetBeans DTrace Plug-ins can be run in the Sun Studio IDE and the NetBeans IDE.
NetBeans IDE 5.5, NetBeans IDE 5.5.1. And NetBeans IDE 6.0 are available for download from the http://www.netbeans.org/Web site.
The Sun Studio IDE can
You need to set your permissions in the/etc/user_attr file. For example, the purpose of this is to set DTrace permissions on the machine running DTrace.nassern::::defaultpriv=basic,dtrace_user,dtrace_proc,dtrace_kernel
These permissions will take effect when the user logs on to the machine.
For more information about user rights, read
How to install the NetBeans DTrace GUI plug-in installation steps--for NetBeans IDE 5.5, NetBeans IDE 5.5.1 and Sunstudio IDE
Start NetBeans IDE 5.5, NetBeans IDE 5.5.1, or the Sun Studio IDE.
Select Tools > Update Center.
In the Select Location of Modules page of the Update Center Wizard, select NetBeans Update Center Beta (for NetBeans IDE 5.5 or NetBeans IDE 5.5.) 1) and Sun Studio Update Center (for Sun studio IDE) check box (if unchecked). Then click the Next button.