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

2005-03-30 Thread Arun Srinivas
setscheduler() and usage issues ....please help Date: Tue, 29 Mar 2005 06:31:43 -0500 On Tue, 2005-03-29 at 13:25 +0530, Arun Srinivas wrote: > thanks.gcc says "could not find strutils.h". I am using kernel 2.6.x with > gcc 3.3.4. Where can I find the file? Oops! Sorry, I gave you a m

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

2005-03-29 Thread Jan Engelhardt
>FC2 has this. Even FC1 had it, and I'd not be surprised if even RHL9 had >this. I'd be very susprised if SuSE 9.1 doesn't have it either. It was introduced with SUSE Linux 9.1. But, as usually, I usually do not care for new packages when updating, and schedutils was not a dependency, so it lost

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

2005-03-29 Thread Arjan van de Ven
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 sc

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

2005-03-29 Thread Jan Engelhardt
>OK, I'm a little embarrassed. I never saw this tool. I use debian You don't need to be. Before I got to know of this tool, I also wrote my own. Look for "schedutils". >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

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

2005-03-29 Thread Steven Rostedt
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 sc

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

2005-03-28 Thread Jan Engelhardt
>> > 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

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

2005-03-28 Thread Lee Revell
On Mon, 2005-03-28 at 23:40 -0500, Steven Rostedt wrote: > On Tue, 2005-03-29 at 08:58 +0530, Arun Srinivas 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

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

2005-03-28 Thread Steven Rostedt
On Tue, 2005-03-29 at 08:58 +0530, Arun Srinivas 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. -- Steve /* Copyright (C) 2004 Kihon Technologies Inc.

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

2005-03-28 Thread Arun Srinivas
I am trying to set the SCHED_FIFO policy for my process.I am using sched_setscheduler() function to do this. I am following the correct syntax and running it as root process.I am using the given syntax i.e., int sched_setscheduler(pid_t pid, int policy, const struct sched_param *p); (SCHED_FIFO