{"id":2756,"date":"2019-11-16T21:20:45","date_gmt":"2019-11-16T21:20:45","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=2756"},"modified":"2019-11-16T21:20:45","modified_gmt":"2019-11-16T21:20:45","slug":"show-human-readable-time-in-dmesg","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/show-human-readable-time-in-dmesg\/","title":{"rendered":"Show human readable time in dmesg"},"content":{"rendered":"\n<p>The -T option lets dmesg show user readable time.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ dmesg -t\n...\n[Sat Nov 15 12:15:12 2019] CPU1: Package temperature\/speed normal\n[Sat Nov 15 12:14:12 2019] CPU3: Package temperature\/speed normal\n[Sat Nov 15 12:14:12 2019] CPU0: Package temperature\/speed normal\n[Sat Nov 15 12:14:12 2019] CPU4: Package temperature\/speed normal\n$<\/pre>\n\n\n\n<p>dmesg time options<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ dmesg -h | grep time\n  -d, --show-delta            show time delta between printed messages\n  -e, --reltime               show local time and time delta in readable format\n  -T, --ctime                 show human-readable timestamp (may be inaccurate!)\n  -t, --notime                don't show any timestamp with messages\n      --time-format   show timestamp using the given format:\n                                [delta|reltime|ctime|notime|iso]\nSuspending\/resume will make ctime and iso timestamps inaccurate.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The -T option lets dmesg show user readable time. Example: $ dmesg -t &#8230; [Sat Nov 15 12:15:12 2019] CPU1: Package temperature\/speed normal [Sat Nov 15 12:14:12 2019] CPU3: Package temperature\/speed normal [Sat Nov 15 12:14:12 2019] CPU0: Package temperature\/speed &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/show-human-readable-time-in-dmesg\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1],"tags":[801,89,800,384],"class_list":["post-2756","post","type-post","status-publish","format-standard","hentry","category-linux","category-uncategorized","tag-t","tag-dmesg","tag-human-readable","tag-time"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=2756"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2756\/revisions"}],"predecessor-version":[{"id":2797,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/2756\/revisions\/2797"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=2756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=2756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=2756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}