tsm.info.1 (2010 09)

t
tsm.info(1) tsm.info(1)
NAME
tsm.info - get Terminal Session Manager state information
SYNOPSIS
/usr/tsm/bin/tsm.info
request
DESCRIPTION
tsm.info is used to obtain information about TSM. When run from inside a TSM session it returns
valid information; otherwise it fails with a nonzero error code. Information returned is written to stan-
dard output. request can have any of the following values:
is_a_window Successful (returns zero) if executed from a TSM session, nonzero error
code otherwise.
session_number
Writes the session number of the session the
tsm.info command is
executed in.
current_session_number
Writes the session_number of the TSM session the user currently has
active.
active_session_numbers
Writes the session numbers (separated by whitespace) of all active ses-
sions (sessions not idle).
idle_session_numbers
Writes the session numbers (separated by whitespace) of all idle sessions.
program_name Writes the program name (as assigned in .tsm or with
tsm.command)of
the session the
tsm.info command is executed in.
program_name_n Writes the program name of session
n.
AUTHOR
tsm.info was developed by Structured Software Solutions, Inc.
SEE ALSO
tsm(1)
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)