Change sim command from "stats" to "show stats" for consistency

ThreadPoolClientBranch
Justin Clarke Casey 2008-02-04 18:01:55 +00:00
parent bde363b572
commit 5db5630ec9
1 changed files with 13 additions and 14 deletions

View File

@ -330,7 +330,6 @@ namespace OpenSim
inventoryService, backendService, backendService, m_dumpAssetsToFile); inventoryService, backendService, backendService, m_dumpAssetsToFile);
m_commsManager = localComms; m_commsManager = localComms;
// TODO No user stats collection yet for standalone
m_loginService = m_loginService =
new LocalLoginService(userService, m_standaloneWelcomeMessage, localComms, m_networkServersInfo, new LocalLoginService(userService, m_standaloneWelcomeMessage, localComms, m_networkServersInfo,
m_standaloneAuthenticate); m_standaloneAuthenticate);
@ -718,7 +717,7 @@ namespace OpenSim
m_log.Error("show uptime - show simulator startup and uptime."); m_log.Error("show uptime - show simulator startup and uptime.");
m_log.Error("show users - show info about connected users."); m_log.Error("show users - show info about connected users.");
m_log.Error("show modules - shows info aboutloaded modules."); m_log.Error("show modules - shows info aboutloaded modules.");
m_log.Error("stats - statistical information for this server not displayed in the client"); m_log.Error("show stats - statistical information for this server not displayed in the client");
m_log.Error("shutdown - disconnect all clients and shutdown."); m_log.Error("shutdown - disconnect all clients and shutdown.");
m_log.Error("config set section field value - set a config value"); m_log.Error("config set section field value - set a config value");
m_log.Error("config get section field - get a config value"); m_log.Error("config get section field - get a config value");
@ -903,18 +902,6 @@ namespace OpenSim
} }
break; break;
case "stats":
if (StatsManager.SimExtraStats != null)
{
MainLog.Instance.Notice(
"STATS", Environment.NewLine + StatsManager.SimExtraStats.Report());
}
else
{
MainLog.Instance.Notice("STATS", "Extra statistics collection has not been enabled");
}
break;
case "config": case "config":
string n = command.ToUpper(); string n = command.ToUpper();
if (cmdparams.Length > 0) if (cmdparams.Length > 0)
@ -1073,6 +1060,18 @@ namespace OpenSim
scene.RegionInfo.RegionLocY); scene.RegionInfo.RegionLocY);
}); });
break; break;
case "stats":
if (StatsManager.SimExtraStats != null)
{
m_log.Notice(
"STATS", Environment.NewLine + StatsManager.SimExtraStats.Report());
}
else
{
m_log.Notice("STATS", "Extra sim statistics collection has not been enabled");
}
break;
} }
} }