mirror of
https://github.com/troglobit/finit.git
synced 2026-10-21 11:29:42 +00:00
initctl: new command 'cgroup' to show cgroup config
This is intended to be used with the 'top' command to aid in setting up and verifying proper limits for services. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
02936de993
commit
d59f55b90c
4 files changed
+231
-77
No files matched your search
+1
-1
@@ -201,7 +201,7 @@ char *memsz(uint64_t sz, char *buf, size_t len)
|
||||
int gb, mb, kb, b;
|
||||
|
||||
if (!sz) {
|
||||
strlcpy(buf, "-.-", len);
|
||||
strlcpy(buf, "--.--", len);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user