2014년 3월 9일 일요일

서버별 shutdown 명령어

# AIX
Shutdown
shutdown        ( 60 sec)shutdown now (shutdown  60 sec)
 > shutdown 명령만 실행시 mount 연결이 정상적으로 끊기지 않아 무기한 대기상태에 빠질수 있음.
 > 아래의 -F 옵션을 붙이길 권장
shutdown -F     (force shutdown)

Reboot
shutdown -r     (reboot and flush cache to disk)
shutdown -Fr     (force reboot)
reboot         (Not flush cache to disk)


# HP
Shutdown
shutdown -hy 0 (Force shutdown  0 sec)
init 0

Reboot
shutdown -ry 0 (Force restart  0 sec)
reboot


# Solaris
Shutdown
shutdown -i5 -y -g0
sync;sync;init 5
poweroff

Reboot
shutdown -i6 -y -g0
sync;sync;init 6
reboot


# Linux
Shutdown
shutdown -h now (Force shutdown  0 sec)
init 0
halt
poweroff

Reboot
shutdown -r now (Force restart  0 sec)
reboot
init 6

댓글 없음:

댓글 쓰기