JANUS TSTAT or TSTATUS

From m204wiki
Revision as of 17:08, 28 February 2011 by 198.242.244.47 (talk) (Created page with "{{DISPLAYTITLE:JANUS TSTAT or TSTATUS}} <span class="pageSubtitle"><section begin="desc" />TSTAT or TSTATUS<section end="desc" /></span> This provides information about thread...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin="desc" />TSTAT or TSTATUS<section end="desc" />


This provides information about thread usage activity on Janus ports that can prove useful in isolating problems with thread availability and in doing capacity planning. The JANUS LIMITS command (JANUS LIMITS) provides information about system-wide thread availability.

Syntax

<section begin="syntax" /> JANUS TSTATUS portname <section end="syntax" />

JANUS TSTATUS command syntax


Where portname is the name of the port(s) to display. portname defaults to * (asterisk) to display the thread activity on all ports.

JANUS TSTATUS *

In the above example, the thread activity on all defined ports is shown.

JANUS TSTATUS provides the following information:

Name Name defined to the TCP/IP port.
Port TCP/IP port number.
Type IFDIAL, SDS, OAS, OMNI, OPENSERV, WEBSERV, CLSOCK, or SRVSOCK.
Stat Status of the connection (started, stopped, forcing, or draining).
Activ The current number of active connections for the port. An active connection is one that is "open" from TCP/IP's perspective and reduces by one the available open threads on the port and is counted against the site's licensed connection limit.
Free The current number of available connections for the port. This is simply the port's connection limit (as specified on the JANUS DEFINE command) minus the number of active connections (Activ). The value of Free is an absolute limit of the number of additional connections on a port. Other limits such as the system-wide connection limit or the number of available sdaemon threads might prevent this limit from being attained.
Perst The number of "persistent" sessions currently active for the port. Persistent sessions include Janus Web Legacy sessions (3270 screens automatically converted to HTML by Janus Web Server) and those using $WEB_FORM_DONE. Persistent sessions do not count against a port's maximum connection limit but do count against the site's overall maximum connection limit and they do occupy sdaemon threads.
InUse The sum of Activ and Perst. This indicates the number of connections for the port that are counted against the site's overall connection limit.
TConn The total number of separate connections made to the port. For WEBSERV ports this value is sometimes referred to as "hits."