aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics/Clients_report.cs
diff options
context:
space:
mode:
authorTeravus Ovares2009-01-07 23:20:23 +0000
committerTeravus Ovares2009-01-07 23:20:23 +0000
commit95984e05876136cee464b3ecdc66d3cf36aac353 (patch)
tree53625792d2f8b5fcd629079bc0b460efcc2ff560 /OpenSim/Region/UserStatistics/Clients_report.cs
parent* refactor: Make some direct IClientAPI calls go through the dialog module in... (diff)
downloadopensim-SC-95984e05876136cee464b3ecdc66d3cf36aac353.zip
opensim-SC-95984e05876136cee464b3ecdc66d3cf36aac353.tar.gz
opensim-SC-95984e05876136cee464b3ecdc66d3cf36aac353.tar.bz2
opensim-SC-95984e05876136cee464b3ecdc66d3cf36aac353.tar.xz
* Added session report.
** Full or two criteria. UserID, or VersionString * Added link to session report from client report.
Diffstat (limited to 'OpenSim/Region/UserStatistics/Clients_report.cs')
-rw-r--r--OpenSim/Region/UserStatistics/Clients_report.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/UserStatistics/Clients_report.cs b/OpenSim/Region/UserStatistics/Clients_report.cs
index bc43e18..69514fb 100644
--- a/OpenSim/Region/UserStatistics/Clients_report.cs
+++ b/OpenSim/Region/UserStatistics/Clients_report.cs
@@ -71,6 +71,8 @@ namespace OpenSim.Region.UserStatistics
71 totalregions = Convert.ToInt32(sdr["regcnt"]); 71 totalregions = Convert.ToInt32(sdr["regcnt"]);
72 } 72 }
73 73
74 sdr.Close();
75 sdr.Dispose();
74 76
75 sql = 77 sql =
76 "select client_version, count(*) as cnt, avg(avg_sim_fps) as simfps from stats_session_data group by client_version order by count(*) desc LIMIT 10;"; 78 "select client_version, count(*) as cnt, avg(avg_sim_fps) as simfps from stats_session_data group by client_version order by count(*) desc LIMIT 10;";
@@ -197,7 +199,8 @@ TD.align_top { vertical-align: top; }
197 { 199 {
198 HTMLUtil.TR_O(ref output, ""); 200 HTMLUtil.TR_O(ref output, "");
199 HTMLUtil.TD_O(ref output, "content"); 201 HTMLUtil.TD_O(ref output, "content");
200 output.Append(cvd.version); 202 string linkhref = "sessions.report?VersionString=" + cvd.version;
203 HTMLUtil.A(ref output, cvd.version, linkhref, "");
201 HTMLUtil.TD_C(ref output); 204 HTMLUtil.TD_C(ref output);
202 HTMLUtil.TD_O(ref output, "content"); 205 HTMLUtil.TD_O(ref output, "content");
203 output.Append(cvd.count); 206 output.Append(cvd.count);