LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-28-2004, 09:41 PM   #1
bwtoh
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Rep: Reputation: 0
Shutdown and power off


Some PCs will auto power off when clicked "shut down" from MS Windows.

Is there a similar thing for a Linux server ?

Does a command such as
shutdown -h now
include power off too ?

Or is there another command that I am not aware of ?

Besides there is another shutdown command call "halt". Which is the safest shutdown command ?

Thanks.
 
Old 10-28-2004, 09:44 PM   #2
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
I always use shutdown -h now and it has always work fine for me. Don't see where it should make of a difference in server environment.
 
Old 11-02-2006, 09:40 AM   #3
RienParhan
LQ Newbie
 
Registered: Dec 2005
Location: Netherlands, Bussum
Distribution: Slackware 11
Posts: 14

Rep: Reputation: 0
I always use "halt -p" it shuts down and powers off my pc very fast.
 
Old 11-02-2006, 12:58 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
There are different commands and different switches for them.
Issue and read "man shutdown" and "man halt" in a terminal.

Your Linux distribution (what is it?) may or may not have a
script, such as ours has, to shutdown your box.
 
Old 11-02-2006, 02:48 PM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
I could be wrong, but I believe the automatic power off is an ACPI feature and so requires the ACPI button module enabled in the kernel. Mine never powered itself off until I included that module in my kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Power off after shutdown dukeem Slackware 15 11-30-2010 10:08 AM
No power down after shutdown (Mandrake) JohnA Linux - Hardware 14 02-24-2005 01:47 AM
Shutdown could not power off satimis Debian 13 02-14-2004 11:05 AM
Power Button for Shutdown gokul Linux - Hardware 4 01-24-2004 12:40 PM
Shutdown with power button hriosm Linux - Hardware 4 06-06-2003 02:43 PM


All times are GMT -5. The time now is 11:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration