NAME
utswitch - Sun Ray server selection and session listing
SYNOPSIS
/opt/SUNWut/bin/utswitch { -l | -t | -h host } [ -k
token ] [ -s sid ]
DESCRIPTION
The utswitch command allows switching a Sun Ray appliance
among Sun Ray servers in a failover group. It can also list
the existing sessions for the current token. One of the
following option flags must be specified: -l, -t, or -h. The
utselect(1) command implements a GUI-based interface to this
command.
OPTIONS
The following options are supported by utswitch:
-h host
Force an explicit switch to the server with hostname
host.
-k token
Specify the token id token to be used in collecting
session information from the servers in the failover
group. The token normally used is the one connected to
the current session.
-l List the servers accessible from the current Sun Ray
appliance for the current token and show any existing
sessions on those servers. The token is derived from
the serial number and type of a smart card if there is
one inserted. Otherwise, the token is derived from the
Ethernet address of the Sun Ray appliance. The first
field of the output is the server name. The second is
the X display number if there is a logged-in user ses-
sion, -1 if no session exists, or -2 if there is an X
session, but the login screen is being displayed. The
third field is the last connection time to an existing
session, as a time value from the time(2) system call.
If there is no session, the third field indicates
status from the host as:
-1 Server is up, but there is no session.
-2 No response received from the server.
-3 No path from the Sun Ray to the server.
The fourth field is 1 if the server is offline and 0
otherwise.
-s sid
Specify the session id sid of a session connected to a
Sun Ray appliance and perform the requested operation
on that appliance. The default is to use the session
id of the current session. Since session ids other
than that of the current session are only available to
userid root, this option is not useful for a general
user.
-t Switch to the server whose session has the latest con-
nection time among the existing sessions for the
current token. Normally this would switch to the
current session, so it has limited usefulness. How-
ever, it is useful in the case of logging out of an
existing X session and back to the login screen. The
connection time of a logged out session is biased back
in time so that that session will not be selected if
there is an existing logged-in X session on another
server. From a CDE login screen, it is possible to
force a call to utswitch -t by selecting Reset Login
Screen from the Options menu. This allows switching
back to a logged-in session from the login screen
without having to log in.
FILES
The following files are used:
/var/opt/SUNWut/displays/*
X display files
X display files
token-name links to display files
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWuto |
|_____________________________|_____________________________|
SEE ALSO
utselect(1), attributes(5)
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |