File: load_average.rb

package info (click to toggle)
ruby-vmstat 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 344 kB
  • sloc: ruby: 1,136; ansic: 347; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
module Vmstat
  # In UNIX computing, the system load is a measure of the amount of
  # computational work that a computer system performs. The load average 
  # represents the average system load over a period of time.
  # Source: wikipedia(en).
  # @attr [Float] one_minute The load for the last minute.
  # @attr [Float] five_minutes The load for the last five minutes.
  # @attr [Float] fifteen_minutes The load for the last fifteen minutes.
  class LoadAverage < Struct.new(:one_minute, :five_minutes, :fifteen_minutes)
  end
end