projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a9314
)
libs/sys: recent busybox versions changed top output from %MEM to %VSZ, fix luci...
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 26 Oct 2011 21:23:37 +0000
(21:23 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 26 Oct 2011 21:23:37 +0000
(21:23 +0000)
libs/sys/luasrc/sys.lua
patch
|
blob
|
history
diff --git
a/libs/sys/luasrc/sys.lua
b/libs/sys/luasrc/sys.lua
index f07430474989c0a9c3ec3d32a689890e96308eca..f9b253e764c7063b52a72e91a1fa23c87087f33e 100644
(file)
--- a/
libs/sys/luasrc/sys.lua
+++ b/
libs/sys/luasrc/sys.lua
@@
-526,6
+526,9
@@
function process.list()
end
k = luci.util.split(luci.util.trim(line), "%s+", nil, true)
+ if k[6] == "%VSZ" then
+ k[6] = "%MEM"
+ end
if k[1] == "PID" then
break
end