You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quick feature request. When output is ASCII, it would be nice if it would dump the unix timestamp (i.e. date/time) with each record. This way, it can be correlated with other source of data, such as a tcpdump.
A simple call to clock_gettime(CLOCK_REALTIME) should work, just dump the raw 64 bit number, no need to convert it to a date/time string (scripts are pretty good at that job, simple numbers are easier to parse). See tcpdump -tt for example.
Thanks in advance !
The text was updated successfully, but these errors were encountered:
I ended up here while Googling for "bmon" "timestamp" to see if it was already a feature. As a workaround, I'm piping the output through a little loop to prepend the epoch, maybe someone will find this useful:
A quick feature request. When output is ASCII, it would be nice if it would dump the unix timestamp (i.e. date/time) with each record. This way, it can be correlated with other source of data, such as a tcpdump.
A simple call to clock_gettime(CLOCK_REALTIME) should work, just dump the raw 64 bit number, no need to convert it to a date/time string (scripts are pretty good at that job, simple numbers are easier to parse). See tcpdump -tt for example.
Thanks in advance !
The text was updated successfully, but these errors were encountered: