mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Rename system_utils.lua -> cpu_utils.lua to avoid confusion
This commit is contained in:
parent
55993e8d9b
commit
8e62a71eee
9 changed files with 23 additions and 23 deletions
|
|
@ -10,7 +10,7 @@ local json = require ("dkjson")
|
|||
local page_utils = require("page_utils")
|
||||
local tracker = require("tracker")
|
||||
local storage_utils = require("storage_utils")
|
||||
local system_utils = require("system_utils")
|
||||
local cpu_utils = require("cpu_utils")
|
||||
local rest_utils = require("rest_utils")
|
||||
|
||||
--
|
||||
|
|
@ -27,7 +27,7 @@ if not isAllowedSystemInterface() then
|
|||
end
|
||||
|
||||
local rc = rest_utils.consts.success.ok
|
||||
local res = system_utils.systemHostStats()
|
||||
local res = cpu_utils.systemHostStats()
|
||||
res.epoch = os.time()
|
||||
res.storage = storage_utils.storageInfo()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue