Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the Netbeans plug-in DTrace GUI

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article is about how to use the Netbeans plug-in DTrace GUI. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

We can run D scripts through GUI, even if they are embedded in shell scripts. It doesn't matter. In fact, the DTrace GUI plug-in can run all D scripts in the DTraceToolkit package. DTraceToolkit is a practical documentation script 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 Sun Studio 12 IDE, NetBeans IDE 5.5, NetBeans IDE 5.5.1, and NetBeans IDE 6.0

The DTraceScripts directory contains some subdirectories, each subdirectory contains some D scripts, D scripts are classified mainly according to the DTrace provider, you can copy the new D script to the existing subdirectory through the shell command line, you can copy it to the newly created subdirectory under the DTraceScripts directory, and you can create and save the new D script in IDE.

System and software Software requirements and downloads are listed below:

DTrace tools only support SolarisTM 10 and Solaris 11 operating systems

The NetBeans DTrace plug-in can be run in Sun Studio 12 IDE and NetBeans IDE

NetBeans IDE 5.5 、 NetBeans IDE 5.5.1. And NetBeans IDE 6.0can be downloaded from the http://www.netbeans.org/ website WebSite

Sun Studio 12 IDE is available from the

You need to set your permissions in the / etc/user_attr file, for example, the following is used to set the DTrace permissions nassern::::defaultpriv=basic,dtrace_user,dtrace_proc,dtrace_kernel on the machine running DTrace

These permissions will take effect when the user logs in to the machine

For more information about user permissions, please read

How to install the NetBeans DTrace GUI plug-in installation steps-apply to NetBeans IDE 5.5, NetBeans IDE 5.5.1 and SunStudio 12 IDE launch NetBeans IDE 5.5, NetBeans IDE 5.5.1 or SunStudio 12 IDE.

Select Tools > Update Center

In the Update Center wizard Select Location of Modules page, select the NetBeans Update Center Beta (for NetBeans IDE 5.5 or NetBeans IDE 5.5.1) and Sun Studio Update Center (for Sun Studio 12 IDE) check boxes (if not selected), and then click the Next button

Limitations and it is known that bug currently clicking the Stop button will stop the user from starting the D script last time it will be modified in the next release. The Stop operation will stop running the script if the user has selected the script output tab and double-clicking the selected D script will not display the D script in the Editor window which will be fixed in the next release. Currently you must use the Advanced View/Edit option to display the D script in the Editor window.

Thank you for reading! This is the end of this article on "how to use the Netbeans plug-in DTrace GUI". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report