Re: renice

2009-07-14 Thread JonPeirce
Note that with os.nice you can only *decrease* priority. For increasing priority you need to run; os.system("sudo renice -n %s %s" % (new_nice, os.getpid())) or simply set the nice level when you run python in the first place (you do also need sudo for this): sudo nice -n -15 python m

Re: renice

2007-10-26 Thread Carl Banks
On Oct 26, 12:46 pm, Dan <[EMAIL PROTECTED]> wrote: > On Oct 26, 4:30 am, mokhtar <[EMAIL PROTECTED]> wrote: > > > Hi > > > Is it possible to renice the python process executing the current python > > script ?:confused: > > -- > > View this m

Re: renice

2007-10-26 Thread Dan
On Oct 26, 4:30 am, mokhtar <[EMAIL PROTECTED]> wrote: > Hi > > Is it possible to renice the python process executing the current python > script ?:confused: > -- > View this message in > context:http://www.nabble.com/renice-tf4695834.html#a13422771 > Sent from th

renice

2007-10-26 Thread mokhtar
Hi Is it possible to renice the python process executing the current python script ?:confused: -- View this message in context: http://www.nabble.com/renice-tf4695834.html#a13422771 Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman