How could I check the number of currently available processes on web server (JBoss 2.4.6). I need to control the loading on my web server.