Sha256: bbebb14809c20f1a52ff59995e95eb1aa13d4c644fbd0f2a83c417b4c6420ac9
Contents?: true
Size: 875 Bytes
Versions: 170
Compression:
Stored size: 875 Bytes
Contents
<!DOCTYPE html> <html> <head> <style> body { font-family: Tahoma, Geneva, sans-serif; } div { display: inline; } </style> <script> function updateStats(memuse) { document.getElementById('rss').innerHTML = memuse.rss; document.getElementById('heapTotal').innerHTML = memuse.heapTotal; document.getElementById('heapUsed').innerHTML = memuse.heapUsed; } var host = window.document.location.host.replace(/:.*/, ''); var ws = new WebSocket('ws://' + host + ':8080'); ws.onmessage = function (event) { updateStats(JSON.parse(event.data)); }; </script> </head> <body> <strong>Server Stats</strong><br> RSS: <div id='rss'></div><br> Heap total: <div id='heapTotal'></div><br> Heap used: <div id='heapUsed'></div><br> </body> </html>
Version data entries
170 entries across 85 versions & 1 rubygems