There are two issues here. 1) Monitoring. (ps, top etc) 2) Control (kill). For monitoring you might need to patch ps/top a little but it is doable without 2 pids. For kill it is extremely rude to kill processes inside of a nested pid space. There are other solutions to the problem.
This is exactly the reason why we allow host system to see all the containers/VPSs/processes.Can you elaborate? If I have 10 containers with 1000 processes each, it would be nice to be able to run top then kill 40 top cpu hogs....
Otherwise monitoring tools should be fixed for it, which doesn't look good and top/ps/kill are not the only tools in the world. Without such functionality you can't understand whether you machine is underloaded or overloaded.
Kirill - 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/
- Follow-Ups:
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: [email protected] (Eric W. Biederman)
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- References:
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: "Serge E. Hallyn" <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Alan Cox <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Dave Hansen <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Greg KH <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Dave Hansen <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: [email protected] (Eric W. Biederman)
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Hubertus Franke <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Linus Torvalds <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Kirill Korotaev <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: [email protected] (Eric W. Biederman)
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- From: Pavel Machek <[email protected]>
- Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- Prev by Date: [PATCH 00/15] drivers/scsi/FlashPoint.c cleanups
- Next by Date: Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- Previous by thread: Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- Next by thread: Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- Index(es):