[Feature Request] Network usage statistics (Upload, Download) #3421
-
DescriptionA feature that gives information about the total internet bandwidth used by the device would be nice. Maybe instant upload and download speeds can also be added here. Feature PR: #3420 OtherNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
This comment has been minimized.
This comment has been minimized.
-
@shamoon I just wanted to push for this feature to come. When I get new updates, this development will be overwritten. This is kind of annoying :( |
Beta Was this translation helpful? Give feedback.
-
I agree with this feature, and I think real-time internet speed information should also be added, like this (if I wrote it correctly) if (type === "network") {
const network = await si.networkStats();
const eth = network.findLast((n) => n.iface === target);
if (eth === undefined) {
return res.status(404).json({
error: "Target not found"
});
}
return res.status(200).json({
net: {
rx: eth.rx_sec,
tx: eth.tx_sec
}
});
} |
Beta Was this translation helpful? Give feedback.
#4327