FR [1921784]
This commit is contained in:
parent
1646564349
commit
593a37a464
|
@ -700,6 +700,21 @@ public class AdempiereMonitor extends HttpServlet
|
||||||
+ ", Demons=" + th.getDaemonThreadCount()
|
+ ", Demons=" + th.getDaemonThreadCount()
|
||||||
+ ", Total=" + th.getTotalStartedThreadCount()));
|
+ ", Total=" + th.getTotalStartedThreadCount()));
|
||||||
table.addElement(line);
|
table.addElement(line);
|
||||||
|
|
||||||
|
//Transactions
|
||||||
|
Trx[] trxs = Trx.getActiveTransactions();
|
||||||
|
for (Trx trx : trxs)
|
||||||
|
{
|
||||||
|
if (trx != null && trx.isActive())
|
||||||
|
{
|
||||||
|
line = new tr();
|
||||||
|
line.addElement(new th().addElement("Active Transaction "));
|
||||||
|
line.addElement(new td().addElement("Name="+trx.getTrxName()
|
||||||
|
+ ", StartTime=" + trx.getStartTime()));
|
||||||
|
table.addElement(line);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Cache Reset
|
// Cache Reset
|
||||||
line = new tr();
|
line = new tr();
|
||||||
line.addElement(new th().addElement(CacheMgt.get().toStringX()));
|
line.addElement(new th().addElement(CacheMgt.get().toStringX()));
|
||||||
|
|
Loading…
Reference in New Issue