On Wed, 2007-03-28 at 14:48 +0200, Michael S. Tsirkin wrote: > 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?
This is simple console interface for OpenSM. > 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? You cannot exit from local console, 'quit' will work with remote console. If you want just to kill OpenSM you can use ^C. Sasha _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
