{"id":1887,"date":"2023-09-09T18:53:38","date_gmt":"2023-09-09T16:53:38","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=1887"},"modified":"2023-09-09T18:53:41","modified_gmt":"2023-09-09T16:53:41","slug":"tuptime-laufzeit-des-linux-systems-protokollieren","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/09\/tuptime-laufzeit-des-linux-systems-protokollieren\/","title":{"rendered":"tuptime &#8211; Laufzeit des Linux-Systems protokollieren"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Unter Linux k\u00f6nnen Sie auf dem\u00a0Terminal\u00a0mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>uptime<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">sehen wie lange das System in der aktuellen Sitzung bereits l\u00e4uft:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/uptime-1024x576.jpg\" alt=\"\" class=\"wp-image-1888\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/uptime-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/uptime-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/uptime-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/uptime-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/uptime.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wollen Sie jedoch wissen, wann das System gestartet, beendet wurde, hilft die Software tuptime.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">tuptime installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Unter auf Debian basierenden Linux-Distributionen installieren Sie diese Software ganz einfach \u00fcber die\u00a0Paket-Verwaltung\u00a0durch das Paket &#8222;<strong>tuptime<\/strong>&#8222;.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">tuptime nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Die Software wird vom Administrator auf dem Terminal genutzt, starten Sie einfach den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tuptime<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-1024x576.jpg\" alt=\"\" class=\"wp-image-1889\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>System startups:        2  since  00:53:41 2021-09-24\nSystem shutdowns:       1 ok  +  0 bad\nSystem life:            16h 10m 4s\n\nSystem uptime:          99.97%  =  16h 9m 49s\nSystem downtime:        0.03%  =  15s\n\nAverage uptime:         8h 4m 54s\nAverage downtime:       15s\n\nCurrent uptime:         6m 14s  since  16:57:31 2021-09-24<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hier bekommen Sie nun folgende Informationen angezeigt (<em>habe die Software gerade erst installiert<\/em>):<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>System startups<\/strong>&nbsp;&#8211; Die Anzahl der Starts seit der Installation der Software und das Datum und die Uhrzeit seit dem letzten Start<\/li>\n\n\n\n<li><strong>System shutdowns<\/strong>&nbsp;&#8211; So oft wurde das System seit der Installation heruntergefahren<\/li>\n\n\n\n<li><strong>System life<\/strong>&nbsp;&#8211; So lange ist das System installiert (seit der Installation der Software)<\/li>\n\n\n\n<li><strong>System uptime<\/strong>&nbsp;&#8211; Die gesamte Laufzeit des Systems seit der Installation der Software<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Und so weiter und so fort &#8211; die ganzen Zeiten gelten nat\u00fcrlich ab der Installation von&nbsp;<em>tuptime<\/em>. Die Software braucht keine zus\u00e4tzliche Leistung, sie startet nur kurz beim Start und beim Herunterfahren um die Zeiten zu protokollieren.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mit der Option &#8222;<strong><code>-t<\/code><\/strong>&#8220; gestartet, erhalten Sie eine nette Tabelle:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tuptime -t<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-1-1024x576.jpg\" alt=\"\" class=\"wp-image-1890\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/tuptime-1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>No.            Startup T.       Uptime           Shutdown T.   End   Downtime\n                                                                             \n  1   00:53:41 2021-09-24   16h 3m 35s   16:57:16 2021-09-24   OK         15s\n  2   16:57:31 2021-09-24      19m 22s<\/code><\/pre>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"1887\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"1887\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Unter Linux k\u00f6nnen Sie auf dem\u00a0Terminal\u00a0mit dem Befehl: sehen wie lange das System in der aktuellen Sitzung bereits l\u00e4uft: Wollen Sie jedoch wissen, wann das System gestartet, beendet wurde, hilft die Software tuptime. tuptime installieren Unter auf Debian basierenden Linux-Distributionen installieren Sie diese Software ganz einfach \u00fcber die\u00a0Paket-Verwaltung\u00a0durch das Paket &#8222;tuptime&#8222;. tuptime nutzen Die Software [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1889,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[15],"class_list":["post-1887","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system","tag-system"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/1887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=1887"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/1887\/revisions"}],"predecessor-version":[{"id":1891,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/1887\/revisions\/1891"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/1889"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=1887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=1887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=1887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}