Re: [PATCH] Let ionice -p handle multiple pids | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi Stephan,
On Fri, Aug 08, 2008 at 05:58:08PM +0200, Stephan Maka wrote:
> Makes ionice usable like renice, ie. ionice -p `pidof proc1 proc2 ...`
your suggestion makes sense. Unfortunately...
> - while ((c = getopt(argc, argv, "+n:c:p:th")) != EOF) {
> + while ((c = getopt(argc, argv, "+n:c:pth")) != EOF) {
... your implementation is not backwardly compatible. The current
version supports:
ionice -p <pid> -c <class>
in your version is to possible to use the <pid> as the latest option
only:
ionice -p -c <class> <pid>
Karel
--
Karel Zak <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]