System Management

An administrator is correlating a kernel disk error with entries in an application log that uses wall-clock times. The default dmesg output prefixes each line with the number of seconds since boot. Which command displays the kernel ring buffer with human-readable timestamps?

Show the answer

Correct answerB. dmesg -T

The -T (--ctime) option converts the seconds-since-boot prefixes into human-readable date and time. The -x option only decodes the facility and priority level into text and leaves the timestamps unchanged, so it does not help with log correlation.