mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Reworked hosts listing in order to avoid/limit out-of-memory issues
Implemented aggregation of hosts and flows when using views
This commit is contained in:
parent
df957f9e55
commit
11f8c934d0
40 changed files with 391 additions and 354 deletions
|
|
@ -62,14 +62,14 @@ end
|
|||
interface.select(ifname)
|
||||
|
||||
if((group_col == "mac") or (group_col == "antenna_mac")) then
|
||||
hosts_stats = interface.getLocalHostsInfo()
|
||||
hosts_stats,total = aggregateHostsStats(interface.getLocalHostsInfo())
|
||||
--PRINT
|
||||
-- for n in pairs(hosts_stats) do
|
||||
-- io.write("= "..n..'\n')
|
||||
-- end
|
||||
|
||||
else
|
||||
hosts_stats = interface.getHostsInfo()
|
||||
hosts_stats,total = aggregateHostsStats(interface.getHostsInfo())
|
||||
end
|
||||
|
||||
to_skip = (currentPage-1) * perPage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue