{"id":2347,"date":"2013-07-15T20:58:59","date_gmt":"2013-07-15T12:58:59","guid":{"rendered":"http:\/\/rmohan.com\/?p=2347"},"modified":"2013-07-15T20:58:59","modified_gmt":"2013-07-15T12:58:59","slug":"shutdown-or-reboot-sun-solaris","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=2347","title":{"rendered":"Shutdown or Reboot Sun Solaris"},"content":{"rendered":"<p>Solaris is usually used as a server operating system. Because of this, you want to make sure that you shut the system down as gracefully as possible to ensure there isn\u2019t any data loss.<\/p>\n<p>For every application that is installed on your server, you should make sure that you have the correct scripts in \/etc\/rc(x).d to gracefully shut down the service.<\/p>\n<p>Shutdown<br \/>\nYou have more than one command option that you can use. The best command is this, executed as root:<\/p>\n<p>    shutdown -y -i5 -g0<\/p>\n<p>This will immediately shut the system down. You can also use the older command that still works:<\/p>\n<p>    sync;sync;init 5<\/p>\n<p>You can even use:<\/p>\n<p>    poweroff<\/p>\n<p>Reboot<br \/>\nIf you are trying to reboot the system as opposed to turning it off, you could use:<\/p>\n<p>    -y -i6 -g0 <\/p>\n<p>Or:<\/p>\n<p>    sync;sync;init 6<\/p>\n<p>Or even:<\/p>\n<p>    reboot<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Solaris is usually used as a server operating system. Because of this, you want to make sure that you shut the system down as gracefully as possible to ensure there isn\u2019t any data loss.<\/p>\n<p>For every application that is installed on your server, you should make sure that you have the correct scripts in \/etc\/rc(x).d [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2347"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2347"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2347\/revisions"}],"predecessor-version":[{"id":2348,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2347\/revisions\/2348"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}