2019-05-03 11:07:31 +00:00
|
|
|
<div class="colstack_item colstack_head">
|
|
|
|
<div class="rowitem"><h1>{{lang "panel_debug_head"}}</h1></div>
|
2019-06-03 05:26:27 +00:00
|
|
|
</div>{{flush}}
|
2019-05-03 11:07:31 +00:00
|
|
|
<div id="panel_debug" class="colstack_grid">
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_uptime_label"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_go_version_label"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_database_version_label"}}
|
|
|
|
{{template "panel_debug_stat.html" .Uptime}}
|
|
|
|
{{template "panel_debug_stat.html" .GoVersion}}
|
|
|
|
{{template "panel_debug_stat.html" .DBVersion}}
|
2019-05-13 09:17:44 +00:00
|
|
|
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_open_database_connections_label"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_adapter_label"}}
|
2019-05-03 11:07:31 +00:00
|
|
|
{{/** TODO: Use this for active database connections when Go 1.11 lands **/}}
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head_q.html"}}
|
|
|
|
{{template "panel_debug_stat.html" .OpenConns}}
|
|
|
|
{{template "panel_debug_stat.html" .DBAdapter}}
|
|
|
|
{{template "panel_debug_stat_q.html"}}
|
|
|
|
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_goroutine_count_label"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_cpu_count_label"}}
|
|
|
|
{{template "panel_debug_stat_head_q.html"}}
|
|
|
|
{{template "panel_debug_stat.html" .Goroutines}}
|
|
|
|
{{template "panel_debug_stat.html" .CPUs}}
|
|
|
|
{{template "panel_debug_stat_q.html"}}
|
2019-05-13 09:17:44 +00:00
|
|
|
</div>
|
2018-08-16 05:27:26 +00:00
|
|
|
|
2019-05-13 09:17:44 +00:00
|
|
|
<div class="colstack_item colstack_head colstack_sub_head">
|
2019-10-11 00:57:33 +00:00
|
|
|
<div class="rowitem"><h2>{{lang "panel_debug_memory_stats"}}</h2></div>
|
2019-06-16 06:30:58 +00:00
|
|
|
</div>{{flush}}
|
2019-05-13 09:17:44 +00:00
|
|
|
<div id="panel_debug" class="colstack_grid">
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_sys"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapsys"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapalloc"}}
|
2019-05-13 09:17:44 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.Sys}} ({{bunit .MemStats.Sys}})</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapSys}} ({{bunit .MemStats.HeapSys}})</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapAlloc}} ({{bunit .MemStats.HeapAlloc}})</span></div>
|
|
|
|
|
|
|
|
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapidle"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapobjects"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_stackinuse"}}
|
2019-05-13 09:17:44 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapIdle}} ({{bunit .MemStats.HeapIdle}})</span></div>
|
2019-05-03 11:07:31 +00:00
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapObjects}}</span></div>
|
2019-05-13 09:17:44 +00:00
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.StackInuse}} ({{bunit .MemStats.StackInuse}})</span></div>
|
2018-08-16 05:27:26 +00:00
|
|
|
|
2019-05-13 09:17:44 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>MSpanInuse</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>MCacheInuse</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>MSpanSys</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.MSpanInuse}} ({{bunit .MemStats.MSpanInuse}})</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.MCacheInuse}} ({{bunit .MemStats.MCacheInuse}})</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.MSpanSys}} ({{bunit .MemStats.MSpanSys}})</span></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>MCacheSys</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>GCSys</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>OtherSys</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.MCacheSys}} ({{bunit .MemStats.MCacheSys}})</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.GCSys}} ({{bunit .MemStats.GCSys}})</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.OtherSys}} ({{bunit .MemStats.OtherSys}})</span></div>
|
|
|
|
</div>
|
|
|
|
<div class="colstack_item colstack_head colstack_sub_head">
|
2019-10-11 00:57:33 +00:00
|
|
|
<div class="rowitem"><h2>{{lang "panel_debug_caches"}}</h2></div>
|
2019-05-13 09:17:44 +00:00
|
|
|
</div>
|
|
|
|
<div id="panel_debug" class="colstack_grid">
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_caches_topic"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_caches_user"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_caches_reply"}}
|
2019-05-13 09:17:44 +00:00
|
|
|
|
2019-06-01 12:31:48 +00:00
|
|
|
<div class="grid_item grid_stat"><span>{{.Cache.Topics}} / {{.Cache.TCap}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Cache.Users}} / {{.Cache.UCap}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Cache.Replies}} / {{.Cache.RCap}}</span></div>
|
2019-05-13 09:17:44 +00:00
|
|
|
|
|
|
|
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_caches_topic_list"}}
|
|
|
|
{{template "panel_debug_stat_head_q.html"}}
|
|
|
|
{{template "panel_debug_stat_head_q.html"}}
|
2018-08-16 05:27:26 +00:00
|
|
|
|
2019-06-01 12:31:48 +00:00
|
|
|
<div class="grid_item grid_stat"><span>{{if .Cache.TopicListThaw}}Thawed{{else}}Sleeping{{end}}</span></div>
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_q.html"}}
|
|
|
|
{{template "panel_debug_stat_q.html"}}
|
2019-06-01 12:31:48 +00:00
|
|
|
</div>
|
|
|
|
<div class="colstack_item colstack_head colstack_sub_head">
|
2019-10-11 00:57:33 +00:00
|
|
|
<div class="rowitem"><h2>{{lang "panel_debug_database"}}</h2></div>
|
2019-06-16 06:30:58 +00:00
|
|
|
</div>{{flush}}
|
2019-06-01 12:31:48 +00:00
|
|
|
<div id="panel_debug" class="colstack_grid">
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_database_topics"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_database_users"}}
|
|
|
|
{{template "panel_debug_stat_head.html" "panel_debug_database_replies"}}
|
2019-06-01 12:31:48 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.Topics}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.Users}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.Replies}}</span></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Profile Replies</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Activity Stream</span></div>
|
2019-06-03 00:35:25 +00:00
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Likes</span></div>
|
2019-06-01 12:31:48 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.ProfileReplies}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.ActivityStream}}</span></div>
|
2019-06-03 00:35:25 +00:00
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.Likes}}</span></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Attachments</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Polls</span></div>
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head_q.html"}}
|
2019-06-03 00:35:25 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.Attachments}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.Polls}}</span></div>
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_q.html"}}
|
2019-06-03 00:35:25 +00:00
|
|
|
|
|
|
|
|
2019-06-05 01:46:45 +00:00
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Login Logs</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Reg Logs</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Mod Logs</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.LoginLogs}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.RegLogs}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.ModLogs}}</span></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Admin Logs</span></div>
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head_q.html"}}
|
|
|
|
{{template "panel_debug_stat_head_q.html"}}
|
2019-06-05 01:46:45 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.AdminLogs}}</span></div>
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_q.html"}}
|
|
|
|
{{template "panel_debug_stat_q.html"}}
|
2019-06-05 01:46:45 +00:00
|
|
|
|
|
|
|
|
2019-06-03 00:35:25 +00:00
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Views</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Views Agents</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Views Forums</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.Views}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.ViewsAgents}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.ViewsForums}}</span></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Views Langs</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Views Referrers</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Views Systems</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.ViewsLangs}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.ViewsReferrers}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.ViewsSystems}}</span></div>
|
2019-06-03 05:26:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Post Analytics</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Topic Analytics</span></div>
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_head_q.html"}}
|
2019-06-03 05:26:27 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.PostChunks}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Database.TopicChunks}}</span></div>
|
2019-10-11 00:57:33 +00:00
|
|
|
{{template "panel_debug_stat_q.html"}}
|
2019-06-01 12:31:48 +00:00
|
|
|
</div>
|
|
|
|
<div class="colstack_item colstack_head colstack_sub_head">
|
2019-10-11 00:57:33 +00:00
|
|
|
<div class="rowitem"><h2>{{lang "panel_debug_disk"}}</h2></div>
|
2019-06-16 06:30:58 +00:00
|
|
|
</div>{{flush}}
|
2019-06-01 12:31:48 +00:00
|
|
|
<div id="panel_debug" class="colstack_grid">
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Static Files</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Attachments</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Avatars</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{bunit .Disk.Static}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{bunit .Disk.Attachments}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{bunit .Disk.Avatars}}</span></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Log Files</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Backups</span></div>
|
2019-06-16 06:30:58 +00:00
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>Git</span></div>
|
2019-06-01 12:31:48 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{bunit .Disk.Logs}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{bunit .Disk.Backups}}</span></div>
|
2019-06-16 06:30:58 +00:00
|
|
|
<div class="grid_item grid_stat"><span>{{bunit .Disk.Git}}</span></div>
|
2019-05-03 11:07:31 +00:00
|
|
|
</div>
|