¡Ü ½Ã½ºÅÛ Àç±âµ¿ ¸í·ÉÀÎ ´ÙÀ½ 3°¡Áö ¸í·É Áß °¡Àå ¾ÈÀüÇÑ °ÍÀº?
¨ç reboot
¨è init 6
¨é shutdown -r now
¡Ü ´äº¯: Â÷ÀÌ ¾øÀ½.
¨ç reboot ´Â shutdown ¸í·ÉÀ» »ç¿ëÇÔ (-r ¿É¼Ç°ú ÇÔ²²...)
¡Û shutdown ¸í·É¾î´Â
½ÇÇà ÁßÀÎ ¸ðµç ÇÁ·Î¼¼½º¸¦ kill (SIGKILL) ÇÏ°í,
ÆÄÀϽýºÅÛÀ» ¾ð¸¶¿îÆ® ÇÑ ÈÄ
ÃÖÁ¾ÀûÀ¸·Î Ä¿³Î¿¡ ACPI ÆÄ¿ö ¸í·ÉÀ» º¸³¿.
- gracefully ÇÔ.
¨è init 6 ´Â init ÇÁ·Î¼¼½º°¡ È°¼ºÈ µÈ ¸ðµç ÇÁ·Î¼¼½º¿Í µ¥¸óµéÀ» ³»¸®µµ·Ï ÇÑ ÈÄ
¸¶Áö¸·À¸·Î ÀçºÎÆÃÀ» À§ÇØ shutdown -r now ¸¦ È£ÃâÇÔ.
´Ü, reboot ½Ã -f ¿É¼ÇÀº ¾ÈÀüÇÏÁö ¾ÊÀ½.
-f, --force
Force immediate halt, power-off, reboot. Don't contact the init system.
centos 6/7 ¿¡¼´Â....
-f, --force
Does not invoke shutdown(8) and instead performs the actual action you would expect from the name.
RHEL, centos 7 ºÎÅÍ´Â Àü¿øÀ» ²ô°Å³ª Àç±âµ¿ÇÒ ¶§ systemctl ¸í·ÉÀ» »ç¿ëÇÏ´Â °ÍÀÌ ¾ÈÀüÇÔ.
- shutdown, reboot ¸í·ÉÀÇ man ÆäÀÌÁö¸¦ º¸¸é ±¸¹öÀü ȣȯ¼ºÀ» À§ÇØ ³²¾ÆÀÖÀ¸¸ç, systemctl À» »ç¿ëÇÏ´Â °ÍÀÌ ¾ÈÀüÇÏ´Ù°í ¸í½ÃÇÏ°í ÀÖÀ½.
¡Ü systemctl ¸í·ÉÀ» ÀÌ¿ëÇÏ¿© Àç±âµ¿/Á¾·á...
¡Ü ¸®ºÎÆà (reboot)
# reboot
# systemctl reboot
# shutdown -r now
# init 6
# telinit 6
¡Ü Á¾·á (shutdown)
# halt
# systemctl halt
# shutdown -h now
# init 0
# telinit 0
¡Ü switch off
# poweroff
# systemctl poweroff
¡Ü ±âŸ
# systemctl suspend ¡æ ´ë±â¸ðµå
# systemctl hibernate ¡æ ÀýÀü¸ðµå
# systemctl hybrid-sleep ¡æ ÀýÀü+´ë±â (To put the system into hibernation and suspend)
|