LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-13-2001, 11:17 AM   #1
adenardo
Member
 
Registered: Oct 2001
Location: Fort Collins, Colorado
Distribution: RHEL3/FedoraCore3
Posts: 61

Rep: Reputation: 15
limit CPU on a per user basis?


similar to how quota sets usage and limits on disks on a per user basis....is there a way to restrict CPU utilization on a per user basis? in other words, can I mandate that no process owned by jdoe can ever consume more than 10% of the CPU? better yet, can I mandate that all of the processes owned by jdoe will never collectively consume more than 10% of the CPU?

any help appreciated.
 
Old 11-13-2001, 11:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Im using the stuff from /etc/security/limits.conf.

Else you end up with ulimit, or hacking the kernel (tasks.h) for tkat really "BOFH/fascist mode" control of max task & thread limits :-]
 
  


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
Download limit gb/month (per-user basis) shaman Linux - Networking 1 01-06-2006 05:14 AM
How do I Limit Bandwidth on a Per Connection Basis? farmerjoe Linux - General 1 11-09-2005 07:28 PM
Limit CPU by user, site or process apc1 Linux - General 0 01-22-2005 06:01 PM
squid+browsed information+per user basis sanw2k Linux - Networking 1 08-20-2003 02:17 PM
can I limit CPU utilization per user? adenardo Linux - General 2 11-13-2001 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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