Re: sched_setscheduler() and usage issues ....please help

From: Steven Rostedt
Date: Tue Mar 29 2005 - 06:38:47 EST


On Tue, 2005-03-29 at 08:03 +0200, Jan Engelhardt wrote:
> >> > I am trying to set the SCHED_FIFO policy for my process.I am using
> >> > sched_setscheduler() function to do this.
> >>
> >> Attached is a little program that I use to set the priority of tasks.
> >
> >Why not just use chrt from schedtools?
>
> Not every distro has it yet, and I like to point out that a lot of users is
> still using "older" distros, such as FC2, SUSE 9.1, and also olders with Linux
> 2.4 kernels.

OK, I'm a little embarrassed. I never saw this tool. I use debian
unstable, but didn't have the package loaded. I did a apropos on
sched_setscheduler, and it didn't come up with any tools, so I just
wrote my own!

Thanks,

-- Steve


-
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/