mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Adds timeseries of iowait
This commit is contained in:
parent
2dbdc13ec6
commit
f6bd1b3493
5 changed files with 53 additions and 9 deletions
|
|
@ -63,4 +63,17 @@ end
|
|||
|
||||
-- ########################################################
|
||||
|
||||
function ts_dump.dump_cpu_states(ifid, when, cpu_states)
|
||||
if cpu_states and cpu_states["iowait"] then
|
||||
ts_utils.append("system:iowait",
|
||||
{
|
||||
ifid = ifid,
|
||||
iowait_pct = cpu_states["iowait"]
|
||||
},
|
||||
when)
|
||||
end
|
||||
end
|
||||
|
||||
-- ########################################################
|
||||
|
||||
return ts_dump
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue