louwrentius / fio-plot

Create charts from FIO storage benchmark tool output
BSD 3-Clause "New" or "Revised" License
370 stars 87 forks source link

displaying system time #128

Closed peterwi closed 11 months ago

peterwi commented 11 months ago

Hi, thanks for the tool, Is there any way to be able to display system time on the charts?

louwrentius commented 11 months ago

~/projects/fio-plot/bin/fio-plot -i pmem0/1k pmem0/4k/ pmem0/8k/ pmem0/16k/ pmem0/32k/ pmem0/64k/ pmem0/128k/ pmem0/512k/ pmem0/1024k/ pmem0/2048k/ --source "$(date)" -T "TEST" -C -r randwrite --xlabel-parent 0

TEST_2023-11-28_150835_LF

I'm abusing the source option for this, does this work for you?

peterwi commented 11 months ago

That would also work, but I was thinking of being able to see timestamps on the x axis on the diagram. Thanks for quick reply 👍

louwrentius commented 11 months ago

Hi Peter,

Thanks, that is not possible at this time. If you want can you explain the use case? Would the -g style graph not be of any help (relative time)?