Module Expr Str ImportFrom alias Import alias Assign NameStore Str FunctionDef arguments args defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr body Return TupleLoad NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr body Return TupleLoad NameLoad Str If Call AttributeLoad AttributeLoad NameLoad attr attr body Return TupleLoad NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return TupleLoad NameLoad Str Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad Str Str IfExp NameLoad Call AttributeLoad Str attr NameLoad Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad Str Str IfExp NameLoad Call AttributeLoad Str attr NameLoad Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Return NameLoad decorator_list
N/A N/A 
Support for reboot, shutdown, etc
 __future__ absolute_import N/A salt.utils N/A __virtualname__ system __virtual__ N/A N/A N/A N/A N/A 
    Only supported on POSIX-like systems
    Windows, Solaris, and Mac have their own modules
     N/A N/A N/A N/A salt utils is_windows N/A N/A N/A False This module is not available on windows N/A N/A N/A N/A salt utils is_darwin N/A N/A N/A False This module is not available on Mac OS N/A N/A N/A N/A salt utils is_sunos N/A N/A N/A False This module is not available on SunOS N/A N/A N/A N/A N/A salt utils which shutdown N/A N/A N/A False The system execution module failed to load: only available on Linux systems with shutdown command. N/A __virtualname__ N/A halt N/A N/A N/A N/A N/A 
    Halt a running system

    CLI Example:

    .. code-block:: bash

        salt '*' system.halt
     N/A cmd N/A halt N/A ret N/A N/A __salt__ N/A cmd.run cmd python_shell False N/A ret N/A init N/A N/A runlevel N/A N/A N/A 
    Change the system runlevel on sysV compatible systems

    CLI Example:

    .. code-block:: bash

        salt '*' system.init 3
     N/A cmd N/A init N/A N/A {0} format runlevel N/A ret N/A N/A __salt__ N/A cmd.run cmd python_shell False N/A ret N/A poweroff N/A N/A N/A N/A N/A 
    Poweroff a running system

    CLI Example:

    .. code-block:: bash

        salt '*' system.poweroff
     N/A cmd N/A poweroff N/A ret N/A N/A __salt__ N/A cmd.run cmd python_shell False N/A ret N/A reboot N/A N/A at_time N/A None N/A N/A 
    Reboot the system

    at_time
        The wait time in minutes before the system will be rebooted.

    CLI Example:

    .. code-block:: bash

        salt '*' system.reboot
     N/A cmd N/A shutdown -r N/A at_time N/A N/A {0} format at_time now N/A ret N/A N/A __salt__ N/A cmd.run cmd python_shell False N/A ret N/A shutdown N/A N/A at_time N/A None N/A N/A 
    Shutdown a running system

    at_time
        The wait time in minutes before the system will be shutdown.

    CLI Example:

    .. code-block:: bash

        salt '*' system.shutdown 5
     N/A cmd N/A shutdown -h N/A at_time N/A N/A {0} format at_time now N/A ret N/A N/A __salt__ N/A cmd.run cmd python_shell False N/A ret N/A