El 05/07/11 14:04, Daymel Bonne Solís escribió:
El 05/07/11 12:17, Yoel Villarreal escribió:
El mar, 05-07-2011 a las 13:11 -0400, Daymel Bonne Solís escribió:
El 05/07/11 12:57, Damián Tomey Soto escribió:
hola comunidad, estoy elaborando un procedimiento y necesito
documentar como apagar mis servidores Debian en modo consola, el
comando que utilizo es halt, díganme si estoy en lo correcto porque
estaba leyendo en la web que existen poweroof y shutdown.
# shutdown -h now

El comando shutdown tiene otras opciones, para verlas:
# man shutdown


too much writing ... I only type 4 keys (halt) and done ;)


Regards, Yoel:

The shutdown command runs various shutdown scripts and then finally
invokes the halt command. Not running those scripts could be a problem
depending on what they do. As one example, if you are running an Oracle
database, you could lose transactions or even mangle the database. The
shutdown command can also notify the users that a shutdown is about to
happen. So yes you should use the shutdown command rather than halt. But
if you tried shutdown and it hung, a halt command is better than simply
turning off the power switch because "halt" will at least attempt to
sync the disks which is better than nothing.

The shutdown command will only result in the halt command being run if
you are halting the system. My feeling is that most shutdown commands
are to reboot the system rather than halt it. These wind up invoking
"reboot" rather than "halt". And "shutdown" is better than "reboot" for
this. Again, you want those shutdown scripts to run.


Les recuerdo que esta lista está protagonizada en su mayoría por usuarios de habla hispana, de los cuales, no todos tienen dominio del idioma inglés. Por favor, sus conocimientos sobre esa lengua pónganlo en práctica en otro lugar.

--
Saludos: *Ernesto Acosta*
/Linux Registered User:/ *3468707*

______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a