> ...
> I have just found out how I must do it.
> 
> # echo res=cpu,guarantee=-2,limit=-2,total_guarantee=100,max_limit=-2 > 
> /configfs/ckrm/class1/shares

The "cat" cmd can be used to display error message (if any) :

# echo "res=cpu,total_guarantee=100" | cat > /configfs/ckrm/class1/shares

The "echo" cmd does not check the return code and error message
(if any) are displayed on the console only.

Patrick


+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+    Patrick Le Dot
 mailto: [EMAIL PROTECTED]         Centre UNIX de BULL SAS
 Phone : +33 4 76 29 73 20               1, Rue de Provence        BP 208
 Fax   : +33 4 76 29 76 00               38130 ECHIROLLES Cedex     FRANCE
 Bull, Architect of an Open World TM
 www.bull.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to