[ofa-general] opensm console -what is it?

Michael S. Tsirkin mst at dev.mellanox.co.il
Wed Mar 28 05:48:10 PDT 2007


I see this (man opensm):

       -console [off | local | socket]
              This option brings up the OpenSM console (default off).   Note  that  the
              socket option will only be available if OpenSM --enable-console-socket.

       -console-port <port>
              Specify  an alternate telnet port for the socket console (default 10000).
              Note that this option only appears if OpenSM was built with --enable-con-
              sole-socket.

But what is it? Let's try:

# /usr/local/ofed/bin/opensm -console local
-------------------------------------------------
OpenSM Rev:openib-3.0.8
Command Line Arguments:
 Log File: /var/log/osm.log
-------------------------------------------------
OpenSM Rev:openib-3.0.8

Using default GUID 0x2c9020020ee11
OpenSM $ Entering MASTER state

SUBNET UP


Error parsing command line:

OpenSM $ help
Supported commands and syntax:
help [<command>]
quit
loglevel [<log-level>]
priority [<sm-priority>]
resweep [heavy|light]
status [loop]
logflush -- flush the osm.log file
OpenSM $ quit
OpenSM $
Error parsing command line:

OpenSM $ exit
exit : Command not found

Supported commands and syntax:
help [<command>]
quit
loglevel [<log-level>]
priority [<sm-priority>]
resweep [heavy|light]
status [loop]
logflush -- flush the osm.log file
OpenSM $                                                                             

Hmm .. how does one exit?


-- 
MST



More information about the general mailing list