JANUS TSTAT or TSTATUS: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
Line 25: Line 25:
<td>TCP/IP port number.</td></tr>
<td>TCP/IP port number.</td></tr>
<tr><th>Type</th>
<tr><th>Type</th>
<td>IFDIAL, SDS, OAS, OMNI, OPENSERV, WEBSERV, CLSOCK, or SRVSOCK.</td></tr>
<td>IFDIAL, SDS, OAS, OMNI, OPENSERV, WEBSERV, CLSOCK, <var>DEBUGGERCLIENT</var>, or SRVSOCK.</td></tr>
<tr><th>Stat</th>
<tr><th>Stat</th>
<td>Status of the connection (started, stopped, forcing, or draining).</td></tr>
<td>Status of the connection (started, stopped, forcing, or draining).</td></tr>
Line 73: Line 73:
</p>
</p>
<p class="caption">JANUS TSTAT output</p>
<p class="caption">JANUS TSTAT output</p>


==References==
==References==

Revision as of 21:23, 2 November 2011

<section begin="desc" />Display Janus thread usage activity<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, DEBUGGERCLIENT, 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."

Name Port Type Stat Activ Free Perst InUse TConn TReuse IFDIAL 2999 IFDIAL Start 0 5 0 0 0 0 DEBUGGER 6999 DEBUGSRV Start 0 10 0 0 0 0 DEBUGCLIENT * DEBUGCLT Start 0 10 0 0 0 0 JANWEB 80 WEBSERV Start 0 50 0 0 16348 2378 JANWEBS 443 WEBSERV Start 0 50 0 0 2315 184 EMAILC * CLSOCK Start 0 5 0 0 0 0 NEXTEL * CLSOCK Start 0 5 0 0 0 0 SOAP * CLSOCK Start 0 5 0 0 106 0 FLASHMON 8881 SRVSOCK Start 0 10 0 0 0 0 FTP 2121 FTPSERV Start 0 10 0 0 0 0 UKWEB 80 WEBSERV Start 0 10 0 0 0 0 UKWEBS 443 WEBSERV Stop 0 0 0 0 0 0 UKLDAP * CLSOCK Start 0 5 0 0 0 0 CLUBWEB 80 WEBSERV Stop 0 0 0 0 3899 0 CLUBWEBS 443 WEBSERV Stop 0 0 0 0 0 0 MKIWEB 80 WEBSERV Start 0 10 0 0 0 0 MKIWB2 81 WEBSERV Stop 0 0 0 0 0 0 MKIWEBS 443 WEBSERV Stop 0 0 0 0 0 0 CYO 80 WEBSERV Stop 0 0 0 0 0 0 JAL 80 WEBSERV Start 0 10 0 0 1926 0 MEGWEB 80 WEBSERV Start 0 10 0 0 0 0 YODAWEB 80 WEBSERV Start 0 10 0 0 1212 0 VIETNAM 80 WEBSERV Start 0 10 0 0 1716 0 HOCKEY 80 WEBSERV Start 0 25 0 0 6748 0 HOCKEYS 443 WEBSERV Start 0 25 0 0 1997 0 XTEND 7878 WEBSERV Start 0 10 0 0 0 0 XTENDS 7879 WEBSERV Start 0 10 0 0 0 0 TNSERV 3270 TNSERV Start 0 20 0 0 1 0 AGENTS 20002 OPENSERV Start 0 5 0 0 0 0

JANUS TSTAT output

References

See List of Janus commands