LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-29-2004, 01:55 PM   #1
dxdad
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 75

Rep: Reputation: 15
All processes nice for certain users


I'd like to know if there is a way to make all processes started by certain users automatically set to a higher nice value than other processes. Can it be done. I wondered if I made their login shell start with a higher nice value all the processes which started from that would also be 'nice' but I also though you could only use one 'word' in the /etc/passwd file for user login shells?
Any ideas?
 
Old 10-29-2004, 02:34 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Not that I'm aware off ... (I'd be happy to know whether
it can be done, too) ... :)

But you could set-up a cron-job to run a
snice
every minute ;)


Cheers,
Tink
 
Old 10-30-2004, 05:58 AM   #3
dxdad
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 75

Original Poster
Rep: Reputation: 15
Well I think for now i'll go with the snice idea. But I'll do a bit of experimenting.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Priority of processes (using nice) started from within a script podollb Linux - Software 1 01-08-2006 11:44 AM
I need to set a max number of processes for users zahadumy Linux - Software 1 11-15-2005 12:52 AM
nice down users DrNeil Linux - General 4 10-06-2004 12:19 AM
Hiding other users processes itskiLLjoy Linux - Security 2 03-20-2004 09:29 PM
nice does not seem to work in prioritizing large processes?? carlos123 Linux - Software 1 11-22-2003 04:33 AM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration