FR [1921784]

This commit is contained in:
Heng Sin Low 2008-03-21 01:07:09 +00:00
parent 1646564349
commit 593a37a464
1 changed files with 15 additions and 0 deletions

View File

@ -700,6 +700,21 @@ public class AdempiereMonitor extends HttpServlet
+ ", Demons=" + th.getDaemonThreadCount()
+ ", Total=" + th.getTotalStartedThreadCount()));
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
line = new tr();
line.addElement(new th().addElement(CacheMgt.get().toStringX()));