- 浏览: 3139 次
- 性别:
- 来自: 杭州
最新评论
文章列表
查看page size
/usr/bin/time -v date
查看cpu和java线程的调度关系
while true; do ps -eo pid,pcpu,psr,comm | grep java; sleep 1; done
或者
while true
do
ps -eo pid,pcpu,psr,comm | grep java;
sleep 1;
done
查看内存
我的linux执行free命令显示如下:
[root@Linux /tmp]# free
...
Btrace是一个jvm probe工具,可以灵活地声明刺探点并注入刺探逻辑。它自带的samples中有非常多的例子,本文列举了从这些例子中总结出来的刺探点声明。
构造函数刺探,重载的构造函数也可以
@BTrace public class OnThrow {
...
When working with NIO, the natural question we ask is how we're going to process a particullar NIO event, which occurred on an NIO channel. Usually we have two options: process the NIO event in the current (Selector) thread or pass it to the worker thread for processing.
Worker-thread IOStrate ...