All of lore.kernel.org
 help / color / mirror / Atom feed
* [Suggestion] Header for --minimal output
@ 2015-02-16 16:34 Alireza Haghdoost
  2015-02-16 17:30 ` Sitsofe Wheeler
  0 siblings, 1 reply; 5+ messages in thread
From: Alireza Haghdoost @ 2015-02-16 16:34 UTC (permalink / raw)
  To: fio

the --minimal output is very hard to track and decode by script
developers. It would be nice if we can add append a header within the
output file. Then the output file would be self explanatory in
spreadsheet. In this case, for example I would know the column that my
script should track is located in column 72nd. Otherwise, my
understanding is that the only way to discover output is refering to
man page and count/decode columns all by hand.

I wish if my hand had 72 fingers for this case study :-)

--
Alireza

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Suggestion] Header for --minimal output
  2015-02-16 16:34 [Suggestion] Header for --minimal output Alireza Haghdoost
@ 2015-02-16 17:30 ` Sitsofe Wheeler
  2015-02-16 17:42   ` Alireza Haghdoost
  2015-02-16 17:50   ` Carl Zwanzig
  0 siblings, 2 replies; 5+ messages in thread
From: Sitsofe Wheeler @ 2015-02-16 17:30 UTC (permalink / raw)
  To: Alireza Haghdoost; +Cc: fio

On 16 February 2015 at 16:34, Alireza Haghdoost <haghdoost@gmail.com> wrote:
> the --minimal output is very hard to track and decode by script

Wouldn't it be preferable to use the json output if things are going
to be processed further?

-- 
Sitsofe | http://sucs.org/~sits/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Suggestion] Header for --minimal output
  2015-02-16 17:30 ` Sitsofe Wheeler
@ 2015-02-16 17:42   ` Alireza Haghdoost
  2015-02-16 17:50   ` Carl Zwanzig
  1 sibling, 0 replies; 5+ messages in thread
From: Alireza Haghdoost @ 2015-02-16 17:42 UTC (permalink / raw)
  To: Sitsofe Wheeler; +Cc: fio

On Mon, Feb 16, 2015 at 11:30 AM, Sitsofe Wheeler <sitsofe@gmail.com> wrote:
> On 16 February 2015 at 16:34, Alireza Haghdoost <haghdoost@gmail.com> wrote:
>> the --minimal output is very hard to track and decode by script
>
> Wouldn't it be preferable to use the json output if things are going
> to be processed further?
>

I was not aware of such a feature. I think it is not documented in the
man page. Can you please share an example of json output with me ?

--Alireza

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [Suggestion] Header for --minimal output
  2015-02-16 17:30 ` Sitsofe Wheeler
  2015-02-16 17:42   ` Alireza Haghdoost
@ 2015-02-16 17:50   ` Carl Zwanzig
  2015-02-16 17:55     ` Alireza Haghdoost
  1 sibling, 1 reply; 5+ messages in thread
From: Carl Zwanzig @ 2015-02-16 17:50 UTC (permalink / raw)
  To: Sitsofe Wheeler, Alireza Haghdoost; +Cc: fio

(sorry about the top-posting)

Not always, there are many applications where columnar data is easier to work with; I have a fair number of processes that collect lots of fio terse output and use awk & sort to condense the results. JSON would add an extra set of steps.

That aside, an optional fio-provided header would be nice.

z!

________________________________________
From: fio-owner@vger.kernel.org [fio-owner@vger.kernel.org] on behalf of Sitsofe Wheeler [sitsofe@gmail.com]
Sent: Monday, February 16, 2015 9:30 AM
To: Alireza Haghdoost
Cc: fio@vger.kernel.org
Subject: Re: [Suggestion] Header for --minimal output

On 16 February 2015 at 16:34, Alireza Haghdoost <haghdoost@gmail.com> wrote:
> the --minimal output is very hard to track and decode by script

Wouldn't it be preferable to use the json output if things are going
to be processed further?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Suggestion] Header for --minimal output
  2015-02-16 17:50   ` Carl Zwanzig
@ 2015-02-16 17:55     ` Alireza Haghdoost
  0 siblings, 0 replies; 5+ messages in thread
From: Alireza Haghdoost @ 2015-02-16 17:55 UTC (permalink / raw)
  To: Carl Zwanzig; +Cc: Sitsofe Wheeler, fio

On Mon, Feb 16, 2015 at 11:50 AM, Carl Zwanzig <cpz@coraid.com> wrote:
> That aside, an optional fio-provided header would be nice.

That is exactly what I was looking. I am parsing normal output right
now  (mehh!). It turns out parsing normal output is much more easier
that terse output with 10 fingers :-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-16 18:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-16 16:34 [Suggestion] Header for --minimal output Alireza Haghdoost
2015-02-16 17:30 ` Sitsofe Wheeler
2015-02-16 17:42   ` Alireza Haghdoost
2015-02-16 17:50   ` Carl Zwanzig
2015-02-16 17:55     ` Alireza Haghdoost

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.