mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
add ffmpeg bandwidth stats
This commit is contained in:
parent
c15a2bd233
commit
263b9944d7
@ -119,7 +119,7 @@ async def set_cpu_stats(all_stats: dict[str, Any]) -> None:
|
||||
all_stats["cpu_usages"] = cpu_stats
|
||||
|
||||
async def set_bandwidth_stats(all_stats: dict[str, Any]) -> None:
|
||||
"""Set cpu usage from top."""
|
||||
"""Set bandwidth from nethogs."""
|
||||
bandwidth_stats = get_bandwidth_stats()
|
||||
|
||||
if bandwidth_stats:
|
||||
|
||||
@ -27,6 +27,7 @@ export default function System() {
|
||||
const {
|
||||
cpu_usages,
|
||||
gpu_usages,
|
||||
bandwidth_usages,
|
||||
detectors,
|
||||
service = {},
|
||||
detection_fps: _,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user