actually updated slstatus and removed binaries
This commit is contained in:
parent
073fdfd5e8
commit
b9ae019df3
12 changed files with 14 additions and 13 deletions
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue