summaryrefslogtreecommitdiffstats
path: root/src/var/www/cgi-bin/uptime.cgi
blob: e7d4ba2333e0a6b26d7d7886c778169aad95d66e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

cat <<EOF
Content-Type: text/html; charset=utf-8

<!DOCTYPE html>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta http-equiv="refresh" content="2">
		<title>Operating System Uptime</title>
	</head>
	<body>
		<h1>Operating System Uptime</h1>
		<pre>$(uptime)</pre>
	</body>
</html>
EOF