RE: [PATCH 1/4] stat: Print one-line iops stat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: fio-owner@xxxxxxxxxxxxxxx [mailto:fio-owner@xxxxxxxxxxxxxxx] On
> Behalf Of Andreas Herrmann
> Sent: Friday, June 23, 2017 5:28 PM
> To: Jens Axboe <axboe@xxxxxx>
> Cc: fio@xxxxxxxxxxxxxxx
> Subject: [PATCH 1/4] stat: Print one-line iops stat
> 
> This adds basic iops statistics (likewise to what we already have for
> bandwidth) to normal and json fio output. Example for normal output:
> 
>    bw (  KiB/s): min=42192, max=162068, per=0.10%, avg=93236.21,
> stdev=22180.02
>    iops : min=21090, max=81020, avg=46606.84, stdev=11088.40
>     lat (usec) : 2=55.13%, 4=21.11%, 10=0.36%, 20=0.03%, 50=23.14%
...
> +		log_buf(out, "   iops : min=%5llu, max=%5llu, avg=%5.02f, "
> +			"stdev=%5.02f\n", min, max, mean, dev);

Seven more spaces are needed to line up the : characters in all the rows.

I don't recommending splitting up a quoted string like that either - it
makes it hard to find things with grep.

---
Robert Elliott, HPE Persistent Memory


--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux