- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: best practices question - shutdown vs. reboot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:26 AM
03-20-2002 09:26 AM
I am forced by a software package's licensing structure to reboot my K-box once per week. I read that the shutdown command should be used over the reboot command because it is a smoother shutdown. If I use shutdown -r is that the same as the reboot command, or does it shut things down properly and then simply restart?
In a perfect world which would you use?
shutdown -hy 0
shutdown -ry 0
reboot -??
Thanks in advance for your advice!
Jeff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:31 AM
03-20-2002 09:31 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:31 AM
03-20-2002 09:31 AM
Re: best practices question - shutdown vs. reboot
shutdown -ry now should be perfomed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:32 AM
03-20-2002 09:32 AM
Re: best practices question - shutdown vs. reboot
Shutdown -hy would halt the system. This is usefull during hardware maintainance
shutdown -ry will shoutdown the server and the restart it clean safe way.
I would go for shutdown -ry
-Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:37 AM
03-20-2002 09:37 AM
Re: best practices question - shutdown vs. reboot
BTW, Why this software need weekly reboot..?? You should not boot the server weekly to fix software vendor's bug!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:37 AM
03-20-2002 09:37 AM
Re: best practices question - shutdown vs. reboot
shutdown -hy 0 will halt the system
shutdown -ry 0 will reboot the system in a proper way by executing the rc scripts
and
reboot will do the shutdown abruptly and reboot the server. There may be a chance of corruption in this case.
I think your application has some memory leakage for which your Software vendor has told you to reboot the server once in a week. By reboot they mean to say shutdown -ry 0.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:42 AM
03-20-2002 09:42 AM
Re: best practices question - shutdown vs. reboot
thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:44 AM
03-20-2002 09:44 AM
Re: best practices question - shutdown vs. reboot
It basically issues kill -9 to all processes remaining, which is very inelegant
As per the man page, the -r option to the shutdown command calls the reboot command once it has finished the systematic and orderly halt of most functions.
I also agree that the vendor should fix this software that requires you to restart the system weekly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 09:53 AM
03-20-2002 09:53 AM
Re: best practices question - shutdown vs. reboot
I also don't have any users on most of my systems nor do I have any apps that require graceful shutdowns....
Later,
Bill