I have a java process seens like taking up all the cpu processing power. I thinking of killing it but how do i know what is the program that is开发者_StackOverflow中文版 actually causing such huge usage of solarsi cpu usage?
Try prstat -- it should show you how much CPU each process on your system is using.
Although this question was asked sometime back, I'm posting this so anyone can refer in future.
You can use the top
command to investigate the issue. However, the thing with Solaris is, you have to turn off the Irix mode to get the real process information. While running top
tool, press I to toggle the Irix mode.
More information can find here -> How to investigate CPU utilization in Solaris
精彩评论