diff between reboot and init 6 in solaris | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

diff between reboot and init 6 in solaris

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 11-05-2008
jegaraman jegaraman is offline
Registered User
 
Join Date: Jul 2008
Last Activity: 17 November 2014, 2:24 AM EST
Posts: 203
Thanks: 6
Thanked 0 Times in 0 Posts
diff between reboot and init 6 in solaris

Hi All,

Does anyone tell me , is there any difference between solaris "reboot " and init 6 ...bcos in case of reboot for a system ..can i use init 6 for that instead.

Thanks in advance,
J
Sponsored Links
    #2  
Old 11-05-2008
incredible incredible is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 24 August 2014, 5:15 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
Yes, reboot is a more aggresive command to use. init 6 is much graceful
Sponsored Links
    #3  
Old 11-05-2008
jegaraman jegaraman is offline
Registered User
 
Join Date: Jul 2008
Last Activity: 17 November 2014, 2:24 AM EST
Posts: 203
Thanks: 6
Thanked 0 Times in 0 Posts
Hi Incredible,

I was asked to do a reboot on some of the servers..but i have done init 6 on those machines ....will it be enough.
    #4  
Old 11-05-2008
Aum Aum is offline
Registered User
 
Join Date: Nov 2008
Last Activity: 10 December 2008, 7:48 PM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Yes. init 6 should be enough.
Sponsored Links
    #5  
Old 11-05-2008
jegaraman jegaraman is offline
Registered User
 
Join Date: Jul 2008
Last Activity: 17 November 2014, 2:24 AM EST
Posts: 203
Thanks: 6
Thanked 0 Times in 0 Posts
Hey,

Thanks!!
Sponsored Links
    #6  
Old 11-05-2008
incredible incredible is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 24 August 2014, 5:15 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
Hi friend, init 6 can be used using the shutdown command too, anyway init 6 is easier and shorter to remember
eg: shutdown -i6 -g0 -y
Sponsored Links
    #7  
Old 11-05-2008
pupp's Avatar
pupp pupp is offline Forum Advisor  
cap_10hdx 1
 
Join Date: Feb 2008
Last Activity: 22 September 2010, 2:56 PM EDT
Location: Jersey Shore
Posts: 647
Thanks: 0
Thanked 0 Times in 0 Posts
  • use of `init 6` will give the cleanest and orderly reboot (init informs svc.startd of the runlevel change and will move to the appropriate milestone).
  • use of `shutdown -y -g0 -i6 **message**` will invoke init as well as give you grace period and messages to user (shutdown invoked the same as init above).
  • halt,reboot,poweroff will not run any of the shutdown scripts and should be last resort.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 10 init 0 and boot disk1 on same command line tording99z28 Solaris 2 07-18-2011 03:34 AM
init-script failing because of /etc/rc.d/init.d/functions bakunin Red Hat 1 05-06-2011 08:46 AM
How to I change init levels after typing init 1 z1dane Linux 8 01-06-2010 08:37 PM
Error in Solaris installation over WAN(unix: Could not start init) Program terminated hemalsid Solaris 3 06-12-2008 09:59 AM
Solaris 10 - init stops working GKnight Solaris 0 05-08-2007 12:04 AM



All times are GMT -4. The time now is 06:05 PM.