Hi,
BTW, for a given thread group with a specified TGID, you can view all the
threads PIDs in that thread group thus:
pstree -p TGID
and:
pstree TGID
will give one line; It visually merges identical branches by putting
them in square brackets and prefixing them with the repetition count.
Regard
On Tue, 02 Apr 2013 16:46:24 +0300, Kevin Wilson said:
> Hi,
> Thanks a lot Vlad. This explains it.
> - Does anybody know of a ps command (or a filter to ps command)
> which will display only multithreaded
> processes (list processes by TGID) ? (I know now about the option of
> displaying cgroup
Hi,
Thanks a lot Vlad. This explains it.
- Does anybody know of a ps command (or a filter to ps command)
which will display only multithreaded
processes (list processes by TGID) ? (I know now about the option of
displaying cgroup.procs , but is something parallel can be done with ps ? )
rgs,
Ke
On Tue, Apr 02, 2013 at 05:54:56AM +0300, Kevin Wilson wrote:
> Hi?
> Any idea what is the difference "cgroup.procs" entry and "tasks"
> entry of cgroup sysfs?
> both represent pid lists.
> I ran:
> cat /sys/fs/cgroup/cpuset/cgroup.procs
> and
> cat /sys/fs/cgroup/cpuset/tasks
> and entries of cg
Hi?
Any idea what is the difference "cgroup.procs" entry and "tasks"
entry of cgroup sysfs?
both represent pid lists.
I ran:
cat /sys/fs/cgroup/cpuset/cgroup.procs
and
cat /sys/fs/cgroup/cpuset/tasks
and entries of cgroup.procs appear in tasks.
However there are many more tasks than cgroup.procs