[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Monitor Nice Proccess Level



Steve Wright wrote:

On Wed, 2003-11-26 at 10:00, Matt wrote:


Greetings,
Is there anyway I can monitor the "nice" level's of user's programs and
write to their term if they exceed a certain nice level to warn them
they are going to be killed? I know how to write and all.. but I can't
quiet figure out how to figure out the nice level.. I was playing with
top and grep and awk...




well, you don't need to really..  if verynice is running, then the OS
will look after this for you.


/steve




_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


I concur. However if you are curious what the nice values are, then something like this should do "nicely":
ps -eo "%p %y %n %a" --sort=ni


Chris

--
-----------------------------------------------------------
  "Spend less!  Do more!  Go Open Source..." -- Dirigo.net
  Chris Johnson, RHCE #807000448202021





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]