Linux VDA package contains command line utilities to manage user sessions.
The following is the list of available commands sessions from the server and view to manage user or session information
command :.
ctxquery
Description:
This command displays information about users and sessions are logged on the server. Information includes session ID, client device name, address client device IP, session name and username.
Use -f option to change with short format options, the information displayed or -o option for long-format options.
consumption:
/ usr / local / bin / ctxquery -f short_format_options | -o long_format_options [-m] [user_name]
Example:
/ usr / local / bin / ctxquery -f idanu
The example shown above list of sessions is connected to the Server, with columns
session id, client device name, client device address, session name, username
Similar commands .:
ctxqsession, ctxqfull, ctxquser
[1945001Alle], the above commands show session information as ctxquery but with pre-formatted output.ctxqsession by default prints username, session ID, condition, type and unit.
ctxquser by default prints username, session ID, session state when the user has logged on at idle and the date and time of the user.
ctxqfull [1945009 / usr / local / bin:] default print user name, session ID, session state, time the user the user has signed up for the date and time on
consumption at idle / ctxqfull user user_name command:
ctxdisconnect
Description :.
This command can be used to disconnect a session
The session ID can use the command ctxquery (: with flag i, in column SESSION ID) receive will. Users can disconnect only their own sessions if they are not administrators. If the session ID is not available, current session, it will default to separate
consumption :.
/ usr / local / bin / ctxdisconnect [session_id]
Example: [1945004[ / usr / local / bin / ctxdisconnect 1
command:
ctxlogoff
Description:
the command given user session log from a server.
If the session ID does not exist, it will log out current session by default. Be noted that the parameter only the session ID, not the user name. The user can only log off session that belongs to it, if it is not an administrator is
consumption :.
/ usr / local / bin / ctxlogoff [session_id]
Example:
/ usr / local / bin / ctxlogoff 1
command:
ctxreset
Description:
This command an ICA session is reset. Session ID is mandatory.When a session is in poor condition, this command can be used to clear dirty data and log it compel
consumption :.
/ usr / local / bin / ctxreset Sitzungs_ID
. Example:
/ usr / local / bin / ctxreset 1
Man
Citrix administrators can command line use utilities to
- Query sessions on his current server "ctxquery -f iustd" and the output format would session ID, user name, server name, session type and device.
- With Session Ids of ctxquery fast logoff / disconnect / user sessions are reset on the server.
- command line utilities to script Admin Jobs as logoff all users use.
User can use these commands
- logoff current session from the terminal.
- reset session.
query current session details.
0 Komentar