Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Linux, running threads that are shown in 'top' (with thread mode 'H' on) to be in state 'R' or 'D' are counted in the load average. You'll definitely see this in programs with a ton of threads, like MySQL or the Java JVM.

If you're not in thread mode in top, this is why you will sometimes see a process consuming > 100% CPU usage.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: