iso-profiles/a/rescue/live-overlay/srv/http/cgi-bin/sysinfo.cgi
Frede Hundewadt 9f7cefc315 Revert "experimenting"
This reverts commit ce220542f4.
2024-03-10 18:34:43 +01:00

17 lines
No EOL
386 B
Bash

#!/bin/bash
echo "Content-type: text/html"
echo ""
echo "<html><head><title>sysinfo"
echo "</title></head><body>"
echo "<h1>General system information for host $(hostname -s)</h1>"
echo ""
echo "<h2>Memory Info</h2>"
echo "<pre> $(free -m) </pre>"
echo "<h2>Disk Info:</h2>"
echo "<pre> $(df -h) </pre>"
echo "<center>Information generated on $(date)</center>"
echo "</body></html>"