开发者

jstat and ksysguard

开发者 https://www.devze.com 2022-12-09 05:12 出处:网络
Is there any way that I can get the output of jstat (in particular the -gcutil output) into ksysguard so that I can keep track of how a collection of java processes are doing from a garbage collection

Is there any way that I can get the output of jstat (in particular the -gcutil output) into ksysguard so that I can keep track of how a collection of java processes are doing from a garbage collection perspective?

I know that jconsole has similar visualisations but I would prefer开发者_JAVA技巧 it if I could get the data into ksysguard


Not out of the box because KSysGuard requires output in a particular format. However, it would not be too difficult to write a program that adapts jstat output to the format required by KSysGuard. There is a tutorial available on KDE TechBase. You'll be creating what's called a custom sensor.

0

精彩评论

暂无评论...
验证码 换一张
取 消