fix(core): update
This commit is contained in:
parent
e43b89f51d
commit
22b181a7a0
@ -68,7 +68,7 @@ export class SmartMetrics {
|
||||
if (!stats[stat]) continue;
|
||||
memoryUsageBytes += stats[stat].memory;
|
||||
}
|
||||
let memoryUsageText = this.formatBytes(memoryUsageBytes);
|
||||
let memoryUsageText = `${this.formatBytes(memoryUsageBytes)} / ${this.formatBytes(plugins.os.totalmem())}`;
|
||||
let memoryPercentage = Math.round((memoryUsageBytes / plugins.os.totalmem()) * 100) / 100;
|
||||
|
||||
const returnMetrics: interfaces.IMetricsSnapshot = {
|
||||
|
Loading…
Reference in New Issue
Block a user