%!
/* */
struct icm_thr_info_type
{
string status;
string rq_type;
string protocol;
int rq_count;
int conn;
int guid;
string thr_id;
};
%>
<%
int rc;
string browser, appl;
struct icm_thr_info_type main_thr;
struct icm_thr_info_type watchdog_thr;
struct icm_thr_info_type signal_thr;
struct icm_thr_info_type proxy_thr;
struct icm_thr_info_type mplx_thr;
struct icm_thr_info_type jsess_thr;
browser = __icm_get_browser_type();
appl = __icm_get_system_property ("app_name");
__icm_get_thr_info(main_thr, -1);
__icm_get_thr_info(watchdog_thr, -2);
__icm_get_thr_info(signal_thr, -3);
__icm_get_thr_info(proxy_thr, -4);
__icm_get_thr_info(mplx_thr, -5);
__icm_get_thr_info(jsess_thr, -6);
%>
<%=appl%> Monitor
<%=appl%> Core Thread Status
|
|
Refresh
|
Name
|
Thread ID
|
No. of Requests
|
Protocol
|
Status
|
Request Type
|
MAIN |
<%= main_thr.thr_id %> |
<%= main_thr.rq_count %> |
<%= main_thr.protocol %> |
<%= main_thr.status %> |
<%= main_thr.rq_type %> |
WATCHDOG |
<%= watchdog_thr.thr_id %> |
<%= watchdog_thr.rq_count %> |
<%= watchdog_thr.protocol %> |
<%= watchdog_thr.status %> |
<%= watchdog_thr.rq_type %> |
<%
if (signal_thr.status != "") {
%>
SIGNAL |
<%= signal_thr.thr_id %> |
<%= signal_thr.rq_count %> |
<%= signal_thr.protocol %> |
<%= signal_thr.status %> |
<%= signal_thr.rq_type %> |
<%
}
if (appl != "SAP Web Dispatcher") {
if (proxy_thr.status != "") {
%>
PROXY |
<%= proxy_thr.thr_id %> |
<%= proxy_thr.rq_count %> |
<%= proxy_thr.protocol %> |
<%= proxy_thr.status %> |
<%= proxy_thr.rq_type %> |
<%
}
if (mplx_thr.status != "") {
%>
MPLX |
<%= mplx_thr.thr_id %> |
<%= mplx_thr.rq_count %> |
<%= mplx_thr.protocol %> |
<%= mplx_thr.status %> |
<%= mplx_thr.rq_type %> |
<%
}
if (jsess_thr.status != "") {
%>
JSESS |
<%= jsess_thr.thr_id %> |
<%= jsess_thr.rq_count %> |
<%= jsess_thr.protocol %> |
<%= jsess_thr.status %> |
<%= jsess_thr.rq_type %> |
<%
}
}
%>