On 11/24/21 6:07 PM, Shankar, Murali via Tech-talk wrote:
> Hello,
>
> I am trying to track down some connectivity issues. I am using the wireshark LUA plugin to process a packet dump from production. Being a wireshark newbie, I was wondering if anyone know how to print the timestamp_sec and timestamp_nsec as part of rendering the ca_monitor event here - https://github.com/mdavidsaver/cashark/blob/master/ca.lua#L694 <https://github.com/mdavidsaver/cashark/blob/master/ca.lua#L694>. I am using wireshark-1.10.14 that ships as part of RHEL7...
The time, when available, is already being formatted[1].
At least the seconds part.
Including the fraction part would take some effort. The Lua
os.date() does not seem to understand fractional seconds,
so this would need to be done explicitly with some string
manipulation. (like epicsTimeToStrftime() does)
It might also mean some restructuring of how parse_dbr()
interacts with its callers to eg. move more of the printing
into parse_dbr().
Either of these would be welcomed changes. I've opened a
ticket[3] for this if someone wants to have a go.
[1] https://github.com/mdavidsaver/cashark/blob/6448936200e7bf47a7da29138933e205ae567c64/ca.lua#L590
[2] https://www.lua.org/pil/22.1.html
[3] https://github.com/mdavidsaver/cashark/issues/11
- References:
- Printing the timestamp_sec in CA wireshark plugin. Shankar, Murali via Tech-talk
- Navigate by Date:
- Prev:
Phoebus-olog client cannot work 王一凡 via Tech-talk
- Next:
Display of Nested NTTable on PVServer on Phoebus Table Widget Kuldeep Joshi via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
Printing the timestamp_sec in CA wireshark plugin. Shankar, Murali via Tech-talk
- Next:
Phoebus-olog client cannot work 王一凡 via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|