mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Fix process list
This commit is contained in:
parent
f915304963
commit
d08e483455
1 changed files with 2 additions and 2 deletions
|
@ -386,8 +386,8 @@ function process.list()
|
||||||
end
|
end
|
||||||
|
|
||||||
for line in ps do
|
for line in ps do
|
||||||
local pid, ppid, user, stat, vsz, mem, cpu, cmd = line:match(
|
local pid, ppid, user, stat, vsz, mem, cpun, cpu, cmd = line:match(
|
||||||
"^ *(%d+) +(%d+) +(%S.-%S) +([RSDZTW][W ][<N ]) +(%d+) +(%d+%%) +(%d+%%) +(.+)"
|
"^ *(%d+) +(%d+) +(%S.-%S) +([RSDZTW][W ][<N ]) +(%d+) +(%d+.%d) +(%d+) +(%d+.%d) +(.+)"
|
||||||
)
|
)
|
||||||
|
|
||||||
local idx = tonumber(pid)
|
local idx = tonumber(pid)
|
||||||
|
|
Loading…
Reference in a new issue