Dhaval Giani wrote:
> On Fri, Jul 10, 2009 at 02:01:48PM +0200, Ivana Varekova wrote:
>   
>> Hello,
>> I'm planing to do some tools to go through system of mounted 
>> controllers, created cgroups and parameters of cgroups and so on so I 
>> propose this system of tools:
>> Feedback welcomed.
>>
>> Ivana Hutarova Varekova
>> -----------------------
>> List groups and controllers:
>>
>> lscgroup:
>> list mounted/unounted controllers/ cgroups/ cgroup parameters:
>>
>> Syntax
>> lscgroup [-m] [-a] [controller1] [controller2] [...]
>> lscgroup -s [-t] [<list of controllers>[:group]]
>> lscgroup -p [-r name] <list of controllers:group>
>>
>> Descryption:
>> lscgroup without -s display mounted controllers:
>> -m .. shows mount pouints too
>> -a .. shouws unmounted controllers too
>> if controller is on input then
>>
>>
>> lscgroup with -s option list all cgroups
>>     
>
> From the discussion we had on IRC, I thought this option was meant for
> it to list the subsystems available on the system (not just mounted). I
> think we should look to split the tools as per the functionality and
> then try to group them as opposed to trying to do it all in one place.
>
>   
Hello,
what about to have separate command for each functionality eg.

--------------------------------

lscontroller [-m] [-a] [controller1] [controller2] [...]
 which will have the same functionality as was proposed for lscgroup command 
with this arguments:

lsccontroller display mounted controllers
-m .. shows mount points too
-a .. shows unmounted controllers too
if controller is on input then the output consists of only info relevant to 
this mount point.
--------------------------------

lscgroup  [-t] [<list of controllers>[:group]] [...]

lscgroup list all cgroups
in all controllers, in given controller, in given cgroup of given controller
-t .. will display it in "tree" structure
--------------------------------

cggetparam  [-r name] <list of controllers:group>
cggetparam option list the parameters and values in a group
 -r name - show specified value only

Can this be better approach, or is more acceptable to optimise the set 
of options of lscgroup command as I sent before?
Ivana Hutarova Varekova

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to