How to gather process together?

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

 



Hello,


For a new project I need to implement a mechanism that will allow me to gather
process together according to a user choice. For example, here is a list of
running process:

USER      ID  COMMAND
thouveng  345  gnome-session
thouveng  348  /usr/bin/ssh-agent /usr/share/apps/switchdesk/Xclients.gnome
thouveng  413  /usr/libexec/gconfd-2 11
thouveng  456  /usr/libexec/bonobo-activation-server --ac-activate 
thouveng  467  metacity --sm-save-file 1080547315-1211-2058173655.ms
thouveng  556  gnome-settings-daemon --oaf-ior-fd=14
thouveng  560  xscreensaver -nosplash

I want to be able to group together process with ID 467 and 560 in order to
study how those processes use resources on the system. 

So, an idea is to add a new structure to store them and a new module to
manipulate those new "container". 

Before do it myself, I'd like to know if this already exist. I do web search and
I find the PAGG (Process Aggregate) project which is very close to what I need.
I tried it but when I booted the new kernel, the memory usage was always above
40%... I don't know if it's because of the patch (which is dated from nov 7
2002) but this strange behavior pushed me to look for other solutions. 

Thanks for your help
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