如何通过java程序得到weblogic的线程数量和总线程数(也就是相关线程池信息) rt 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ThreadMXBean threadBean = ManagementFactory.getThreadMXBean(); System.out.println("Total thread:" + threadBean.getThreadCount()); System.out.println("Daemon thread:" + threadBean.getDaemonThreadCount()); System.out.println("Started thread:" + threadBean.getTotalStartedThreadCount()); for (long id : threadBean.getAllThreadIds()) { System.out.println(threadBean.getThreadInfo(id)); } 楼上的jmx方式。。不过你只是看看的话 console中就有的呀 mule 怎样集成外部的webservice? hashtable 不要运行,写下你认为的答案...呵呵 无聊散分 JS 关于一个hibernate的问题 weblogic的server是不是必须在安装时装它自带的demo啊?!否则是不是正常创建server呀? 运行spring出现问题 问一个比较烂的问题:xml 属性中如果有双引号,怎么处理? 请问一下actionform和普通bean做dto的区别 使用tomcat服务器怎样做事务处理? java程序一启动,oracle占cpu100% 高分啊 再次请教数据库并发查询,速度慢的问题
System.out.println("Total thread:" + threadBean.getThreadCount());
System.out.println("Daemon thread:" + threadBean.getDaemonThreadCount());
System.out.println("Started thread:" + threadBean.getTotalStartedThreadCount());
for (long id : threadBean.getAllThreadIds()) {
System.out.println(threadBean.getThreadInfo(id));
}
不过你只是看看的话 console中就有的呀