beautypg.com

Managing the host console, Viewing host sensors – Sun Microsystems Sun Fire X4150 User Manual

Page 89

background image

Chapter 7

Using the Command-Line Interface

73

To power off the host gracefully, enter the following command:

set /SYS/CtrlInfo PowerCtrl=graceful_off

To power off the host, enter one of the following commands:

set /SYS/CtrlInfo PowerCtrl=off

-or-

stop SYS

To reset the host, enter one of the following commands:

set /SYS/CtrlInfo PowerCtrl=reset

-or-

reset SYS

To reboot and enter the BIOS automatically, enter the following command:

set /SYS/CtrlInfo PowerCtrl=BIOSSetup

To reboot and enter Pc-Check diagnostic automatically, enter the following
command:

set /SYS/CtrlInfo PowerCtrl=PCCheck_enable

Managing the Host Console

To start a session to the server console, enter this command:

start /SP/AgentInfo/Console

To revert to CLI once the console has been started, press Esc-Shift-9 keys.

To terminate a server console session started by another user, enter this command:

stop /SP/AgentInfo/Console

Viewing Host Sensors

Host systems are equipped with sensors that monitor the state of critical
components. For example, they record things like temperatures, voltages, and fan
speeds. The show command can be used to show the state of the critical
components. Use the command:

show /SYS/CPU/

component

component The particular critical component.

For example, the following command shows the state of CPU 0: