mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Printout one more field in show threads, but this won't buy us much.
This commit is contained in:
@@ -246,7 +246,8 @@ namespace OpenSim.Framework.Servers
|
|||||||
foreach (ProcessThread t in threads)
|
foreach (ProcessThread t in threads)
|
||||||
{
|
{
|
||||||
sb.Append("ID: " + t.Id + ", TotalProcessorTime: " + t.TotalProcessorTime + ", TimeRunning: " +
|
sb.Append("ID: " + t.Id + ", TotalProcessorTime: " + t.TotalProcessorTime + ", TimeRunning: " +
|
||||||
(DateTime.Now - t.StartTime) + ", Pri: " + t.CurrentPriority + ", State: " + t.ThreadState + Environment.NewLine);
|
(DateTime.Now - t.StartTime) + ", Pri: " + t.CurrentPriority + ", State: " + t.ThreadState +
|
||||||
|
", WaitReason: " + t.WaitReason + Environment.NewLine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int workers = 0, ports = 0, maxWorkers = 0, maxPorts = 0;
|
int workers = 0, ports = 0, maxWorkers = 0, maxPorts = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user