Re: [PATCH] Add a new option -r to cgget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- 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

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux