Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1398966

Re: [PATCH 3/3] cpuacct: Show all detail stats in one file

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] cpuacct: Show all detail stats in one file
Date 2016-05-11 13:40 +0200
Message-ID <rxAEF-7mh-5@gated-at.bofh.it> (permalink)
References <rxjXb-7jo-7@gated-at.bofh.it> <rxjXb-7jo-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 11, 2016 at 01:43:16AM +0800, Zhao Lei wrote:

>  # cat cpuacct.usage_all
>  [cpu] user system
>  [0] 3809760299 5807968992
>  [1] 3250329855 454612211
>  ..
> 
> Any aspects of statistics data can be get from this file
> with a simple data-processing code.

Is there a precedent for using [%d] for the first column? Would it not
be easier to parse without that?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] cpuacct: Show all detail stats in one file Zhao Lei <zhaolei@cn.fujitsu.com> - 2016-05-10 19:50 +0200
  [PATCH 3/3] cpuacct: Show all detail stats in one file Zhao Lei <zhaolei@cn.fujitsu.com> - 2016-05-10 19:50 +0200
    Re: [PATCH 3/3] cpuacct: Show all detail stats in one file Peter Zijlstra <peterz@infradead.org> - 2016-05-11 13:40 +0200
  [PATCH 1/3] cpuacct: Merge cpuacct_usage_index and cpuacct_usage_index Zhao Lei <zhaolei@cn.fujitsu.com> - 2016-05-10 19:50 +0200
    Re: [PATCH 1/3] cpuacct: Merge cpuacct_usage_index and  cpuacct_usage_index Ingo Molnar <mingo@kernel.org> - 2016-05-12 09:50 +0200
  [PATCH 2/3] cpuacct: Simplify cpuacct_stats_show Zhao Lei <zhaolei@cn.fujitsu.com> - 2016-05-10 19:50 +0200
    Re: [PATCH 2/3] cpuacct: Simplify cpuacct_stats_show Ingo Molnar <mingo@kernel.org> - 2016-05-12 09:50 +0200

csiph-web