structure thermal devices
[metriccd.git] / client / meter / loadavg
blob4df68424b609a4c05a42bdf6d0b79f22dbd86ce1
1 #!/usr/bin/env perl
3 require "common.pl";
5 my ($loadavg_1m, $loadavg_5m, $loadavg_15m, undef) = split /\s+/, file_get_line("/proc/loadavg");
6 $\ = "\n";
7 print "1m $loadavg_1m";
8 print "5m $loadavg_5m";
9 print "15m $loadavg_15m";