[Crash-utility] [PATCH] Add a new option -r to cgget
Dave Anderson
anderson at redhat.com
Wed Jan 2 15:06:13 UTC 2013
----- Original Message -----
> Hello Dave,
>
> This patch allows cgget to display one or some parameters of a
> controller of cgroup and fix some bugs.
> One will find it more efficient when he just focus on some
> parameters instead of the whole controller.
>
> Here are examples:
> 1.
> crash> cgget -r cpuset.mems /
> /:
> cpuset.mems: 0
>
> 2.
> crash> cgget -r memory.usage /
> /:
> memory.memsw.max_usage_in_bytes: 0
> memory.memsw.usage_in_bytes: 1368694784
> memory.max_usage_in_bytes: 0
> memory.usage_in_bytes: 1368694784
>
> To apply this patch, enter to crash-<version> directory and run
> the commands as follows:
> $ cp cgget.pacth ./
> $ patch -p0 -i cgget.patch
>
> For more information, please refer to the attachment.
>
> Thanks.
Hello Zhang,
The new version of cgget.c and its command help page have been
updated on the extensions web page.
Thanks,
Dave
More information about the Crash-utility
mailing list