From 952efd5c98c5beed16d2162ecbc5f425540245bf Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 30 Jun 2019 19:54:11 +0300 Subject: [PATCH] luci-base: show niced processes on Status/Processes page Modify the process status filter to allow also the processes with a nice value to be visible on the Status/Processes page. Filter out the top process itself. Signed-off-by: Hannu Nyman (cherry picked from commit 1c80eb196282c7119fd26bc03451f4d6ca3710ac) --- modules/luci-base/luasrc/sys.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/luci-base/luasrc/sys.lua b/modules/luci-base/luasrc/sys.lua index bb4c67fe8..cd186c94d 100644 --- a/modules/luci-base/luasrc/sys.lua +++ b/modules/luci-base/luasrc/sys.lua @@ -443,11 +443,11 @@ function process.list() for line in ps do local pid, ppid, user, stat, vsz, mem, cpu, cmd = line:match( - "^ *(%d+) +(%d+) +(%S.-%S) +([RSDZTW][W ][