JMX 的 Perl 接口 jmx4perl

码农软件 · 软件分类 · 其他开发相关 · 2019-11-01 10:59:33

软件介绍

Jmx4Perl 为 Perl 语言提供了用来访问 Java 企业版基于 JMX 的管理接口的方法。它需要在 Java 应用中安装一个大约 30k 的代理接口,提供基于 HTTP/JSON 的访问 JMX MBeans 的方法。

示例代码:

   my $jmx = new JMX::Jmx4Perl(url => "http://localhost:8080/j4p-agent");
my $request = new JMX::Jmx4Perl::Request(type => READ_ATTRIBUTE,
mbean => "java.lang:type=Memory",
attribute => "HeapMemoryUsage",
path => "used");
my $response = $jmx->request($request);
print "Memory used: ",$response->value(),"\n";

本文地址:https://codercto.com/soft/d/18024.html

The Art and Science of CSS

The Art and Science of CSS

Jonathan Snooks、Steve Smith、Jina Bolton、Cameron Adams、David Johnson / SitePoint / March 9, 2007 / $39.95

Want to take your CSS designs to the next level? will show you how to create dozens of CSS-based Website components. You'll discover how to: # Format calendars, menus and table of contents usin......一起来看看 《The Art and Science of CSS》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器