actually updated slstatus and removed binaries

This commit is contained in:
bacalhau 2025-10-19 19:19:58 +01:00
parent 073fdfd5e8
commit b9ae019df3
12 changed files with 14 additions and 13 deletions

View file

@ -41,7 +41,7 @@
return NULL;
percent = 100 * ((total - free) - (buffers + cached)) / total;
return bprintf("%d", percent);
return bprintf("%02d", percent);
}
const char *
@ -120,7 +120,7 @@
return NULL;
percent = uvmexp.active * 100 / uvmexp.npages;
return bprintf("%d", percent);
return bprintf("%2d", percent);
}
const char *
@ -194,7 +194,7 @@
&active, &len, NULL, 0) < 0 || !len)
return NULL;
return bprintf("%d", active * 100 / npages);
return bprintf("%2d", active * 100 / npages);
}
const char *