From: Hannu Nyman Date: Sun, 30 Jun 2019 16:54:11 +0000 (+0300) Subject: luci-base: show niced processes on Status/Processes page X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=952efd5c98c5beed16d2162ecbc5f425540245bf;p=oweals%2Fluci.git 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) --- 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 ][