← Back to Examples
LiveComponent

System Monitor Example

Memory Usage

221 MB

System Load

0.00

Connected Clients

0
Refreshing every 2s

A live server health widget that updates automatically every 2 seconds without user interaction. Periodically refreshes its persistent state and re-renders when the state changes. Owns a LiveState and refreshes it on a 2-second schedule by reading the host server's memory usage and CPU load. Broadcasts new HTML only when the value changes.