por fin es mejor shutdown que halt desde ese punto de vista?
----- Original Message -----
From: "Daymel Bonne Solís" <dbo...@uci.cu>
To: "Yoel Villarreal" <yoe...@trdcaribe.co.cu>
Cc: "logias Libres" <gutl-l@jovenclub.cu>; "Lista cubana de soporte técnico
en Tecno" <=?ISO-8859-1?Q?Lista_cubana_de_soporte_t=E9cnico_en_Tecno?=>
Sent: Tuesday, July 05, 2011 1:04 PM
Subject: Re: [Gutl-l] comando para apagar el servidor
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.
--
Saludos, Bonne
______________________________________________________________________
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
______________________________________________________________________
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