Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Konstantin Kolinko
2011/1/19 Michael Ludwig : > Petr Hracek schrieb am 19.01.2011 um 12:37 (+0100): >> The programs like 'jps' and 'jstack' are directorly in tomcat5 >> distribution or it has to be compiled on the system? > > They come with the JDK and are located in the JDK's bin/ directory. > >  C:\Programme\Java\j

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Michael Ludwig
Petr Hracek schrieb am 19.01.2011 um 12:37 (+0100): > The programs like 'jps' and 'jstack' are directorly in tomcat5 > distribution or it has to be compiled on the system? They come with the JDK and are located in the JDK's bin/ directory. C:\Programme\Java\jdk1.6.0_23\bin -- Michael Ludwig

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Petr Hracek
Super thank you. The programs like 'jps' and 'jstack' are directorly in tomcat5 distribution or it has to be compiled on the system? 2011/1/19 Ronald Klop : > Su to the user running tomcat. > Run 'jps'. Find the pid of the process running 'Bootstrap'. > Run 'jstack '. This gives you the thread dum

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Ronald Klop
Su to the user running tomcat. Run 'jps'. Find the pid of the process running 'Bootstrap'. Run 'jstack '. This gives you the thread dump. The id's of the threads (in hex) correspond to the pid's (in decimal) of the threads in ps -H or top with threads on. You can also find the pid with ps like

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Petr Hracek
Dear users, I do not understand correctly. I am linux administrator but the command like 'thread dump' is not existing. Do you have any example? Thank you in advance Petr 2011/1/19 Mark Thomas : > On 19/01/2011 08:29, Petr Hracek wrote: >> Dear tomcat users, >> >> I would like to ask you on the

Re: servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Mark Thomas
On 19/01/2011 08:29, Petr Hracek wrote: > Dear tomcat users, > > I would like to ask you on the some thing regarding servlets running > under tomcat 5 linux OS. > How could I detect if servlet is running or not? > Output of command ps -ef | grep java does not help me enought. I could > not catch w

servlets under tomcat5 consume huge CPU usage

2011-01-19 Thread Petr Hracek
Dear tomcat users, I would like to ask you on the some thing regarding servlets running under tomcat 5 linux OS. How could I detect if servlet is running or not? Output of command ps -ef | grep java does not help me enought. I could not catch what java process is used by servlets Are there any spe