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

C# Primer Plus

C# Primer Plus

Klaus Michelsen / Sams / 2001-12-15 / USD 49.99

C# Primer Plus is a tutorial based introduction to the C# language and important parts of the .Net Framework. Throughout the book the reader will be exposed to proven principles enabling him to write ......一起来看看 《C# Primer Plus》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

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

在线 XML 格式化压缩工具

html转js在线工具
html转js在线工具

html转js在线工具