Show network usage on the server console view

This commit is contained in:
DaneEveritt 2022-05-13 23:00:59 -04:00
parent 8791d681bc
commit 62b178ed02
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 106 additions and 89 deletions

View file

@ -1,5 +1,3 @@
export const bytesToMegabytes = (bytes: number) => Math.floor(bytes / 1024 / 1024);
export const megabytesToBytes = (mb: number) => Math.floor(mb * 1024 * 1024);
export function bytesToHuman (bytes: number): string {