Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

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

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


Last edited by thelast; 06-26-2010 at 08:49 AM.
Old 06-27-2010, 03:25 AM   #2
Registered: Aug 2005
Location: Anchorage, Alaska (soon EU, hopefully)
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 918

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


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 03:29 PM
Time limits on a command or process? WingnutOne Linux - General 7 07-09-2008 04:22 PM
process run out of resource ust Linux - Software 1 06-13-2008 02:15 AM
limits on memory resource bayram Linux - General 3 12-14-2006 11:32 AM
setting resource limits for jobs... pointfielder Red Hat 1 11-01-2006 06:34 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:43 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