LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 06-26-2010, 09:47 AM   #1
thelast
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
I want to change the resource limits for a specific process


Hi,
I want to change the resource limits for a specific process
Or to create a new process and give it limits as I want,
There is a function setrlimit, Which is possible to change it but for a programmatic I want to apply it to another Process,
The problem is that this function does not receive process ID for example.
I read in most books on the subject of The Linux system programming
But I can not find something in this regard

Thanks

Last edited by thelast; 06-26-2010 at 09:49 AM.
 
Old 06-27-2010, 04:25 AM   #2
halvy
Member
 
Registered: Aug 2005
Location: Boston Massachussets, USA
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 917

Rep: Reputation: 41
I guess you already now about the 'nice' function/command..
 
  


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
How to bind a cluster resource IP address to a specific network adapter? tlagren Linux - Enterprise 0 01-07-2010 04:29 PM
Time limits on a command or process? WingnutOne Linux - General 7 07-09-2008 05:22 PM
process run out of resource ust Linux - Software 1 06-13-2008 03:15 AM
limits on memory resource bayram Linux - General 3 12-14-2006 12:32 PM
setting resource limits for jobs... pointfielder Red Hat 1 11-01-2006 07:34 AM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
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