Next | Prev | Up | Top | Contents | Index

Shutting Down from Multiuser Mode

To shut down the system from multiuser mode:

  1. Use the who(1) command to determine which users are logged in to the operating system, if any:

    who

    Notify any users that the system is shutting down. Issue the /etc/wall(1M) command:

    wall

    Enter your message. For example, you might enter:

    There is a problem with the building's power system.

    I will be shutting down the system in 10 minutes.

    Please clean up and log off.

    Sorry for the inconvenience,

    norton

  2. When you finish entering your message, type <Ctrl-D>. The message is sent to all users on the system. They see something like this:

    Broadcast Message from root Tue Oct 17 17:02:27...

    There is a problem with the building's power system.

    I will be shutting down the system in 10 minutes.

    Please clean up and log off.

    Sorry for the inconvenience,

    norton

  3. Issue the /etc/shutdown command:

    /etc/shutdown -y -i0 -g600

    The above command specifies a 10 minute (600 second) grace period to allow users to clean up and log off. The other flags indicate that the system is to be completely shut down (-i0) and that the system can assume that all answers to any prompts regarding the shutdown are ''yes.'' You see the following message:

    Shutdown started. Fri Aug 28 17:10:57...

    Broadcast Message from root (console) Fri Aug 28 17:10:59

    The system will be shut down in 600 seconds.

    Please log off now.

    After ten minutes, you see this message:

    INIT: New run level: 0

    The system is coming down. Please wait.

    The Command Monitor prompt or System Maintenance menu appears. Wait for a Command Monitor prompt or System Maintenance menu to appear before turning off power to the workstation or you may damage your hard disk.

  4. You can now turn off the power.
For more information on shutting down the system, see the halt(1M) and shutdown(1M) reference pages. Remember that you should shut down the system only when something is wrong or if modifications to the software or hardware are necessary. IRIX is designed to run continuously, even when no users are logged in and the system is not in use.


Next | Prev | Up | Top | Contents | Index