> > PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE > 22429 top 16.6% 0:21.12 1 18 20 1.35M 684K 1.77M 26.9M > ------------------------------------------------------------------------ > -------------------------------------------------------- > > Comments/opinions? I fail to see which column you mean. #TH perhaps? I think, that can be calculated under linux by (a) counting the directories in /proc/22429/task using readdir or (b) get the nlink of /proc/22429/task and subtract 2, which should give the same as (a), and, better than (a), should also be atomic Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-1)
- From: girish <[email protected]>
- Re: [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-1)
- From: William Pitcock <[email protected]>
- Re: [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-1)
- From: girish <[email protected]>
- Re: [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-1)
- From: Jan Engelhardt <[email protected]>
- Re: [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-1)
- From: girish <[email protected]>
- Re: [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-1)
- From: Jan Engelhardt <[email protected]>
- Re: [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-3)
- From: girish <[email protected]>
- Re: [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-3)
- From: [email protected] (Eric W. Biederman)
- [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-1)
- Prev by Date: Re: [PATCH 2.6.18-mm2] acpi: add backlight support to the sony_acpi driver
- Next by Date: Re: How is Code in do_sys_settimeofday() safe in case of SMP and Nest Kernel Path?
- Previous by thread: Re: [PATCH] include children count, in Threads: field present in /proc/<pid>/status (take-3)
- Next by thread: [PATCH]doc: Added explaination for splice system call
- Index(es):