skip to main content
TCMAN Reference : General actions : Display runtime environment information (env)
 

Display runtime environment information (env)

Purpose

Show details about a server’s state.

Syntax

tcman.sh env [general_options] [keyword]

Parameters

general_options
Specify one or more of the general TCMAN options. Run tcman.sh help env to see which general options are appropriate.
keyword
Specify one or more keywords that represent the name of the state that you want to view. If no keyword is specified, then all of the state information is displayed.
Keywords include:
Keyword
Description
running
Indicate if a server is running ( 1 ) or not running ( 0 ).
mgrurl
Display the URL of the manager application.
type
Display the server type.
alias
Display the server’s alias.
parent
Display the pathname of the parent of an instance.
tracking
Indicate if tracking is on (1) or off ( 0).
http
Display the server’s http port number.
https
Display the server’s https port number.
shut
Display the server’s shutdown port number. A value of -1 indicates that there is no shutdown port.
pid
Display the server’s process id. A hyphen ( - ) indicates that the server is not running.

Example

Display all of the state information for the instance created in /psc/acme1:
/psc/acme1/bin/tscman.sh env
catalina home: /psc/pashome
catalina base: /psc/acme1
java home: /tools/linuxx86_64/java64/jdk1.7.0_02/
jre home:
manager http port: 8501
manager https port:8601
manager shut port: 8701
manager URL: http://localhost:8501/manager
config type: instance
config alias: acme1
config parent: /psc/pashome
server running: 0
instance tracking: 1
instance file: /psc/pashome/conf/instances.unix
server process-id: -