shutdownコマンドに-kオプションをつけると,ターミナルを利用している他のユーザーに

メンテナンスのアナウンスを送る事が出来る。

[root@localhost ~]# /sbin/shutdown -r 1 -k “I will reboot this machine for maintenance,Please log out within 1min”

Broadcast message from root (pts/0) (Sun Oct 21 00:00:35 2007):

I will reboot this machine for maintenance,Please log out within 1min
The system is going DOWN for reboot in 1 minute!

Broadcast message from root (pts/0) (Sun Oct 21 00:01:35 2007):

I will reboot this machine for maintenance,Please log out within 1min
The system is going down for reboot NOW!

Shutdown cancelled.

reboot.jpg

Comments are closed.

Post Navigation