mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
displaying traffic on disk
This commit is contained in:
parent
fe495f1fea
commit
ed73b0050e
2 changed files with 5 additions and 0 deletions
|
|
@ -37,6 +37,10 @@ if recording_utils.isAvailable then
|
|||
print("<tr><th nowrap>"..i18n("if_stats_overview.dropped_packets").."</th><td>"..stats['Dropped'].." "..i18n("pkts").."</td></tr>\n")
|
||||
end
|
||||
|
||||
if stats['BytesOnDisk'] ~= nil then
|
||||
print("<tr><th nowrap>"..i18n("traffic_recording.traffic_on_disk").."</th><td>"..bytesToSize(stats['BytesOnDisk']).."</td></tr>\n")
|
||||
end
|
||||
|
||||
print("<tr><th nowrap>"..i18n("traffic_recording.storage_dir").."</th><td>"..dirs.pcapdir.."</td></tr>\n")
|
||||
|
||||
print("<tr><th nowrap>"..i18n("traffic_recording.storage_utilization").."</th><td>"..tostring(math.floor(storage_info.used/1024)).."GB / "..tostring(math.floor(storage_info.total/1024)).."GB ("..storage_info.used_perc..")</td></tr>\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue