lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJniumUzXpiau2XCj=gR3Qoq7LjeVamR6krFyDgimOo27-U67g@mail.gmail.com>
Date:	Fri, 8 Jul 2011 14:55:22 -0700
From:	Paul Menage <menage@...gle.com>
To:	Wanlong Gao <gaowanlong@...fujitsu.com>
Cc:	Randy Dunlap <rdunlap@...otime.net>, linux-doc@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Documentation:cgroups:fix a command error in cpuacct.txt

On Thu, Jul 7, 2011 at 10:24 PM, Wanlong Gao <gaowanlong@...fujitsu.com> wrote:
> Must echo a task id to the cgroups' tasks file, but not to a directory.
>
> Signed-off-by: Wanlong Gao <gaowanlong@...fujitsu.com>

Acked-by: Paul Menage <menage@...gle.com>

Thanks,
Paul

> ---
>  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 9ad85df..9d73cc0 100644
> --- a/Documentation/cgroups/cpuacct.txt
> +++ b/Documentation/cgroups/cpuacct.txt
> @@ -23,7 +23,7 @@ New accounting groups can be created under the parent group /sys/fs/cgroup.
>
>  # cd /sys/fs/cgroup
>  # 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
> --
> 1.7.6
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ