<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: System shutdown commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739297#M67294</link>
    <description>The shutdown command initiates an orderly shutdown, going through all the shutdown scripts to terminate process normally.  The reboot command causes an immediate shutdown.&lt;BR /&gt;Shutdown is the preferred method.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 06 Jun 2002 15:09:26 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2002-06-06T15:09:26Z</dc:date>
    <item>
      <title>System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739294#M67291</link>
      <description>I have little knowledge on HP-UX.&lt;BR /&gt;&lt;BR /&gt;To shutdown the system I have to type  #shutdown -r  ?????????&lt;BR /&gt;or this is the command for reboot?&lt;BR /&gt;&lt;BR /&gt;If I reboot what are the commands to restart as multi-user???&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 06 Jun 2002 15:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739294#M67291</guid>
      <dc:creator>Diadina Cotte</dc:creator>
      <dc:date>2002-06-06T15:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739295#M67292</link>
      <description>Hi Diadina,&lt;BR /&gt;&lt;BR /&gt;To shutdown the system you can do:&lt;BR /&gt;&lt;BR /&gt;# shutdown -h now&lt;BR /&gt;&lt;BR /&gt;as root user and in the / directory.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Thu, 06 Jun 2002 15:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739295#M67292</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-06-06T15:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739296#M67293</link>
      <description>Enter "shutdown -h -y 0"&lt;BR /&gt;&lt;BR /&gt;The -h option is for halt, -y is to answer yes to questions and 0 is how long to wait to start shutdown process.&lt;BR /&gt;&lt;BR /&gt;Their is a "man" page on the syntax&lt;BR /&gt;  man 1m shutdown&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Thu, 06 Jun 2002 15:08:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739296#M67293</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-06-06T15:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739297#M67294</link>
      <description>The shutdown command initiates an orderly shutdown, going through all the shutdown scripts to terminate process normally.  The reboot command causes an immediate shutdown.&lt;BR /&gt;Shutdown is the preferred method.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 06 Jun 2002 15:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739297#M67294</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-06T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739298#M67295</link>
      <description>To shutdown the system:&lt;BR /&gt;shutdown -h -y 0&lt;BR /&gt;&lt;BR /&gt;To shutdown and reboot in the normal run state befined in /etc/inittab:&lt;BR /&gt;shutdown -r -y 0&lt;BR /&gt;&lt;BR /&gt;Man 1m shutdown for details.</description>
      <pubDate>Thu, 06 Jun 2002 15:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739298#M67295</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-06T15:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739299#M67296</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;"shutdown -h 60" will shut down and halt after a grace period of 60 seconds.&lt;BR /&gt;&lt;BR /&gt;"shutdown -r 0" will shutdown and reboot immediately. &lt;BR /&gt;&lt;BR /&gt;The initial state (S for single user, 3 for multi user) is in /etc/inittab.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards, Klaus&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jun 2002 15:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739299#M67296</guid>
      <dc:creator>Klaus Crusius</dc:creator>
      <dc:date>2002-06-06T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739300#M67297</link>
      <description>Some points:&lt;BR /&gt;&lt;BR /&gt;1) Normal and safe shutdown command:&lt;BR /&gt;&lt;BR /&gt;# shutdown -h -y 0 (h-halt, y-answer yes, 0-in 0 seconds)&lt;BR /&gt;&lt;BR /&gt;2) Normal and safe reboot:&lt;BR /&gt;&lt;BR /&gt;# shutdown -y -r 0 (r-reboot)&lt;BR /&gt;&lt;BR /&gt;3) Immediate and unsafe reboot:&lt;BR /&gt;&lt;BR /&gt;# reboot -r (r-reboot, use -h for halt)&lt;BR /&gt;&lt;BR /&gt;4) Just start your system and do not interrupt, the system will start in multi user mode unless there is some starup/configuration issue.</description>
      <pubDate>Thu, 06 Jun 2002 15:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739300#M67297</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-06-06T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739301#M67298</link>
      <description>Just to add to Justos reply - "shutdown -r 0" will bring the system down and backup to multiple user mode. &lt;BR /&gt;&lt;BR /&gt;shutdown on its own takes you down to single user mode from which the command "init 3" takes you back to run level 3 (you can check your current run level with the command "who -r").&lt;BR /&gt;&lt;BR /&gt;If your machine (assuming its a D or K class or similar)  is not set to autoboot it may halt on the way up and ask you to select a boot path. If this happens just enter "bo pri" and it will boot from the primary boot disk.</description>
      <pubDate>Thu, 06 Jun 2002 15:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739301#M67298</guid>
      <dc:creator>Nick Wickens</dc:creator>
      <dc:date>2002-06-06T15:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739302#M67299</link>
      <description>Sorry, Diadina, I mis-read your question.  As the others have said, shutdown -h will halt the system while shutdown -r will reboot.  Depending on your default init level in /etc/initab (i.e. 3), the system should come back up in multi-user mode.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 06 Jun 2002 15:14:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739302#M67299</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-06T15:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: System shutdown commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739303#M67300</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The first thing to do is "man 1m shutdown".  Yes, "shutdown -r" reboots the system.  There is a reboot command but it does not perform a graceful shutdown and reboot.  That is, reboot does not run the rc (run control) scripts that will properly shutdown your applications.  shutdown does run them.&lt;BR /&gt;&lt;BR /&gt;Rebooting (or cold booting) will bring up the system to the run level specified in /etc/inittab on the initdefault line which typically looks like:&lt;BR /&gt;init:3:initdefault:&lt;BR /&gt;&lt;BR /&gt;Also "man init" and "man rc" for more info.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 06 Jun 2002 15:16:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-shutdown-commands/m-p/2739303#M67300</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-06-06T15:16:11Z</dc:date>
    </item>
  </channel>
</rss>

