Re: "busy" load counters

From: dada1
Date: Sat Sep 13 2003 - 03:37:31 EST



From: "Albert Cahalan" <albert@xxxxxxxxxxxxxxxxxxxxx>
> The feature is available, but you'll need to upgrade
> to procps-3.1.12 and linux-2.6.0-test4 at least.
>
> http://www.kernel.org/pub/linux/kernel/v2.6/
> http://procps.sf.net/
>

With procps-3.1.12 and linux-2.6.0-test5, top and ps reports 0.00 time for
multi-threaded programs.

It seems only the 'main' thread is now visible in /proc, and its cpu time
dont include the cpu time of other threads...

Example :

root 1238 0.0 0.0 2692 1576 pts/1 S 08:13 0:00 /bin/bash
root 1293 0.0 0.0 2692 1576 pts/1 S 08:14 0:00 /bin/bash
root 1298 0.0 19.5 716016 658460 pts/1 S 08:14 0:00 ./server
! THIS process certainly has wrong TIME
root 2465 0.0 0.0 2672 1564 pts/2 S 10:19 0:00 -bash


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/