-
1. Re: jboss process(es) in Linux
jonlee May 22, 2003 8:14 AM (in response to jscolton)You'll probably see a bunch of Java processes with -Dprogram.name=run.sh. Something like this:
29676 ? S 0:02 /usr/local/IBMJava2-14/bin/java -Dprogram.name=run.sh
29696 ? S 0:23 /usr/local/IBMJava2-14/bin/java -Dprogram.name=run.sh
29697 ? S 0:33 /usr/local/IBMJava2-14/bin/java -Dprogram.name=run.sh
With Sun and HotSpot, it will probably be more like this:
29676 ? S /usr/local/J2SDK1.4.1_02/bin/java -server -Dprog
29696 ? S /usr/local/J2SDK1.4.1_02/bin/java -server -Dprog
29697 ? S 0:33 /usr/local/J2SDK1.4.1_02/bin/java -server -Dprog
The number of threads, that Linux lists as processes, will vary depending on the services you are running. There's about 89 on my service.
Sometimes you are better off looking at the pstree. You'll get something like this:
|-java---java---88*[java] -
2. Re: jboss process(es) in Linux
mikefinn May 22, 2003 10:28 AM (in response to jscolton)You will see:
One process for the shell that started JBoss (like run.sh)
One process for each thread that JBoss has started. This is a result of the Linux 1:1 threading model. Normally those processes will show the qualified name of your JDK, so you can grep for those (like "grep j2sdk" for the Sun JVM)
Mike