Sha256: 581bf0b19c59180383ca7e788528edaf638f562ea046a1801363fb2779b69679
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
#!/usr/bin/ruby #License: (MIT), Copyright (C) 2013 Author Ruben Espinosa require 'usagewatch_ext' usw = Usagewatch puts "#{usw.uw_diskused} Gigabytes Used" puts "#{usw.uw_diskused_perc} Percentage of Gigabytes Used" puts "#{usw.uw_memused}% Active Memory Used" 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}"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
usagewatch_ext-0.0.3 | examples/mac_example.rb |