Re: [PATCH] new chcpu tool

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

 



On Mon, Aug 22, 2011 at 03:28:17PM +0200, Karel Zak wrote:
> On Mon, Aug 22, 2011 at 02:06:41PM +0200, Heiko Carstens wrote:
> > Do you think it would be ok to have it in util-linux? Or should it live
> > somewhere else?
> 
> It makes sense to have it in util-linux. I'm going to merge it after
> v2.20 release.

Ok, great!

I set up a chcpu git branch where you could pull the chcpu stuff easily:

  git://git.kernel.org/pub/scm/linux/kernel/git/heiko/util-linux.git chcpu

It contains just the two patches posted here and doesn't interfer with the
lscpu branch that is also there.

Heiko Carstens (2):
      cpuset: add option to allow cpulist_parse() to fail
      chcpu: new tool

 include/cpuset.h      |    2 +-
 lib/cpuset.c          |    7 +-
 schedutils/taskset.c  |    2 +-
 sys-utils/.gitignore  |    1 +
 sys-utils/Makefile.am |    3 +
 sys-utils/chcpu.1     |   94 ++++++++++++++
 sys-utils/chcpu.c     |  337 +++++++++++++++++++++++++++++++++++++++++++++++++
 sys-utils/lscpu.1     |    2 +
 sys-utils/lscpu.c     |    2 +-
 9 files changed, 445 insertions(+), 5 deletions(-)
 create mode 100644 sys-utils/chcpu.1
 create mode 100644 sys-utils/chcpu.c

> > +static int path_exist(const char *path, ...)
> 
>  It seems that we need to move the path_*() functions from lscpu(1) to
>  lib/ and hare the stuff.

Yes, I thought so as well. But laziness won ;)

Thanks,
Heiko
--
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