Re: [PATCH] chrt: make threads aware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

    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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux