JANUS TSTAT or TSTATUS: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:JANUS TSTAT or TSTATUS}}
{{DISPLAYTITLE:JANUS TSTAT or TSTATUS}}
<span class="pageSubtitle"><section begin="desc" />TSTAT or TSTATUS<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Display Janus thread usage activity<section end="desc" /></span>
 


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.


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==
==Syntax==
<p class="syntax"><section begin="syntax" /> JANUS TSTATUS portname
<p class="syntax"><section begin="syntax" /> JANUS TSTATUS portname
Line 11: Line 10:
</p>
</p>


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


Where '''portname''' is the name of the port(s) to display. '''portname''' defaults to <code>*</code> (asterisk) to display the thread activity on all ports.
<p class="code"> JANUS TSTATUS *
<p class="code"> JANUS TSTATUS *
</p>
</p>
In the above example, the thread activity on all defined ports is shown.  
In the above example, the thread activity on all defined ports is shown.  


JANUS TSTATUS provides the following information:
JANUS TSTATUS provides the following information:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>Name</th>
<tr><th>Name</th>
Line 37: Line 38:
<tr><th>TConn</th>
<tr><th>TConn</th>
<td>The total number of separate connections made to the port. For WEBSERV ports this value is sometimes referred to as "hits."
<td>The total number of separate connections made to the port. For WEBSERV ports this value is sometimes referred to as "hits."
</td></tr></table>
</td></tr>
 
</table>


==References==
See [[List of Janus commanads]]
[[Category:Janus commands|JANUS TSTAT or TSTATUS]]
[[Category:Janus commands|JANUS TSTAT or TSTATUS]]
[[Category:Sirius commands]]
[[Category:Sirius commands]]

Revision as of 17:24, 2 March 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, 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."

References

See List of Janus commanads