AIX系統中的reboot指令必須謹慎的使用,前幾天和同僚在讨論之前的一個問題,說到為什麼reboot之後機器就關機了,害的周末還得跑機房,印象中記得看到有一篇文章說過類似的問題,于是就man了下reboot指令。
# oslevel
5.3.0.0
# man reboot
Description
The reboot command can be used to perform a reboot operation if no other
users are logged into the system. The shutdown command is used when the
system is running and multiple users are logged into the system. Both
commands write an entry to the error log that states that the system was
deliberately temporarily disabled.
說的很明了了,reboot在當使用者模式下是執行重新開機操作,但是在多使用者情況下執行的是關機操作。
