1850322 Members
3013 Online
104054 Solutions
New Discussion

shutdown

 
SOLVED
Go to solution
Jeff Hagstrom
Regular Advisor

shutdown

How do you shut down a box so that I can power it off to change a tape drive?
5 REPLIES 5
S.K. Chan
Honored Contributor
Solution

Re: shutdown

# shutdown -h -y 0
Patrick Wallek
Honored Contributor

Re: shutdown

# shutdown -h now

-h = halt the system

Once shutdown is complete a message like "Shutdown complete - OK to power off" or something very similar is displayed. At this point power the machine off via the switch or the key, whichever is applicable.
Helen French
Honored Contributor

Re: shutdown

Hi,

Which OS ? For HP-UX boxes,

# shutdown -h -y 0 ( will halt the system within 0 seconds. System will give you "ready to turn off power" message in the console, after the shutdown process is completed)

See this for more options on shutdown:

http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90681/B2355-90681_top.html&con=/hpux/onlinedocs/B2355-90681/00/03/340-con.html&toc=/hpux/onlinedocs/B2355-90681/00/03/340-toc.html&searchterms=shutdown&queryid=20020221-131708

HTH,
Shiju

Life is a promise, fulfill it!
Sanjay_6
Honored Contributor

Re: shutdown

Hi Jeff,

Try

shudown -h 0
or
shutdown -h now

Once the system down message is displayed on the console, turn the key to off to powerdown the system completely ot switch it off if there is a switch (depends on model)

Hope this helps.

Regds
Mark Vollmers
Esteemed Contributor

Re: shutdown

Jeff-

If you have users that are on when you need to shut it down, you can replace the 0 with any number and that will be the delay before the shutdown occurs. For example, you can use shutdown -h 120 and the server will shutdown in 2 minutes. It will also let you type in a message.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"