On Mon, May 09, 2011 at 02:49:32PM -0400, Davidlohr Bueso wrote: > On Thu, 2011-05-05 at 14:51 +0200, Karel Zak wrote: > > On Wed, May 04, 2011 at 04:11:20PM -0300, Davidlohr Bueso wrote: > > > @@ -82,6 +84,7 @@ static void __attribute__((__noreturn__)) show_usage(int rc) > > > " -h | --help display this help\n" > > > " -m | --max show min and max valid priorities\n" > > > " -p | --pid operate on existing given pid\n" > > > + " -t | --thread propagate changes to all the thread for a given pid\n" > > > > I have renamed the option to: > > > > -a | --all-tasks > > > > it would be nice to use the same option for all sched-utils, the -t > > is already used in ionice(1). > > > > I have also committed support for > > > > $ chrt --all-tasks --pid $(pidof firefox) > > > > to get information about all tasks for the given PID. > > > > > > BTW, is there any way (command line tool) how list scheduling > > information (cpuset, policy, class and priority) for all processes? > > All I can think of is using chrt+taskset, perhaps some combination of ps > might also get us some info. It seems a new command is on the way :) It would be better to extend ps(1), there is a new active procps upstream. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html