LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 08: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 08:49 AM.
 
Old 06-27-2010, 03:25 AM   #2
halvy
Member
 
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..
 
  


Reply



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:47 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
Open Source Consulting | Domain Registration