astrofrog / psrecord

Record the CPU and memory activity of a process :chart_with_upwards_trend:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide an option to log unix timestamp as well

tonythomas01 opened this issue · comments

Currently, the intervals configuration are set to log every x seconds and the output starts from 1 making it fit for most cases.

It would be great to have another configuration flag that would log results with the current unix timestamp. I can send a PR from my fork actually if people are interested in this.

Sounds good to me!

Hi Guys,

very good feature. I am waiting for this feature.

+1

-Dhanasekaran.

Apart from logging the unix timestamp, it's also a good idea I think to log a timestamp coming from a monotonic time source (see e.g. https://github.com/jgehrcke/goeffel#timestamps).