{"id":6729,"date":"2022-06-30T23:45:43","date_gmt":"2022-06-30T23:45:43","guid":{"rendered":"https:\/\/swiv.com.br\/options-to-find-out-boot-logs-on-oracle-linux\/"},"modified":"2026-05-27T20:02:29","modified_gmt":"2026-05-27T19:02:29","slug":"options-to-find-out-boot-logs-on-oracle-linux","status":"publish","type":"post","link":"https:\/\/swiv.com.br\/index.php\/2022\/06\/30\/options-to-find-out-boot-logs-on-oracle-linux\/","title":{"rendered":"Options to find out Boot Logs on Oracle Linux"},"content":{"rendered":"\n<p>Em algumas investiga\u00e7\u00f5es, se faz necess\u00e1rio avaliar se h\u00e1 algum erro ou anomalia no processo de Boot do Linux, e neste artigo vamos compartilhar 2 maneiras simples para tal.<\/p>\n\n\n\n<p>Usando o comando dmesg, que \u00e9 um utilit\u00e1rio capaz (entre outras coisas) de reportar informa\u00e7\u00f5es do Boot do Linux:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# dmesg -H\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/06\/image-1-1.png\" alt=\"\" class=\"wp-image-7357\"\/><\/figure>\n\n\n\n<p>Se quisermos informa\u00e7\u00f5es apenas do Kernel, usamos o par\u00e2metro -k:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# dmesg -Hk\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-2.png\" alt=\"\" class=\"wp-image-7358\"\/><\/figure>\n\n\n\n<p>J\u00e1 a segunda maneira de validarmos as informa\u00e7\u00f5es (que podem ser basicamente as mesmas, dependendo da configura\u00e7\u00e3o do ambiente), \u00e9 usando o journalctl. Esta ferramenta est\u00e1 vinculada com o systemctl, e tem capacidade de centralizar os logs de diferentes componentes do sistema, e um deles \u00e9 justamento o boot ou Kernel.<\/p>\n\n\n\n<p>Para vermos os Logs completos do Boot atual:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# journalctl -b\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-3.png\" alt=\"\" class=\"wp-image-7359\"\/><\/figure>\n\n\n\n<p>Se quisermos ver apenas as informa\u00e7\u00f5es do Kernel do Boot atual, usamos o par\u00e2metro k (mesmo coisa do dmesg):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-4.png\" alt=\"\" class=\"wp-image-7360\"\/><\/figure>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \\&quot;wp-block-syntaxhighlighter-code\\&quot;\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;root@oel7 ~]# journalctl -k\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/swiv.com.br\/wp-content\/uploads\/2022\/07\/image-5.png\" alt=\"\" class=\"wp-image-7361\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Em algumas investiga\u00e7\u00f5es, se faz necess\u00e1rio avaliar se h\u00e1 algum erro ou anomalia no processo de Boot do Linux, e neste artigo vamos compartilhar 2 maneiras simples para tal. Usando o comando dmesg, que \u00e9 um utilit\u00e1rio capaz (entre outras coisas) de reportar informa\u00e7\u00f5es do Boot do Linux: Se quisermos informa\u00e7\u00f5es apenas do Kernel, usamos [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-6729","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/6729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/comments?post=6729"}],"version-history":[{"count":1,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/6729\/revisions"}],"predecessor-version":[{"id":9035,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/posts\/6729\/revisions\/9035"}],"wp:attachment":[{"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/media?parent=6729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/categories?post=6729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swiv.com.br\/index.php\/wp-json\/wp\/v2\/tags?post=6729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}