No. Unix, and this way Linux, is not a multi-threaded OS. It is a multi-process OS. There are many many different implementations of threading libraries available, which provide a faster context switching than processes and process pooling. Two of them are for example pThreads and lThreads. Nearly every commercial Unix has its own we-do-like-we-have-threads implementation hidden in behind libc.
So what you see are, very roughly spoken, the Java Threads.
Ok, Thanks for your answer.
But there is still something I don't understand. How come, why when I use the default kernel and I start jboss and I do some ps I have only one java line. But with the new compiled kernel I still have 51 lines (when doing a ps -ax |grep java) when jboss has completly started!
Because of 1.) the number of Java threads that are simultaneos working, 2.) the actual OS-threading model of the kernel 3.) if you are using green or native threads (in older JREs)
As I said: very roughly.
You should provide more detailed information, maybe your OS list is of more help.
Thanks again for your help.
I have installed a Fedora Core 1 and I have recompiled a new monolitic linux kernel (from kernel.org).
I should have enough information now to tune my server.