initctl: add cpu/mem limits as well to json status output

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-12-17 08:19:37 +01:00
1 parent 864b71af14
commit 43ca51c3b1
3 files changed
+86 -2

No files matched your search

+2 -1
View File
@@ -57,8 +57,9 @@ int cgroup_avail(void);
char *pid_cmdline (int pid);
char *pid_cgroup (int pid);
char *cgroup_val(char *path, char *file, char *buf, size_t len);
uint64_t cgroup_memory(char *group);
int cgroup_throttle(char *group, uint64_t *throttled_usec, uint64_t *nr_throttled);
int cgroup_throttle(char *group, uint64_t *throttled_usec, uint64_t *nr_throttled);
struct cg *cg_stats(char *path);
struct cg *cg_conf (char *path);