- Wasted
- Plastic Raft
- Wrecked
- Database Addiction
- Endless War
- Evil Media Distribution Centre
- Invisible Airs
- Coal Fired Computers
- Database Documentry
- Aluminium
- Lungs
- MF2012
- Requiem for Cod
bnr#32 => Tantalum Memorial, Manifesta7, Alumix, Bolzano, Italy.
|
uptime.pl#!/bin/perl # rewrite of Uptimeline.pl by thetrojan01 # This script is to make the uptime line shown as HH:MM:SS #energy density of coal is 6.67 kW·h/kg. The typical thermodynamic efficiency of coal power plants is about 30%, so of the 6.67 kW·h of energy per kilogram of coal, 30% of that—2.0 kW·h/kg—can successfully be turned into electricity; #1 kilogram = 2.20462262 my $kw_h = (COMPUTER_WATTS_PER_HOUR * (HOURS_IN_DAY * DAYS_IN_YEAR))/1000; print "kg coal use for year $kg_of_coal\n"; $uptime = `cat /proc/uptime | awk ' {print $1}'`; #who work for 40 years at the current federal dust limit of 2 mg/m3, are predicted to have a 1.4% risk of having progressive massive fibrosis on retirement. #3kwh each week; #coal - 6,150 kWh/ton #0.4 x 6,150 kWh or 2,460 kWh/ton print "$uptime\n"; $minutes = 0; # Make the uptime number integer print "Coal used since uptime = ".($seconds * $kg_coal_used_per_sec)." kg \n"; while ($seconds >= $min) if($seconds < 10) { $seconds = "0$seconds"; } print "$hours:$mi |
Navigation |