"ivelin" wrote : Very nice, Dimitris. | | I am not sure what a suitable task would be for the CPU monitoring. It is probably not as important what the actual task is, but rather how do we measure the CPU usage. An example method could be to remember the highest performance within a 10 (configurable) second interval. If at some point of time there are 10 seconds, such that the task is executed within 5% of the time that they were executed in the best case, then there is a CPU spike. | | What do you think? | | Ivelin
It seems to be very hard to do proper CPU load calculations in a portable way. I did some googling and found out a few research project that want to do this... A friend recommended to have some particular method for each popular O/S (e.g. read /dev/proc stats in linux) and use that instead. I was wondering what commercial products do? /Dimitris <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825722#3825722">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825722>Reply to the post</a> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development