\n";
- echo "
- ".tra("Server status")."
- ";
- start_table('table-striped');
- table_header(tra("Program"), tra("Host"), tra("Status"));
- foreach ($daemons->local_daemons as $d) {
- daemon_html($d);
- }
- foreach ($daemons->remote_daemons as $d) {
- daemon_html($d);
- }
- foreach ($daemons->disabled_daemons as $d) {
- daemon_html($d);
- }
- end_table();
+ echo "
+ ".tra("Server status")."
+ ";
+ start_table('table-striped');
+ table_header(tra("Program"), tra("Host"), tra("Status"));
+ foreach ($daemons->local_daemons as $d) {
+ daemon_html($d);
+ }
+ foreach ($daemons->remote_daemons as $d) {
+ daemon_html($d);
+ }
+ foreach ($daemons->disabled_daemons as $d) {
+ daemon_html($d);
+ }
+ end_table();
- if ($daemons->cached_time) {
- echo " Remote daemon status as of ", time_str($daemons->cached_time);
- }
- if ($daemons->missing_remote_status) {
- echo " Status of remote daemons is missing\n";
- }
- if (function_exists('server_status_project_info')) {
- echo " ";
- server_status_project_info();
- }
+ if ($daemons->cached_time) {
+ echo " Remote daemon status as of ", time_str($daemons->cached_time);
+ }
+ if ($daemons->missing_remote_status) {
+ echo " Status of remote daemons is missing\n";
+ }
+ if (function_exists('server_status_project_info')) {
+ echo " ";
+ server_status_project_info();
+ }
echo " | \n";
- echo "".tra("Computing status")."\n";
- echo "".tra("Work")."\n";
- start_table('table-striped');
- item_html("Tasks ready to send", $j->results_ready_to_send);
- item_html("Tasks in progress", $j->results_in_progress);
- item_html("Workunits waiting for validation", $j->wus_need_validate);
- item_html("Workunits waiting for assimilation", $j->wus_need_assimilate);
- item_html("Workunits waiting for file deletion", $j->wus_need_file_delete);
- item_html("Tasks waiting for file deletion", $j->results_need_file_delete);
- item_html("Transitioner backlog (hours)", number_format($j->transitioner_backlog, 2));
- end_table();
- echo "".tra("Users")."\n";
- start_table('table-striped');
- item_html("With credit", $j->users_with_credit);
- item_html("With recent credit", $j->users_with_recent_credit);
- item_html("Registered in past 24 hours", $j->users_past_24_hours);
- end_table();
- echo "".tra("Computers")."\n";
- start_table('table-striped');
- item_html("With credit", $j->hosts_with_credit);
- item_html("With recent credit", $j->hosts_with_recent_credit);
- item_html("Registered in past 24 hours", $j->hosts_past_24_hours);
- item_html("Current GigaFLOPS", round($j->flops, 2));
- end_table();
+ echo "".tra("Computing status")."\n";
+ echo "".tra("Work")."\n";
+ start_table('table-striped');
+ item_html("Tasks ready to send", $j->results_ready_to_send);
+ item_html("Tasks in progress", $j->results_in_progress);
+ item_html("Workunits waiting for validation", $j->wus_need_validate);
+ item_html("Workunits waiting for assimilation", $j->wus_need_assimilate);
+ item_html("Workunits waiting for file deletion", $j->wus_need_file_delete);
+ item_html("Tasks waiting for file deletion", $j->results_need_file_delete);
+ item_html("Transitioner backlog (hours)", number_format($j->transitioner_backlog, 2));
+ end_table();
+ echo "".tra("Users")."\n";
+ start_table('table-striped');
+ item_html("With credit", $j->users_with_credit);
+ item_html("With recent credit", $j->users_with_recent_credit);
+ item_html("Registered in past 24 hours", $j->users_past_24_hours);
+ end_table();
+ echo "".tra("Computers")."\n";
+ start_table('table-striped');
+ item_html("With credit", $j->hosts_with_credit);
+ item_html("With recent credit", $j->hosts_with_recent_credit);
+ item_html("Registered in past 24 hours", $j->hosts_past_24_hours);
+ item_html("Current GigaFLOPS", round($j->flops, 2));
+ end_table();
echo " |
\n";
end_table();
echo "