.header> Server <%= @server.name %> <%= case @health.message do %> <% "Connected" -> %> <% "Disconnected" -> %> <% _ -> %> <% end %> <:subtitle> <%= @server.public_ip %>
<%= task.progress %> complete
<% end %>Connect to your server using root credentials and execute the following command:
#
<%= @registration_command %>
<%= @sys_info.uptime || "" %>s
Uptime
<%= Enum.count(@sys_info.cpus || []) %>
CPUs
<%= calculate_cpu_usage(@sys_info.cpus) %>
CPU%
<%= bytes_to_gigabytes(@sys_info.mem_total_bytes - @sys_info.mem_avail_bytes) %> / <%= bytes_to_gigabytes(@sys_info.mem_total_bytes) %> GiB
Memory
<%= calculate_disk_used_percent(@sys_info.disks) %> %
Used Disk
Updates: <%= @sys_info.updates_available %> pending updates. <.button type="button" class="ml-4" phx-click="system_update"> Update now
<%= output %>