<?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: QUESTION in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731223#M65533</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;yes&lt;BR /&gt;&lt;BR /&gt;reboot -q&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;           -q             Quick and quiet.  Suppress broadcast of warning messages, terminate processes by brute force (with SIGKILL) and immediately call reboot with&lt;BR /&gt;arguments as indicated by the other options (see reboot(2)).  No logging is performed.  The -t and -m options are ignored with this option.&lt;BR /&gt;&lt;BR /&gt;shutdown -r -y 0&lt;BR /&gt;&lt;BR /&gt; -r        Shut down the system and reboot automatically.&lt;BR /&gt;&lt;BR /&gt;           -y        Do not require any interactive responses from the user.&lt;BR /&gt;(Respond yes or no as appropriate to all questions,  such that the user does not interact with the shutdown process.)&lt;BR /&gt;&lt;BR /&gt;0 is do not wait.&lt;BR /&gt;&lt;BR /&gt;The -q kills of processes and the shutdown does a proper reboot closing everything down&lt;BR /&gt;neatly&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                     Steve Steel</description>
    <pubDate>Fri, 24 May 2002 13:47:13 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2002-05-24T13:47:13Z</dc:date>
    <item>
      <title>QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731219#M65529</link>
      <description>Is there any difference between the following two commands?&lt;BR /&gt;&lt;BR /&gt;"reboot -q"      &lt;BR /&gt;"shutdown -r -y 0"&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Fri, 24 May 2002 13:42:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731219#M65529</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-05-24T13:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731220#M65530</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;shutdown is the clean way to stop your server. Indeed then sthtdown run all the rc's script and stop propelly all process running.&lt;BR /&gt;The "reboot -q" does nothing, it is like a crash.&lt;BR /&gt;&lt;BR /&gt;Fr??d??ric</description>
      <pubDate>Fri, 24 May 2002 13:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731220#M65530</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2002-05-24T13:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731221#M65531</link>
      <description>Both /etc/shutdown and /etc/reboot can be used to either halt or reboot&lt;BR /&gt;your system.  Which command to use depends upon several factors, including&lt;BR /&gt;how many users are on the system, how quickly you need to shut down the&lt;BR /&gt;system and what run-level the system is operating in.&lt;BR /&gt;&lt;BR /&gt;"shutdown" is generally used when the system is in a multi-user state&lt;BR /&gt;such as run-level 2.  It uses "kill -15" to terminate running processes,&lt;BR /&gt;which allows them to terminate naturally within a grace period (default&lt;BR /&gt;of 60 seconds), ensuring the integrity of the file system.&lt;BR /&gt;&lt;BR /&gt;"shutdown" also performs these tasks:&lt;BR /&gt;&lt;BR /&gt;    * changes the current working directory to /&lt;BR /&gt;    * updates all superblocks&lt;BR /&gt;    * shuts down the accounting subsystem&lt;BR /&gt;    * halts all daemon processes&lt;BR /&gt;    * writes the contents of all I/O buffers to disk&lt;BR /&gt;    * unmounts all file systems&lt;BR /&gt;&lt;BR /&gt;Finally, the system is put into single-user mode (run-level s) and&lt;BR /&gt;/etc/reboot is called if applicable.&lt;BR /&gt;&lt;BR /&gt;"shutdown" allows the superuser to warn all users currently logged into&lt;BR /&gt;the system, that it will be shut down and the superuser can specify a&lt;BR /&gt;grace period for users to log out, before the shut down process&lt;BR /&gt;commences.&lt;BR /&gt;&lt;BR /&gt;The system administrator has the ability to customise the shut down&lt;BR /&gt;procedure through the use of user-supplied scripts placed in the&lt;BR /&gt;/etc/shutdown.d directory.  This exists for users who have specialised&lt;BR /&gt;shutdown procedure requirements, such as shutting down databases prior&lt;BR /&gt;to the system shutting down.&lt;BR /&gt;&lt;BR /&gt;One further functionality associated with the "shutdown" command is the&lt;BR /&gt;ability of the system administrator to authorise certain users to&lt;BR /&gt;execute "shutdown".  This is done by editing the /etc/shutdown.allow&lt;BR /&gt;file accordingly.  However, even though other users may be privileged to&lt;BR /&gt;use "shutdown" to halt or reboot the system, only the superuser may put&lt;BR /&gt;the system into single-user mode.&lt;BR /&gt;&lt;BR /&gt;"reboot" is generally used to reboot or halt the system once in&lt;BR /&gt;single-user mode.  It's default action is to "sync" all disks and then&lt;BR /&gt;reboot the system.&lt;BR /&gt;&lt;BR /&gt;To terminate currently running processes, it uses "kill -9" which&lt;BR /&gt;terminates them immediately.  This is dangerous, as processes are not&lt;BR /&gt;allowed to terminate naturally and it may have undesirable&lt;BR /&gt;repercussions, such as loss of data.&lt;BR /&gt;&lt;BR /&gt;As all processes are terminated without a grace period, "reboot" is&lt;BR /&gt;faster than "shutdown" and, therefore, may be used when the system&lt;BR /&gt;administrator needs to bring the system down very quickly.&lt;BR /&gt;&lt;BR /&gt;"reboot" also allows the superuser to specify a certain time to halt or&lt;BR /&gt;reboot the system, and to send a message to users currently logged on,&lt;BR /&gt;to inform them of the system's impending halt or reboot.&lt;BR /&gt;&lt;BR /&gt;For a full explanation of "shutdown" and "reboot", refer to the manual&lt;BR /&gt;pages for shutdown(1m) and reboot(1m), respectively.&lt;BR /&gt;</description>
      <pubDate>Fri, 24 May 2002 13:45:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731221#M65531</guid>
      <dc:creator>Sebastian Galeski_1</dc:creator>
      <dc:date>2002-05-24T13:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731222#M65532</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;From man 1m reboot -q option:&lt;BR /&gt;Quick and quiet.  Suppress broadcast of warning&lt;BR /&gt;                          messages, terminate processes by brute force (with&lt;BR /&gt;                          SIGKILL) and immediately call reboot with&lt;BR /&gt;                          arguments as indicated by the other options&lt;BR /&gt;&lt;BR /&gt;Shutdown does an orderly shutdown, going through all the kill scripts and terminating everything gracefully.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 24 May 2002 13:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731222#M65532</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-05-24T13:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731223#M65533</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;yes&lt;BR /&gt;&lt;BR /&gt;reboot -q&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;           -q             Quick and quiet.  Suppress broadcast of warning messages, terminate processes by brute force (with SIGKILL) and immediately call reboot with&lt;BR /&gt;arguments as indicated by the other options (see reboot(2)).  No logging is performed.  The -t and -m options are ignored with this option.&lt;BR /&gt;&lt;BR /&gt;shutdown -r -y 0&lt;BR /&gt;&lt;BR /&gt; -r        Shut down the system and reboot automatically.&lt;BR /&gt;&lt;BR /&gt;           -y        Do not require any interactive responses from the user.&lt;BR /&gt;(Respond yes or no as appropriate to all questions,  such that the user does not interact with the shutdown process.)&lt;BR /&gt;&lt;BR /&gt;0 is do not wait.&lt;BR /&gt;&lt;BR /&gt;The -q kills of processes and the shutdown does a proper reboot closing everything down&lt;BR /&gt;neatly&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                     Steve Steel</description>
      <pubDate>Fri, 24 May 2002 13:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731223#M65533</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-05-24T13:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731224#M65534</link>
      <description>Hi robert,&lt;BR /&gt;reboot with -q will do this&lt;BR /&gt;&lt;BR /&gt;Suppress broadcast of warning messages, terminate processes by force and reboot the systems.&lt;BR /&gt;&lt;BR /&gt;Shutdown with -r will also reboot the system but it will gracefull kill all process.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Fri, 24 May 2002 13:47:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731224#M65534</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2002-05-24T13:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731225#M65535</link>
      <description>ANSWER&lt;BR /&gt;&lt;BR /&gt;Yes&lt;BR /&gt;&lt;BR /&gt;"reboot -q" &lt;BR /&gt;"shutdown -r -y 0" &lt;BR /&gt;&lt;BR /&gt;Basiclly:-&lt;BR /&gt;&lt;BR /&gt;Reboot is called from shutdown after it elegantly tidies up.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 May 2002 13:47:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731225#M65535</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-05-24T13:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731226#M65536</link>
      <description>YES !&lt;BR /&gt;&lt;BR /&gt;reboot -q : Is a quick and quiet reboot. Will immediately call the reboot function. This will not shutdown all processes in a proper manner. This will not run the stop rc scripts.&lt;BR /&gt;&lt;BR /&gt;shutdown -y -r 0 : This will shutdown and restart the server in a proper manner. Good method if you want a remote system to restart. This will run all rc stop scripts, so that all running processes will be killed in a proper manner.&lt;BR /&gt;</description>
      <pubDate>Fri, 24 May 2002 13:47:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731226#M65536</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-05-24T13:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731227#M65537</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Shutdown runs all the Stop scripts and stops all the daemons gracefully and properly. Then it halts the system&lt;BR /&gt;&lt;BR /&gt;Reboot doesn not run the Stop scripts ( just kill the daemons ) and stops the servers.&lt;BR /&gt;&lt;BR /&gt;There lies the main difference. After you give a reboot command, your system may not come up gracefully and you may have to run fsck on the filesystems also.&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Fri, 24 May 2002 13:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731227#M65537</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-05-24T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731228#M65538</link>
      <description>8 answers in 3 min is this a record.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 May 2002 13:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731228#M65538</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-05-24T13:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731229#M65539</link>
      <description>Yes definately ..&lt;BR /&gt;Reboot &lt;BR /&gt;======&lt;BR /&gt;- Does not terminate all process in a graceful manner when run in a multi-user mode, hence it is faster than shutdown but can potentially cause problem (eg: data corruption)&lt;BR /&gt;- Usually used to halt the system which is already in single-user mode as it will to synchronized all disks before rebooting the system.&lt;BR /&gt;&lt;BR /&gt;Shutdown&lt;BR /&gt;========&lt;BR /&gt;- When run from multi-user mode it uses &lt;BR /&gt;"kill -15" to terminate processes hence allow cleaner termination. File system is properly shutdown.&lt;BR /&gt;- Take longer than "reboot because it does this ..&lt;BR /&gt;a) Updates all superblocks&lt;BR /&gt;b) Halts all daemon processes&lt;BR /&gt;c) Writes contents of all I/O buffers to disk.&lt;BR /&gt;d) Umount all FS.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 May 2002 13:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731229#M65539</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-05-24T13:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731230#M65540</link>
      <description>Hi Robert&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You amy also like to look into thsi thread :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4f701cc6003bd6118fff0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4f701cc6003bd6118fff0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Fri, 24 May 2002 14:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question/m-p/2731230#M65540</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-05-24T14:04:46Z</dc:date>
    </item>
  </channel>
</rss>

