Giter Site home page Giter Site logo

btrace_extend's Introduction

btrace_extend

btrace 拓展,可以方便的诊断java应用程序的性能问题

BTrace is a safe, dynamic tracing system for the Java platform. BTrace project is hosted at http://kenai.com/projects/btrace. See also "docs" directory.

First,execute 
                btrace pid
                   connect to my version
	ConsolePrint.println("-------------------------------------------------------------------------------------------------");
	ConsolePrint.println("| CommandName  CommandArgs                       CommandUsage");
	ConsolePrint.println("| time         {clazzname methodname}[interval]  收集响应时间并显示 ,并支持设计迭代时间(s),;如 ");
	ConsolePrint.println("|                                                time java.lang.Thread start 2");
	ConsolePrint.println("| aggre        {clazzname methodname}[interval]  收集响应时间并聚集显示 ,并支持设计迭代时间(s);如 ");
	ConsolePrint.println("|                                                aggre java.lang.Thread start 2");
	ConsolePrint.println("| call         {clazzname methodname}[interval]  判断函数是否被调用;如 ");
	ConsolePrint.println("|                                                call java.lang.Thread start 2");
	ConsolePrint.println("| jstack       {clazzname methodname}[interval]  打印指定函数的调用堆栈;如 ");
	ConsolePrint.println("|                                                jstack java.lang.Thread start 2");
	ConsolePrint.println("| file         {filePath}                        支持btrace原有方式,加载btrace file文件;如 ");
	ConsolePrint.println("|                                                file Test.java");
	ConsolePrint.println("| druid                                          监控当前druid数据源的链接情况;如 ");
	ConsolePrint.println("|                                                druid");
	ConsolePrint.println("| isearch                                        监控当前isearch请求的响应时间;如 ");
	ConsolePrint.println("|                                                isearch");
	ConsolePrint.println("| sql                                            监控当前Sql请求的响应时间,聚合显示;如 ");
	ConsolePrint.println("|                                                sql");
	ConsolePrint.println("| sqlde                                          监控当前Sql请求的响应时间,聚合显示,且显示详细sql;如 ");
	ConsolePrint.println("|                                                sql");
	ConsolePrint.println("| quit                                           退出btrace交互 ");
	ConsolePrint.println("|                                                quit");
	ConsolePrint.println("| ------------------------------------------------------------------------------------------------");	

btrace_extend's People

Contributors

xxzmxx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.