The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Powering ON SUN 450 Enterprise calsum SUN Solaris 2 04-17-2008 09:51 AM
Enterprise Unix Roundup: The Ghost of Unix Future - Server Watch iBot UNIX and Linux RSS News 0 12-19-2007 09:20 AM
Running UNIX commands remotely in Windows box from Unix box – avoid entering password D.kalpana UNIX for Dummies Questions & Answers 1 04-20-2007 02:24 AM
FTP script for sending a file from one unix directory to another unix server director raja_1234 Shell Programming and Scripting 1 11-30-2006 04:57 AM
Unix History Question: Why are filenames/dirnames case sentsitive in Unix? deckard UNIX for Dummies Questions & Answers 3 03-26-2005 10:59 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-23-2001
Registered User
 

Join Date: Oct 2000
Location: Boston
Posts: 12
Question Powering Down a Unix Box

I need to totally power down my UNIX box, I think the script is

shutdown -y -i5 -g0

I know -i6 is for a clean reboot but I can't remember if -i5 is the power down script.....
Can anyone tell me if this is correct.
Thanks
Forum Sponsor
  #2  
Old 07-23-2001
mod mod is offline
Registered User
 

Join Date: Jul 2001
Location: Vienna
Posts: 29
Cool

if you have a sun solaris then you are right. On Solaris you can shutdown either with -i 0 or with -i 5, where -i 5 power downs the
whole system ( depends on the hardware I think, saw that it didn't work each time ).

On HPUX or AIX you have to use shutdown -h instead, because they don't have the -i parameter in the shutdown command.

Maybe you have a look into the man-pages for shutdown and init on your system ( If you see some strange things on the shutdown-manpage try "man 1M shutdown" ... there is a manpage for a systemcall in section 2 )
  #3  
Old 07-23-2001
Registered User
 

Join Date: Oct 2000
Location: Boston
Posts: 12
Cool Thanks

I'm 99.9% sure it's init 5 but it's always good to get confirmation from somebody else....
  #4  
Old 07-23-2001
ghoti's Avatar
Registered User
 

Join Date: Jul 2001
Location: Wales
Posts: 55
When we do a system reset on Redhat we use :

init 6 - Power down and restart
init 0 - Power down and stop

hope this helps..
__________________
regards,

-ghoti
  #5  
Old 07-23-2001
Registered User
 

Join Date: Nov 2000
Location: India
Posts: 83
Hi

In SOlaris
init 6 - power down and restart
init 5 - downs the system don't even have to give power-off which needs to be given when you give init 0
  #6  
Old 07-24-2001
Registered User
 

Join Date: Oct 2000
Location: Boston
Posts: 12
Wink thanks

thanks for all the help...
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0