examples/mac_example.rb in usagewatch_ext-0.0.4.pre1 vs examples/mac_example.rb in usagewatch_ext-0.1.0
- old
+ new
@@ -12,5 +12,7 @@
puts "#{usw.uw_cpuused}% CPU Used"
puts "#{usw.uw_load} Average System Load Of The Past Minute"
puts "Top Ten Processes By CPU Consumption: #{usw.uw_cputop}"
puts "Top Ten Processes By Memory Consumption: #{usw.uw_memtop}"
puts "#{usw.uw_httpconns} Connections in 80 Port"
+puts "#{usw.uw_bandrx} Mbit/s Current Bandwidth Received"
+puts "#{usw.uw_bandtx} Mbit/s Current Bandwidth Transmitted"