Re: Create real-time process from shell script

From: Jeroen van Rijn
Date: Wed Sep 24 2008 - 03:54:26 EST


On Wed, Sep 24, 2008 at 3:55 AM, gshan <gshan@xxxxxxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/