Text User Interface Console (TuiConsole)

Available Commands

connect

Connect to a console, start one up if necessary.

Usage:   connect [host [nostart [port]]]
        host - Name of the console machine
        nostart - Do not start a Console if one does not exist.
        port- RMI Registry port where Console is registered.

console

Pass a command directly to the remote Console.

exit

Quit the TuiConsole. This does not stop the Console, or any other service started by the TuiConsole. The aliases for exit are quit and Ctrl-D.

help

List all available commands, or get help on a particular command.

ping

This command goes through the various steps to communicate with an Remte Interface. It creates a connection to the specified machine, looks in the RMI registry and gets the remote reference.

Usage:   ping host service [verbose]
        host - Name of the machine
        service - Name of the service (known services include: console, hsp, and a taskserver).
        verbose - Display the status at each step.

show

Display a value or property.

Usage:   show <object> [options]
        rmi [host] - Dump the items bound in an RMI registry (default host is ).
        services - List of registered services.
        console - Display remote reference of the Console.
        property <prop> - Display the value of a System property.
        launch - Display the current launch configuration.

start

Start a service.

Usage:   start <service> [options]
        console [host [noconnect]] - Start up console on the specified host.
        taskserver [hspdomain [#hosts]] - Start up a TaskServer of registered services.
        console - Display remote reference of the Console.
        property <prop> - Display the value of a System property.
        launch - Display the current launch configuration.

The default values for machine, hspdomain, and ts-machine (TaskServer machine), is localhost. By default, the TuiConsole will attempt to connect to the console afterwards, you can prevent this by adding the noconnect option to start console.

stop

Using the shutdown() method of the Administrable interface, stop a service. The TuiConsole only knows how to stop a console. In order to stop anything else, it passes the command on to th Console for it to stop a "registered" service; hsp, taskserver, and chameleon. This command also has the alias kill.