On 23 Aug 2009, at 15:19, meino.cra...@gmx.de wrote:
...
 #!/bin/sh
 exec nice -n -10 ionice -c 1 capture-command
...
This will give the whole 'capture-comand# the rights of root, which
I want to prevent (see my posting). Instead I want to give it only
higher priorities for I/O-usage and CPU-usage. It should still act
with user rights for all other puposes.

Use renice / snice. No idea if ionice has an equivalent.

http://www.google.com/search?q=nice+existing+process
http://www.forwardyouth.com/ubuntu/set-the-nice-level-of-an-existing-process/
http://www.nixtutor.com/linux/changing-priority-on-linux-processes/

Stroller.


Reply via email to