{"id":4257,"date":"2020-11-12T18:30:53","date_gmt":"2020-11-12T17:30:53","guid":{"rendered":"https:\/\/solidt.eu\/site\/?p=4257"},"modified":"2021-01-12T20:26:20","modified_gmt":"2021-01-12T19:26:20","slug":"linux-view-shutdown-reboot-times","status":"publish","type":"post","link":"https:\/\/solidt.eu\/site\/linux-view-shutdown-reboot-times\/","title":{"rendered":"Linux view shutdown\/reboot times"},"content":{"rendered":"\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Display list of last reboot entries: \nlast reboot | less\n\n# Display list of last shutdown entries: \nlast -x | less\nlast -x | grep shutdown | less\n\n# Display logs from last shutdown\njournalctl -b -1 -n250\n# where -b would show you the journal of the current bootup and -b -1 the journal of the one before. With -n250 your journalctl will show you the last 250 lines only\n<\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4257","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/4257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/comments?post=4257"}],"version-history":[{"count":2,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/4257\/revisions"}],"predecessor-version":[{"id":4457,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/4257\/revisions\/4457"}],"wp:attachment":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/media?parent=4257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/categories?post=4257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/tags?post=4257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}