Create real-time process from shell script
Hello, Is there any way (or linux utilities) could be used to create a real-time process in shell script?
Thanks,
Gavin
Quoted 5 lines · gshan
Hello, Is there any way (or linux utilities) could be used to create a real-time process in shell script?
Thanks,
Gavin
nice -20 <command> <args>
or:
<command> <args> & pid=$!
renice -20 -p $pid
-- Jeroen
Quoted 5 lines · Jeroen van Rijn
Quoted 2 lines · gshan
Hello, Is there any way (or linux utilities) could be used to create a real-time process in shell script?
nice -20 <command> <args>
If you prefer realtime scheduling (as in SCHED_FIFO etc) you may want to look at chrt (but this isn't really a linux kernel question so this might be the wrong list to ask).
Signature · 1 line
Sitsofe | http://sucs.org/~sits/
Quoted 4 lines
If you prefer realtime scheduling (as in
SCHED_FIFOetc) you may want to look at chrt (but this isn't really a linux kernel question so this might be the wrong list to ask).
I'm sorry for that. But chrt only take effect on real-time processes?