Tuesday 29 March 2016

SUN RSC PROMPT COMMANDS ?

RSC PROMPT COMMANDSRSC HELP

rsc> helpRSC Help
password           Change password.
poweron            Power on host system
poweroff           Power off host system.
reset              Reset host system.xir                Send XIR reset to host system.
resetrsc           Reboot RSC.
console            Connect to system console.
break              Send break to system console.
environment        Print environment information.
showenvironment    Print environment information.                   (Synonymous with 'environment'.)shownetwork        Show current network configuration.
set                    Set configuration variable to value .
show []  Show the value of all variables or a specific variable
date [[mmdd]HHMM | mmddHHMM[cc]yy][.SS]                
Set/Show the current date and time.
showdate           Show the current date and time.                
(Synonymous with 'date'.)setdate [mmdd]HHMM | mmddHHMM[cc]yy[.SS]                   Set the current date and time.                   (Synonymous with 'date '.)
bootmode [-u] [normal|forth|reset_nvram|diag|skip_diag]              
   Set the host firmware boot mode.
setlocator [on|off]                   Turn the system locator LED on or off.
showlocator        Show the state of the system locator LED.
consolehistory [boot|run|oboot|orun] [index [+|-]] [pause ]                
Dump console history log.
consolerestart     Set current console log to be original console log.
loghistory [index [+|-]] [pause ]                   Dump Event log.
useradd Add a new user.userdel Delete a user.
usershow [ ]                   Show all users (or a specific user).
userpassword                    Change password for a specific user.
userperm [c][u][a][r]                   Set permissions for a user.
version [-v]       Print revision of RSC firmware.showsc             Print revision of RSC firmware.                   (Synonymous with 'version'.)
logout             Log out of the RSC shell.





rsc> environment
=============== Environmental Status ===============System Temperatures (Celsius):------------------------------        P0    66        P1    63        P2    66        P3    85      DBP0    26





Front Status Panel:-------------------Keyswitch position is in On mode.System LED Status: LOCATOR     FAULT    POWER                    [OFF]      [OFF]    [ ON]Disk LED Status:    OK = GREEN  ERROR = YELLOW       DISK  1:    [OK]       DISK  0:    [OK]





Fan Tray :----------Tray                    Speed   Status----                    -----   ------FAN TRAY0 CPU FAN0       5555   [OK]FAN TRAY0 CPU FAN1       4225   [OK]FAN TRAY0 CPU FAN2       4166   [OK]FAN TRAY1  IO FAN0       4054   [OK]FAN TRAY1  IO FAN1       4166   [OK]





Power Supplies:---------------Supply     Status             PS Fault   Fan Fault  Temp Fault------     ------------       --------   ---------  ----------  0        OK                 OFF        OFF        OFF  1        OK                 OFF        OFF        OFFrsc>





rsc> showenvironment
=============== Environmental Status ===============System Temperatures (Celsius):------------------------------        P0    66        P1    63        P2    66        P3    86      DBP0    26





Front Status Panel:-------------------Keyswitch position is in On mode.System LED Status: LOCATOR     FAULT    POWER                    [OFF]      [OFF]    [ ON]





Disk LED Status:    OK = GREEN  ERROR = YELLOW       DISK  1:    [OK]       DISK  0:    [OK]





Fan Tray :----------Tray                    Speed   Status----                    -----   ------FAN TRAY0 CPU FAN0       5555   [OK]FAN TRAY0 CPU FAN1       4285   [OK]FAN TRAY0 CPU FAN2       4109   [OK]FAN TRAY1  IO FAN0       4054   [OK]FAN TRAY1  IO FAN1       4166   [OK]





Power Supplies:---------------Supply     Status             PS Fault   Fan Fault  Temp Fault------     ------------       --------   ---------  ----------  0        OK                 OFF        OFF        OFF  1        OK                 OFF        OFF        OFF





rsc> shownetwork
RSC network configuration is:IP Address: 10.66.23.38Gateway address: 10.66.23.1Netmask: 255.255.255.0


Ethernet address: 00:14:4f:af:14:92


rsc> showdate
SAT JUN 25 02:05:53 2011rsc> shownetworkRSC network configuration is:IP Address: 10.66.23.38Gateway address: 10.66.23.1Netmask: 255.255.255.0Ethernet address: 00:14:4f:af:14:92rsc> showlocatorLocator led is OFF





rsc> consolehistory
Contents of original boot buffer:<*>Hardware Power On@(#)OBP 4.22.34 2007/07/23 13:01 Sun Fire 4XXSystem is initializing with diag-switch? overrides.Online: CMP0 CMP1 CMP2 CMP3*………………
rsc> loghistoryJUN 10 14:43:59 P126XSAP14: 00060003: "RSC System booted."JUN 10 14:43:59 P126XSAP14: 00070001: "Unrecognized SC type, assuming 5016767"JUN 10 14:44:59 P126XSAP14: 00040029: "Host system has shut down."JUN 10 14:45:20 P126XSAP14: 00060000: "RSC Login: User admin Logged on."JUN 10 14:45:25 P126XSAP14: 00040001: "RSC Request to Power On Host."JUN 10 14:45:26 P126XSAP14: 00040002: "Host System has Reset"JUN 10 14:45:28 P126XSAP14: 0004000b: "Host System has read and cleared bootmode."JUN 10 14:45:59 P126XSAP14: 00040026: "Fan Tray 1 IO Fan 1 Failure"JUN 10 14:49:58 P126XSAP14: 00040002: "Host System has Reset"JUN 10 14:50:59 P126XSAP14: 00040023: "Fan Tray 1 IO Fan 1 OK"JUN 10 14:52:20 P126XSAP14: 00040001: "RSC Request to Power On Host."JUN 10 14:52:21 P126XSAP14: 00040002: "Host System has Reset"JUN 10 14:52:24 P126XSAP14: 0004000b: "Host System has read and cleared bootmode."JUN 10 14:59:06 P126XSAP14: 00060000: "RSC Login: User admin Logged on."JUN 10 15:04:07 P126XSAP14: 00040002: "Host System has Reset"JUN 10 15:05:46 P126XSAP14: 00040002: "Host System has Reset"JUN 10 15:12:00 P126XSAP14: 00060000: "RSC Login: User admin Logged on."





rsc> usershow
Username         Permissions      Passwordadmin            cuar             Assignedrsc> useradd sairsc> usershowUsername         Permissions      Passwordadmin            cuar             Assignedsai              ----             None
rsc> userperm sai aucrsc> usershowUsername         Permissions      Passwordadmin            cuar             Assignedsai              cua-             Nonersc> userpassword saiNew password:Re-enter new password:
rsc> userdel sai
rsc> usershow Username         Permissions      Passwordadmin            cuar             Assigned

No comments:

Post a Comment