Open a second command window and type jconsole.
打开第二个命令行窗口,输入jconsole。
GetTabs returns a map of tabs to be added to the JConsole window.
getTabs返回被添加到JConsole窗口中的选项卡图。
Figure 8 shows an instance on JConsole with the JTop TAB selected.
图8展示了JConsole的一个实例,它选择了JTo p选项卡。
As a profiler utility, JConsole is nice, but other tools are nicer.
作为一个分析器实用工具,JConsole是极好的,但是还有更好的工具。
On the client side, the jconsole tool can act as a universal JMX client.
在客户端,jconsole工具可以充当统一的JMX客户机。
Compliant applications are automatically detected when JConsole starts up.
JConsole在启动时将自动检测兼容的应用程序。
Registering for notifications is beyond the JConsole user interface, however.
然而,注册通知是在JConsole用户界面之外。
JConsole has a number of tabs that are useful for collecting statistics, including.
JConsole有许多对收集统计数据有用的选项卡,包括。
When JConsole was connected, a steady stream of GC sweeps happened that didn't occur otherwise.
当JConsole连接好了之后,一个稳定的GC清理流出现,否则不会出现。
Standard JMX clients like Sun Microsystems's JConsole will also be able to show the information.
标准的JMX客户端(像Sun公司的JConsole)也能够显示这些信息。
In this command, plugin_path refers to the paths to the directory or archive of JConsole plug-ins.
命令中的plugin _ path指目录路径或者JConsole插件的归档。
You can invoke methods, modify configuration values, and set up notifications from within JConsole.
可以在JConsole中调用方法、修改配置值和设置通知。
Type grails run-app and confirm in JConsole that the log4j MBean doesn't show up in development mode.
输入grailsrun-app并在JConsole 中确定 log4jMBean没有出现在开发模式中。
Figure 2 shows the Attributes TAB in jconsole for the new MBean, and Figure 3 shows the Operations TAB.
图2显示了jconsole中针对新MBean的Attributes标签,图3显示了Operations标签。
From a GUI shell, navigate to the JDK installation directory, open the bin folder, and double-click jconsole.
如果从GUIshell启动,找到JDK安装路径,打开bin文件夹,双击jconsole。
Some profilers come with analysis add-ons or a slick user interface, and some track more data by default than JConsole does.
一些分析插件附带分析器或者灵巧的用户界面,默认情况下比 JConsole跟踪更多的数据。
Figure 1 shows the jconsole JMX client (part of the JDK) displaying one of the memory management views — heap usage over time.
图1给出了jconsole jMX客户机(JDK的一部分),它显示了其中一个内存管理视图——一段时间内的堆使用情况。
You can start JConsole by simply typing jconsole at a command prompt, assuming that the bin directory of the SDK is in your path.
在命令提示符下输入 jconsole就可以启动 JConsole(假设SDK的bin目录在当前路径中)。
The mbeanServer bean gets injected into the exporter bean — the class that exposes the list of MBeans to JMX clients like JConsole.
mbeanServerbean 被注入到 exporterbean —将MBean列表呈现给JMX客户机(比如 JConsole)的类。
If you want to find out what's going on, open JConsole, click the Classes TAB, and keep a lazy eye on the class count as time goes by.
如果您想要弄清楚发生了什么,打开JConsole,单击Classes选项卡,过一段时间查看一次类计数。
Together with the addition of the "--manage" command line switch, it's now possible to easily view this information using tools like JConsole.
此外,随着"--manage"命令行开关的加入,现在可以使用像JConsole这样的工具来更好的察看信息。
Once started and associated with an application, the JConsole view consists of six tabs, each representing a different JVM resource or set of resources.
一旦启动并与应用程序相关联,将显示由6个选项卡组成的JConsole视图。
With this, JRuby applications can now export their own monitoring information via the JMX system, which can then, of course, be viewed by tools like JConsole.
有了这些,JRuby应用现在可以将它们自己的监控信息通过JMX系统导出,这些信息当然随后可以被诸如jconsole这样的工具所浏览。
If the title bar (monitoring self) isn't hint enough, notice that the second JConsole window that you just opened is monitoring the JConsole application itself.
如果标题栏(监控本身)的提示不够清楚,注意您刚打开的第二个JConsole窗口,它监控JConsole应用程序本身。
The combination of JMX support in the platform and the jconsole JMX client offers a painless way to add management and monitoring capabilities to our applications.
结合平台内的JMX支持和jconsole JMX客户机可以提供一种向应用程序添加管理和监视功能的轻松方式。
Figure 3 is a screenshot of the JConsole showing data from the Glassbox Inspector monitoring the performance of the Duke's Bookstore sample application (see Resources).
图3是一幅JConsole的截屏,显示了Glassbox Inspector监视duke书店示例应用程序性能的情况。(请参阅参考资料)。
Using reflection, JMX figures out which properties are read-only (Started, Port) and which are read-write (LogLevel), and jconsole allows you to modify the read-write properties.
使用反射,JMX可以指出哪个属性是只读的(Started、Port),哪个属性是可读写的(LogLevel),而且jconsole允许修改读写属性。
You must extend the abstract com.sun.tools.jconsole.JConsolePlugin class to create a custom JConsole plug-in. You implement two methods for a plug-in to appear properly in the JConsole view
您必须扩展抽象的 com.sun.tools.jconsole.JConsolePlugin类,创建一个自定义的 JConsole插件。
Having created and registered an MBean, you can immediately point jconsole at the application (type jconsole at the command line) and see its management attributes and operations in the "MBeans" view.
创建并注册了MBean之后,立即就可以把jconsole指向应用程序(在命令行输入jconsole)并在“MBeans”视图中查看它的管理属性和操作。
Having created and registered an MBean, you can immediately point jconsole at the application (type jconsole at the command line) and see its management attributes and operations in the "MBeans" view.
创建并注册了MBean之后,立即就可以把jconsole指向应用程序(在命令行输入jconsole)并在“MBeans”视图中查看它的管理属性和操作。
应用推荐