CVSROOT: /cvs Module name: src Changes by: [email protected] 2013/02/11 04:11:42
Modified files:
sys/kern : kern_sysctl.c
sys/sys : proc.h
Log message:
When information about threads are not requested sum the '%cpu' of
all threads in a process instead of returning only the '%cpu' for
the main thread.
This makes top(1) display the correct percentage of CPU usage for
threaded processes when theads are not displayed.
ok sthen@, mikeb@
