Posted almost 6 years ago. Visible to the public.

Make timestamp of dmesg in Ubuntu human readable

dmesg shows the kernel ring buffer containing low-level system messages.
Per default, dmesg shows a timestamp:

Copy
12:59:26 fnordomator ~ > dmesg | tail [101925.211846] usb 2-1.1: USB disconnect, device number 16 [110486.855788] usb 2-1.1: new high-speed USB device number 17 using ehci_hcd

If you're a human, use dmesg -T to print the timestamp human readable:

Copy
12:59:31 fnordomator ~ > dmesg -T | tail [Di Apr 21 12:43:16 2015] usb 2-1.1: USB disconnect, device number 16 [Di Apr 21 15:05:57 2015] usb 2-1.1: new high-speed USB device number 17 using ehci_hcd

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Avatar
Thomas Eisenbarth
Last edit:
almost 6 years ago
by Thomas Eisenbarth
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Thomas Eisenbarth to makandra dev
This website uses short-lived cookies to improve usability.
Accept or learn more