Index: html/pages/device/apps/mssql.inc.php =================================================================== --- html/pages/device/apps/mssql.inc.php (revision 5175) +++ html/pages/device/apps/mssql.inc.php (working copy) @@ -4,20 +4,24 @@ $app_state = dbFetchRow($sql, array($app['app_id'])); $app_data = unserialize($app_state['app_state']); -?> +$app_sections['system'] = "System"; +if (!empty($app_data['stats'])) + $app_sections['stats'] = "Stats"; +if (!empty($app_data['buffer'])) + $app_sections['buffers'] = "Buffers"; -
-
- -
-
-
-
Processor
-
- -
-
-
-
-
-
\ No newline at end of file + +$app_graphs['system']['mssql_cpu_usage'] = 'Processor'; +if (!empty($app_data['memory'])) + $app_graphs['system']['mssql_memory_usage'] = 'Memory'; + +$app_graphs['stats'] = array( + 'mssql_stats' => 'Users' + ); + +$app_graphs['buffers'] = array( + 'mssql_buffer_page' => 'Page Lookups', + 'mssql_buffer_pglife' => 'Page Life Expectancy', + 'mssql_buffer_stalls' => 'Free List Stalls' + ); +