Search This Blog

Tuesday, July 23, 2013

Unix shutdown/restart command (AIX,HP-UX,Linux,Sun)



--AIX--
Shutdown
shutdown        ( 60 sec)
shutdown now (shutdown  60 sec)
shutdown -F     (force shutdown)

Reboot
shutdonw -r     (reboot and flush cache to disk)
shutdonw -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

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

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

--Sun--
Shutdown
shutdown -i5 -y -g0
sync;sync;init 5
poweroff

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

No comments:

Post a Comment