View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-09-2008, 07:02 AM   #1
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 655

Rep: Reputation: 40
Manipulating process groups


I've just come across process groups, and thougth it might be used for renice-ing a group of processes.
I'm not familiar with the concept, but from what I've read one can group processes together and renice/signal them as one entity.

So, does anyone know how one can create/manipulate process groups?

Also, please point me to any (good) relevant documentation on the subject.

Old 06-10-2008, 08:52 PM   #2
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,979

Rep: Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441
Consider the bash-shell notion of "a job." (This is something that you start "in the background" and basically-ignore until it's finished.)

That "job" might well consist of several programs. (Many things in Unix/Linux land are performed by the cooperative efforts of several programs running simultaneously.) So, to handle this, we have "process groups." Every process that this job consists-of, or that this job might at any time create, belongs to that "group." This is what enables you to "kill 'the job,'" without having to consider just how-many processes you actually might be killing. Likewise, if you change the execution-priority of 'the job,' this is how Linux knows which process(es) to adjust.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
groups (system default groups) Xavius Linux - General 2 07-18-2012 03:50 AM
Map Windows NT Groups to UNIX Groups - why? kenji1903 Linux - Networking 4 10-16-2007 12:52 PM
limit to nesting groups within groups? geekgrl Linux - General 3 10-16-2007 12:50 PM
Manipulating NICs ? Infernal211283 Linux - Newbie 5 04-28-2005 12:46 PM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 03:58 AM

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration