-- -- (C) 2017-18 - ntop.org -- local dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?/init.lua;" .. package.path local ntop_info = ntop.getInfo() local os_utils = require "os_utils" local ebpf_utils = {} function ebpf_utils.draw_processes_graph(host_info) print[[
]] end function ebpf_utils.draw_ndpi_piecharts(ifstats, url, host_info, uid, pid) local refresh_rate local have_nedge = ntop.isnEdge() if have_nedge then refresh_rate = 5 else refresh_rate = getInterfaceRefreshRate(ifstats["id"]) end print [[| ]] print(i18n("ndpi_page.overview", {what = i18n("ndpi_page.application_protocol")})) print[[ | ||||
|---|---|---|---|---|
| ]] print(i18n("ndpi_page.overview", {what = i18n("ndpi_page.application_protocol_category")})) print[[ | ||||