Operating System - HP-UX
1820263 Members
2657 Online
109622 Solutions
New Discussion юеВ

How does it differrent command "reboot" and "shutdown -ry 0" on hp-ux?

 
nataris
Advisor

How does it differrent command "reboot" and "shutdown -ry 0" on hp-ux?

How does it differrent command "reboot" and "shutdown -ry 0" on hp-ux11.31?

it look like same. but i think that the servier stop progress is same or not.
4 REPLIES 4
Venkatesh BL
Honored Contributor

Re: How does it differrent command "reboot" and "shutdown -ry 0" on hp-ux?

Did you go through the manpages? The 'shutdown' manpage provides procedure followed by it and when it uses the 'reboot' command.
Mark S Meadows
Valued Contributor

Re: How does it differrent command "reboot" and "shutdown -ry 0" on hp-ux?

Hi,

The difference between a "shutdown" and a "reboot" command issued on a system is as follows :

shutdown - this will gracefully terminate all the running processes in a sequential and consistent fashion and then reboot the system. This command should be used in multi-user mode.

reboot - this will forcibly terminate all running processes thus making the system shutdown rapidly and then reboot the server. This command should only really be used in either single user mode or maintenance mode.

Please see their respective man pages - man 1m shutdown and man 1m reboot.

Regards,

Mark
Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).
Michael Steele_2
Honored Contributor

Re: How does it differrent command "reboot" and "shutdown -ry 0" on hp-ux?

sync, sync, sync :-)
Support Fatherhood - Stop Family Law
Hakki Aydin Ucar
Honored Contributor

Re: How does it differrent command "reboot" and "shutdown -ry 0" on hp-ux?

the main difference between them:

reboot : kills the all process to restart.

shutdown -ry X : terminates the all process gracefully manner.

So , use shutdown -ry X, it is better if you do not really need reboot.