Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > T

tsm.info(1)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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 standard 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 sessions (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)

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.