#!/usr/bin/rrdcgi
<RRD::SETENV TZ America/Los_Angeles>
<html>
-<head><title>Cluster Block Device Report</title></head>
-<body style="background-image: url('/bg.gif')">
+<head>
+<title>Cluster Block Device Report</title>
+<link rel="stylesheet" href="/index.css">
+</head>
+<body>
<h1>Cluster Block Device Report</h1>
<RRD::GRAPH blk1h.png --title="IO Metrics, Last Hour"
-s -1hr -w 640 -h 240 -S 120s -z -b 1024
LINE2:yw#66CC00:"Ynez Write " GPRINT:curyw:"%4.0lf %sB/s" GPRINT:avgyw:"%4.0lf %sB/s" GPRINT:maxyw:"%4.0lf %sB/s\l"
LINE2:sr#6600CC:"Serrano Read " GPRINT:cursr:"%4.0lf %sB/s" GPRINT:avgsr:"%4.0lf %sB/s" GPRINT:maxsr:"%4.0lf %sB/s"
LINE2:sw#6600CC:"Serrano Write " GPRINT:cursw:"%4.0lf %sB/s" GPRINT:avgsw:"%4.0lf %sB/s" GPRINT:maxsw:"%4.0lf %sB/s\l">
-<footer style="text-align:center">
+<footer>
<hr />
<a href="https://acme.com/software/thttpd/"><img src="/badges/thttpd.gif" alt="powered by thttpd" height="31" width="88"></a>
<a href="https://www.freebsd.org/"><img src="/badges/freebsd.gif" alt="powered by FreeBSD" height="31" width="88"></a>
#!/usr/bin/rrdcgi
<RRD::SETENV TZ America/Los_Angeles>
<html>
-<head><title>Cluster CPU Report</title></head>
-<body style="background-image: url('/bg.gif')">
+<head>
+<title>Cluster CPU Report</title>
+<link rel="stylesheet" href="/index.css">
+</head>
+<body>
<h1>Cluster CPU Report</h1>
<RRD::GRAPH cpu1h.png --title="CPU Utilization, Last Hour"
-s -1hr -w 480 -h 240 -S 120s -z
COMMENT:" TEMESCAL (tot)" GPRINT:curt:"%7.2lf %%" GPRINT:avgt:"%7.2lf %%" GPRINT:maxt:"%7.2lf %%"
COMMENT:" YNEZ (tot)" GPRINT:cury:"%7.2lf %%" GPRINT:avgy:"%7.2lf %%" GPRINT:maxy:"%7.2lf %%"
COMMENT:" SERRANO (tot)" GPRINT:curs:"%7.2lf %%" GPRINT:avgs:"%7.2lf %%" GPRINT:maxs:"%7.2lf %%\l">
-<footer style="text-align:center">
+<footer>
<hr />
<a href="https://acme.com/software/thttpd/"><img src="/badges/thttpd.gif" alt="powered by thttpd" height="31" width="88"></a>
<a href="https://www.freebsd.org/"><img src="/badges/freebsd.gif" alt="powered by FreeBSD" height="31" width="88"></a>
#!/usr/bin/rrdcgi
<RRD::SETENV TZ America/Los_Angeles>
<html>
-<head><title>Cluster Block Device Report</title></head>
-<body style="background-image: url('/bg.gif')">
+<head>
+<title>Cluster Block Device Report</title>
+<link rel="stylesheet" href="/index.css">
+</head>
+<body>
<h1>Cluster Block Device Report</h1>
<RRD::GRAPH dsk1wkte.png --title="Temescal / Disk Usage, Last Month"
-s -1wk -w 640 -h 240 -S 120s -z -b 1024 -l 0
AREA:u#cc3300:"Used " GPRINT:curu:"%5.0lf %SB"
AREA:r#ffcc33:"Reserved ":STACK GPRINT:curr:"%5.0lf %SB"
AREA:a#6600ff:"Available":STACK GPRINT:cura:"%5.0lf %SB\l">
-<footer style="text-align:center">
+<footer>
<hr />
<a href="https://acme.com/software/thttpd/"><img src="/badges/thttpd.gif" alt="powered by thttpd" height="31" width="88"></a>
<a href="https://www.freebsd.org/"><img src="/badges/freebsd.gif" alt="powered by FreeBSD" height="31" width="88"></a>
#!/usr/bin/rrdcgi
<RRD::SETENV TZ America/Los_Angeles>
<html>
-<head><title>Cluster GPU Report</title></head>
-<body style="background-image: url('/bg.gif')">
+<head>
+<title>Cluster GPU Report</title>
+<link rel="stylesheet" href="/index.css">
+</head>
+<body>
<h1>Cluster GPU Report</h1>
<RRD::GRAPH gpu1h.png --title="GPU Utilization, Last Hour"
-s -1hr -w 560 -h 240 -S 120s -z
AREA:su1#6600FF:"Serrano GPU1 ":STACK GPRINT:cursu1:"%5.1lf %%" GPRINT:avgsu1:"%5.1lf %%" GPRINT:maxsu1:"%5.1lf %%"
AREA:su2#9900FF:"Serrano GPU2 ":STACK GPRINT:cursu2:"%5.1lf %%" GPRINT:avgsu2:"%5.1lf %%" GPRINT:maxsu2:"%5.1lf %%"
AREA:su3#9900CC:"Serrano GPU3 ":STACK GPRINT:cursu3:"%5.1lf %%" GPRINT:avgsu3:"%5.1lf %%" GPRINT:maxsu3:"%5.1lf %%\l">
-<footer style="text-align:center">
+<footer>
<hr />
<a href="https://acme.com/software/thttpd/"><img src="/badges/thttpd.gif" alt="powered by thttpd" height="31" width="88"></a>
<a href="https://www.freebsd.org/"><img src="/badges/freebsd.gif" alt="powered by FreeBSD" height="31" width="88"></a>
--- /dev/null
+body {
+ background-image: url('/bg.gif');
+}
+
+footer {
+ text-align: center;
+}
+
<head>
<meta charset="UTF-8">
<title>AIS-UCLA Server Stats</title>
+ <link rel="stylesheet" href="/index.css">
</head>
-<body style="background-image: url('/bg.gif')">
+<body>
<main>
<h1>AIS-UCLA Server Stats</h1>
<i>Updates every 10 minutes</i>
<li><a href=/dsk.cgi>Disk Storage Report</a></li>
</ul>
</main>
- <footer style="text-align: center">
+ <footer>
<hr />
<a href="https://acme.com/software/thttpd/"><img src="/badges/thttpd.gif" alt="powered by thttpd" height="31" width="88"></a>
<a href="https://www.freebsd.org/"><img src="/badges/freebsd.gif" alt="powered by FreeBSD" height="31" width="88"></a>
print header(-type => 'text/html', -charset => 'utf-8');
print start_html(-title => "GPU Leaderboard",
- -style => "background-image: url('/bg.gif')");
+ -style => {-src => 'index.css'});
my $db_file = "/www/leader/gpu.db";
my $dbh = DBI->connect("dbi:SQLite:dbname=$db_file", "", "", {
print <<'END';
<hr />
-<footer style="text-align:center">
+<footer>
<a href="https://acme.com/software/thttpd/"><img src="/badges/thttpd.gif" alt="powered by thttpd" height="31" width="88"></a>
<a href="https://www.freebsd.org/"><img src="/badges/freebsd.gif" alt="powered by FreeBSD" height="31" width="88"></a>
<a href="//cherf.ais-ucla.org/"><img src="/badges/cherf.gif" alt="powered by cherf" height="31" width="88"></a>
#!/usr/bin/rrdcgi
<RRD::SETENV TZ America/Los_Angeles>
<html>
-<head><title>Cluster Memory Report</title></head>
-<body style="background-image: url('/bg.gif')">
+<head>
+<title>Cluster Memory Report</title>
+<link rel="stylesheet" href="/index.css">
+</head>
+<body>
<h1>Cluster Memory Report</h1>
<RRD::GRAPH tmem1h.png --title="Temescal Memory Usage, Last Hour"
-l 0 -s -1hr -w 480 -h 240 -b 1024 -S 120s -z
LINE2:su#6600FF:"SERRANO Used " GPRINT:cursu:"%5.0lf %SB" GPRINT:avgsu:"%5.0lf %SB" GPRINT:maxsu:"%5.0lf %SB"
LINE2:sc#6600CC:"SERRANO Cache " GPRINT:cursc:"%5.0lf %SB" GPRINT:avgsc:"%5.0lf %SB" GPRINT:maxsc:"%5.0lf %SB"
LINE2:sf#660099:"SERRANO Free " GPRINT:cursf:"%5.0lf %SB" GPRINT:avgsf:"%5.0lf %SB" GPRINT:maxsf:"%5.0lf %SB\l">
-<footer style="text-align:center">
+<footer>
<hr />
<a href="https://acme.com/software/thttpd/"><img src="/badges/thttpd.gif" alt="powered by thttpd" height="31" width="88"></a>
<a href="https://www.freebsd.org/"><img src="/badges/freebsd.gif" alt="powered by FreeBSD" height="31" width="88"></a>