From: Hannu Nyman Date: Fri, 28 Jun 2019 15:56:53 +0000 (+0300) Subject: luci-base: show niced processes on Status/Processes page X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1c80eb196282c7119fd26bc03451f4d6ca3710ac;p=project%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 --- diff --git a/modules/luci-base/luasrc/sys.lua b/modules/luci-base/luasrc/sys.lua index bb4c67fe88..cd186c94d2 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 ][