LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shutdown and power off (https://www.linuxquestions.org/questions/linux-newbie-8/shutdown-and-power-off-248600/)

bwtoh 10-28-2004 09:41 PM

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.

corbintechboy 10-28-2004 09:44 PM

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.

RienParhan 11-02-2006 09:40 AM

I always use "halt -p" it shuts down and powers off my pc very fast.

Bruce Hill 11-02-2006 12:58 PM

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.

dracolich 11-02-2006 02:48 PM

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.


All times are GMT -5. The time now is 10:38 AM.