diff options
Diffstat (limited to 'OpenSim/Grid/UserServer')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index 7cd2431..00b7f76 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -88,7 +88,7 @@ namespace OpenSim.Grid.UserServer | |||
88 | { | 88 | { |
89 | Cfg = new UserConfig("USER SERVER", (Path.Combine(Util.configDir(), "UserServer_Config.xml"))); | 89 | Cfg = new UserConfig("USER SERVER", (Path.Combine(Util.configDir(), "UserServer_Config.xml"))); |
90 | 90 | ||
91 | StatsManager.StartCollectingUserStats(); | 91 | m_stats = StatsManager.StartCollectingUserStats(); |
92 | 92 | ||
93 | m_log.Info("[REGION]: Establishing data connection"); | 93 | m_log.Info("[REGION]: Establishing data connection"); |
94 | m_userManager = new UserManager(); | 94 | m_userManager = new UserManager(); |
@@ -219,16 +219,11 @@ namespace OpenSim.Grid.UserServer | |||
219 | { | 219 | { |
220 | case "help": | 220 | case "help": |
221 | m_console.Notice("create user - create a new user"); | 221 | m_console.Notice("create user - create a new user"); |
222 | m_console.Notice("stats - statistical information for this server"); | ||
223 | break; | 222 | break; |
224 | 223 | ||
225 | case "create": | 224 | case "create": |
226 | do_create(cmdparams[0]); | 225 | do_create(cmdparams[0]); |
227 | break; | 226 | break; |
228 | |||
229 | case "stats": | ||
230 | m_console.Notice(StatsManager.UserStats.Report()); | ||
231 | break; | ||
232 | 227 | ||
233 | case "test-inventory": | 228 | case "test-inventory": |
234 | // RestObjectPosterResponse<List<InventoryFolderBase>> requester = new RestObjectPosterResponse<List<InventoryFolderBase>>(); | 229 | // RestObjectPosterResponse<List<InventoryFolderBase>> requester = new RestObjectPosterResponse<List<InventoryFolderBase>>(); |