Java Simon Java程序监控API

程序名称:Java Simon

授权协议: LGPL

操作系统: 跨平台

开发语言: Java

Java Simon 介绍

Java Simon 是一个简单的监控 API ,可用于监控 Java 程序中的执行情况,监控代码直接植入应用程序中。

例如下面的代码:

// get us some stopwatch Simon
Stopwatch stopwatch =
SimonManager.getStopwatch(“org.javasimon.examples.HelloWorld-stopwatch”);

Split split = stopwatch.start(); // start the stopwatch
System.out.println(“Hello world, ” + stopwatch); // print it
split.stop(); // stop it

System.out.println(“Result: ” + stopwatch); // here we print our stopwatch
again

输入结果:

Hello world, Simon Stopwatch: [org.javasimon.examples.HelloWorld-stopwatch
INHERIT]
total 0 ns, counter 0, max 0 ns, min undef
Result: Simon Stopwatch: [org.javasimon.examples.HelloWorld-stopwatch INHERIT]
total 59.2 ms, counter 1, max 59.2 ms, min 59.2 ms

Java Simon 官网

https://github.com/virgo47/javasimon

相关编程语言

BlazeDS 是一个基于服务器的Java 远程控制(remoting...
OVal 是一个可扩展的Java对象数据验证框架,验证的规...
Volta 是一套开发工具,专为开发分布式、实时系统应...
OpenDDS 是一个开源的 C++ 实现的 对象管理组织 OMG...
JADE (Java Agent DEvelopment Framework) 是一个完...
FastMM ,在D2006和2007中已代替了原来的内存管理器。