aku
V2EX  ›  问与答

cpulimit 对使用多核心的进程不起作用,求代替

  •  
  •   aku · Dec 13, 2013 · 3326 views
    This topic created in 4577 days ago, the information mentioned may be changed or developed.
    cpulimit只能设置为0-100,设置为700之类的数字无效,进程直接就会把所有核心跑满

    大家有碰到这种问题吗?
    Supplement 1  ·  Dec 13, 2013
    自问自答:果然是不支持多核心,在github上找到dev版本,编译了下,通过,有效。
    4 replies    1970-01-01 08:00:00 +08:00
    LazyZhu
        1
    LazyZhu  
       Dec 13, 2013   ❤️ 1
    cpulimit-ng?
    LazyZhu
        2
    LazyZhu  
       Dec 13, 2013
    aku
        3
    aku  
    OP
       Dec 13, 2013
    @LazyZhu 我直接用原作者的dev分支,不知道还有其他人改过
    aku
        4
    aku  
    OP
       Dec 13, 2013
    @LazyZhu 就是这个,顺藤摸瓜找到的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3072 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 13:38 · PVG 21:38 · LAX 06:38 · JFK 09:38
    ♥ Do have faith in what you're doing.