tsm.info(1)                                                     tsm.info(1)
 NAME    [Toc]    [Back]
      tsm.info - get Terminal Session Manager state information
 SYNOPSIS    [Toc]    [Back]
      /usr/tsm/bin/tsm.info request
 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      tsm.info was developed by Structured Software Solutions, Inc.
 SEE ALSO    [Toc]    [Back]
      tsm(1)
 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003 [ Back ] |