[Crash-utility] A new option of the new command lscgroup
俞永明
yuym.fnst at cn.fujitsu.com
Thu Nov 15 02:50:18 UTC 2012
Hello, Dave,
I have read your mail and think over the suggestions and done some
changes. Firstly, I added a new option "-a" to meet the demand that user
can enter a cgroup address and it would display its controller/path name.
Secondly, previously, when user specify controller:path to display
chosen cgroups,there is no option. To make it in accordance with -a
option, I did a little change, that is when user specify
controller:path, there should be a option -g. The following example
illustrates the change.
Previously, user may run : crash> lscgroup cpu:/
but now, user should run : crash > lscgroup -g cpu:/
Accordingly,the help information was revised. You can refer to the
help information and attachment to see detailed changes.
Many thanks
Yongming Yu
Dave Anderson 写道:
>
> ----- Original Message -----
>
>> And I would suggest a new option, where a user can enter a cgroup
>> address, and it would find and display its controller/path name:
>>
>> crash> lscgroup
>> CGROUP CONTROLLER:PATH
>> ffff8801f668c400 cpuacct,cpu:/system/nfs-lock.service
>> crash>
>
> Sorry -- I meant something like this:
>
> crash> lscgroup ffff8801f668c400
> CGROUP CONTROLLER:PATH
> ffff8801f668c400 cpuacct,cpu:/system/nfs-lock.service
> crash>
>
> Dave
>
>
--
--------------------------------------------------
Yu Yongming
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.
(FNST)No. 6 Wenzhu Road, Nanjing, 210012, China
EMail:yuym.fnst at cn.fujitsu.com
Regards__
--------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lscgroup.c
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20121115/16d9c8fb/attachment.c>
More information about the Crash-utility
mailing list