Re: How to gather process together?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Selon Jan Hudec <bulb@ucw.cz>:

> On Wed, Mar 31, 2004 at 03:09:57 -0500, Guillaume Thouvenin wrote:
> Is it really necessary to do it in kernel? Wouldn't it be possible to
> gather statistics per-process (using bsd process accounting or
> just polling info in /proc) and then aggregate them?

I think that it is necessarily in the kernel. "Containers" have some properties
that I don't describe in the post. For example, if a process is in a
"container", its child will also be in this "container" and statistics will
concern both. Thus, I must store informations concerning the state of the
"container". I don't see how to do this efficiently outside the kernel. I mean
that it maybe possible to do that using /proc filesystem but I think that it's
better to do it in the kernel. Any opinions concerning this are welcome

Thx
Guillaume

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux