Sha256: f191fa7a55362848aff5b012bd0979d287fa264f97c45eeb65c3e4ffba6205f3
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
= Description A Ruby library for gathering Linux kernel statistics out of /proc/stat. = Installation gem install linux-kstat = Synopsis require 'linux/kstat' kstat = Linux::Kstat.new p kstat[:cpu] p kstat[:procs_running] = Details The values for most of the keys are a single numeric value. However, in the case of "cpu" keys, the result is a 7 element hash of numeric values. In the case of the "intr" key, the value is an array containing the list of interrupts. = Information about /proc/stat See http://www.linuxhowtos.org/System/procstat.htm for more information about the meaning of each of the fields. = Known Bugs None known. Please report any bugs on the github project page. http://www.github.com/djberg96/linux-kstat = License Artistic 2.0 = Copyright (C) 2003-2011 Daniel J. Berger All Rights Reserved.` = Warranty This package is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose. = Author Daniel J. Berger
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
linux-kstat-0.1.1-universal-linux | README |
linux-kstat-0.1.0 | README |