在 reniced.conf 中,参数“ ”不是加法 (+) 中的数字

在 reniced.conf 中,参数“ ”不是加法 (+) 中的数字

当我在终端中Argument " " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 2. 运行命令时会出现一个列表, 下面是我得到的结果sudo reniced

Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 3.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 4.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 5.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 6.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 7.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 8.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 9.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 10.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 11.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 12.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 13.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 14.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 15.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 16.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 17.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 18.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 19.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 20.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 21.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 22.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 23.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 24.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 25.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 26.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 27.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 28.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 29.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 30.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 31.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 32.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 33.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 34.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 35.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 36.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 37.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 38.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 39.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 40.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 41.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 42.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 43.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 44.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 45.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 46.
Argument "     " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 47.

我正在尝试从 reniced.conf 更改应用程序的优先级,有人可以帮我解决这个问题吗?谢谢 :)

我还没有编辑配置文件

这是 reniced.conf 文件的截图。这里面有什么问题吗? Reniced.conf 文件

输出ps H -eo lwp,comm | sed -n '1,10s/^/^/p'

^      1 systemd
^      2 kthreadd
^      3 rcu_gp
^      4 rcu_par_gp
^      5 kworker/0:0-events
^      6 kworker/0:0H
^      7 kworker/0:1-mm_percpu_wq
^      8 kworker/u8:0-events_unbound
^      9 mm_percpu_wq

答案1

reniced 1.21要求从命令收到的进程列表ps具有特定长度的 PID。如果操作系统中的 PID 较长,则reniced在处理列表时会崩溃:

Argument " " isn't numeric in addition (+) at /usr/bin/reniced line 435, <PS> line 12.

该问题已在上游修复reniced 1.22(2020 年 6 月 17 日发布):
https://github.com/mmitch/reniced/releases/tag/v1.22

该问题已于 2020-11-24 报告给 Ubuntu,但仍未修复:
https://bugs.launchpad.net/ubuntu/+source/reniced/+bug/1905485
https://packages.ubuntu.com/search?keywords=reniced

相关内容