mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Oops, meant 'used' instead of 'free' in memstat.
This commit is contained in:
parent
bd1b1fe3bc
commit
d96d790de7
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
printf("memory usage: ");
|
||||
printbytes(memused);
|
||||
printf(" free / ");
|
||||
printf(" used / ");
|
||||
printbytes(memtotal);
|
||||
unsigned percent = ((unsigned long long) memused * 100ULL ) / memtotal;
|
||||
printf(" total (%u%s)\n", percent, "%");
|
||||
|
|
Loading…
Reference in a new issue