LinuxQuestions.org
Visit Jeremy's Blog.
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-15-2006, 12:47 AM   #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, 01:47 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785
See man pages for:

ulimit -t -m -v
 
Old 03-15-2006, 01: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


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

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

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