[PATCH] Documentation: cgroups/cpuacct.txt: Fix command example in cpuacct.txt.

Li Zefan lizf at cn.fujitsu.com
Tue Aug 3 19:01:45 PDT 2010


Masanari Iida wrote:
> Fix command example in cpuacct.txt
> 
> Signed-off-by: Masanari Iida <standby24x7 at gmail.com>

Obviously correct..

Acked-by: Li Zefan <lizf at cn.fujitsu.com>

> ---
>  Documentation/cgroups/cpuacct.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Documentation/cgroups/cpuacct.txt b/Documentation/cgroups/cpuacct.txt
> index 8b93094..152350b 100644
> --- a/Documentation/cgroups/cpuacct.txt
> +++ b/Documentation/cgroups/cpuacct.txt
> @@ -24,7 +24,7 @@ New accounting groups can be created under the parent group /cgroups.
>  
>  # cd /cgroups
>  # mkdir g1
> -# echo $$ > g1
> +# echo $$ > g1/tasks
>  
>  The above steps create a new group g1 and move the current shell
>  process (bash) into it. CPU time consumed by this bash and its children


More information about the Containers mailing list