[root@test opt]# opscripts vjdump --liveheap 18859
==========Thanks to https://github.com/vipshop/vjtools==========
The pid is 18859
2018-12-05 12:57:11 vjdump begin. command interval is 1s.
2018-12-05 12:57:11 Begin to process jstack.
2018-12-05 12:57:11 Finish to process jstack.
/opt/awesome-scripts/java/bin/sjk
2018-12-05 12:57:12 Begin to process sjk ttop.
It will take 3 seconds, please wait.
process top error, now exit.
[root@test opt]# opscripts vjdump --liveheap 18859 ==========Thanks to https://github.com/vipshop/vjtools========== The pid is 18859 2018-12-05 12:57:11 vjdump begin. command interval is 1s. 2018-12-05 12:57:11 Begin to process jstack. 2018-12-05 12:57:11 Finish to process jstack. /opt/awesome-scripts/java/bin/sjk 2018-12-05 12:57:12 Begin to process sjk ttop. It will take 3 seconds, please wait. process top error, now exit.
[root@test opt]# /opt/awesome-scripts/java/bin/sjk ttop -n 1 -ri 3 -p 18859 Site: https://github.com/aragozin/jvm-tools -n/lib/tools.jar not found!