* Create real-time process from shell script
@ 2008-09-24 1:55 gshan
2008-09-24 7:54 ` Jeroen van Rijn
0 siblings, 1 reply; 4+ messages in thread
From: gshan @ 2008-09-24 1:55 UTC (permalink / raw)
To: linux-kernel
Hello, Is there any way (or linux utilities) could be used to create a
real-time process in shell script?
Thanks,
Gavin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Create real-time process from shell script
2008-09-24 1:55 Create real-time process from shell script gshan
@ 2008-09-24 7:54 ` Jeroen van Rijn
2008-09-24 8:44 ` Sitsofe Wheeler
0 siblings, 1 reply; 4+ messages in thread
From: Jeroen van Rijn @ 2008-09-24 7:54 UTC (permalink / raw)
To: gshan; +Cc: linux-kernel
On Wed, Sep 24, 2008 at 3:55 AM, gshan <gshan@alcatel-lucent.com> wrote:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Create real-time process from shell script
2008-09-24 7:54 ` Jeroen van Rijn
@ 2008-09-24 8:44 ` Sitsofe Wheeler
2008-09-24 8:48 ` gshan
0 siblings, 1 reply; 4+ messages in thread
From: Sitsofe Wheeler @ 2008-09-24 8:44 UTC (permalink / raw)
To: Jeroen van Rijn; +Cc: gshan, linux-kernel
Jeroen van Rijn wrote:
> On Wed, Sep 24, 2008 at 3:55 AM, gshan <gshan@alcatel-lucent.com> wrote:
>> 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).
--
Sitsofe | http://sucs.org/~sits/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-09-24 8:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-24 1:55 Create real-time process from shell script gshan
2008-09-24 7:54 ` Jeroen van Rijn
2008-09-24 8:44 ` Sitsofe Wheeler
2008-09-24 8:48 ` gshan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox