My Oracle Support Banner

Oracle OL: How To Add Timestamps To dmesg Kernel Boot Log (Doc ID 2070905.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 4.4 and later
Oracle VM - Version 3.0.1 and later
Linux x86-64

Goal

 During problem analysis or day-to-day operation, it is sometimes difficult to determine what exactly slows the system, especially during the boot process.  One contributor to this difficulty is output of the following command:

 # dmesg
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
type=1305 audit(1445931490.439:4): audit_pid=1333 old=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts

The kernel ring buffer is displayed but is not timestamped.  No information about the relative times of each entry is output.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.