{"id":131,"date":"2019-08-01T08:31:14","date_gmt":"2019-08-01T08:31:14","guid":{"rendered":"https:\/\/www.petelinjek.com\/?p=131"},"modified":"2019-09-06T13:59:55","modified_gmt":"2019-09-06T13:59:55","slug":"how-to-determine-how-long-specified-remote-server-or-device-was-offline","status":"publish","type":"post","link":"https:\/\/www.petelinjek.com\/?p=131","title":{"rendered":"How to determine how long specified remote server or device was offline on Debian GNU\/Linux"},"content":{"rendered":"\n<p> Create <a href=\"https:\/\/blog.sleeplessbeastie.eu\/2019\/07\/29\/how-to-determine-how-long-specified-remote-server-or-device-was-offline\/\">shell script<\/a> to determine how long specified remote server or  device was offline. It is not designed to substitute monitoring  solution, but to determine how long it will take to reboot server or  device. It is using <a href=\"https:\/\/blog.sleeplessbeastie.eu\/2015\/03\/06\/how-to-pretty-print-system-uptime\/\">convert seconds to human readable time<\/a> code to display results. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create shell script to determine how long specified remote server or device was offline. It is not designed to substitute monitoring solution, but to determine how long it will take to reboot server or device. It is using convert seconds to human readable time code to display results.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-131","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=131"}],"version-history":[{"count":3,"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":153,"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions\/153"}],"wp:attachment":[{"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.petelinjek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}