What is date/time format of Openstack instance log

asked 2019-11-23 02:45:02 -0500

thana gravatar image

Hi Expert,

I am new to Openstack, I check instance on webgiu and got instance log as below (copy some examples). The timestamp format is not unix epoch time, i tried to google but didn't get the answer. Anyone know how to convert the timestamp format in leftmost column to human date time? Appreciated you help.
  • Note: I am user; not Admin of Openstack.

  • Example instance log from Openstack web GUI.

[5760543.473255] NMI watchdog: BUG: soft lockup - CPU#1 stuck for 55s! [vballoon:583] [5760568.553772] INFO: rcu_sched self-detected stall on CPU[5760568.554769] INFO: rcu_sched detected stalls on CPUs/tasks: [5760678.012838] INFO: rcu_sched detected stalls on CPUs/tasks:[5760683.946972] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 62s! [vballoon:583] [5760767.276690] All QSes seen, last rcu_sched kthread activity 3 (10055491087-10055491084), jiffies_till_next_fqs=3

edit retag flag offensive close merge delete


If this is the log of an instance, it has nothing to do with OpenStack. It's the timestamp of the Linux kernel's console messages.

Normally, it's seconds since boot. To convert this to "human time", you need to know the launch time.

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-23 14:53:40 -0500 )edit

Thank you Bernd. So since instance boot + the time in instance log to be right date/time. Just double check that "launch time" is not the instance creation time.

thana gravatar imagethana ( 2019-11-24 00:09:44 -0500 )edit

Note: the tie format as Bernd mentioned is since VM boot time. The format is [xxxxxxx.yyyyyy] where xxxxxxx is seconds, while yyyyyyy is microsecond. This answer can be closed.

thana gravatar imagethana ( 2019-11-24 20:06:03 -0500 )edit