LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-14-2006, 11:47 PM   #1
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Rep: Reputation: 30
User resource


I want to limit the max. resource ( eg. CPU , memory ) that the user can use , for exampe , userA can max. use 20M memory and 30% CPU only , userB can max. use 50M memory and 50% CPU only , is it possible ? thx.
 
Old 03-15-2006, 12:47 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
See man pages for:

ulimit -t -m -v
 
Old 03-15-2006, 12:48 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Check out what's available by editing limits.conf (usually in /etc/security) and reading the man page for limits.conf. It will do some of what you require. For disk space usage look into disk quotas (there's a HOWTO at http://www.tldp.org for setting those up).
 
  


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
Best Resource Management Dylan.Scott Linux - Distributions 2 12-02-2005 05:28 PM
resource monitor? acidjuice SUSE / openSUSE 1 02-13-2005 07:54 PM
Resource trouble DigiCrime Linux - General 1 09-09-2004 03:15 AM
Resource monitor Bilb Linux - Software 6 06-10-2003 08:58 AM
Resource Hog tangle Linux - General 2 04-11-2002 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:36 AM.

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