LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 40
Manipulating process groups


Hi.


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.


Regards,
kenneho
 
Old 06-10-2008, 07:52 PM   #2
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,231

Rep: Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071
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.

Claro?
 
  


Reply


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 02:50 AM
Map Windows NT Groups to UNIX Groups - why? kenji1903 Linux - Networking 4 10-16-2007 11:52 AM
limit to nesting groups within groups? geekgrl Linux - General 3 10-16-2007 11:50 AM
Manipulating NICs ? Infernal211283 Linux - Newbie 5 04-28-2005 11:46 AM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 02:58 AM


All times are GMT -5. The time now is 09:56 AM.

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