歡迎您光臨本站 註冊首頁

AIX之reboot命令導致關機 .

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

AIX之reboot命令導致關機 .

AIX之reboot命令導致關機 .

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在當用戶模式下是執行重啟操作,但是在多用戶情況下執行的是關機操作,坑爹了,呵呵。
《解決方案》

:em20::em20::em20::em14:

[火星人 ] AIX之reboot命令導致關機 .已經有357次圍觀

http://coctec.com/docs/service/show-post-1614.html