Registry / utility / sys-cpu

sys-cpu

JSON →
library1.3.0rbrubygemsunverified

The sys-cpu library provides an interface for gathering information about your system's processor(s), including speed, type, and load average.

gem install sys-cpu
INSTALL
IMPORT
SIG · SYS-CPU
S
sys-cpu
utilityrubyv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Sys::CPU
require 'sys/cpu'

Retrieve system CPU information

require 'sys/cpu' # Get CPU info cpu = Sys::CPU.new puts "Processor type: #{cpu.processor_type}" puts "Load average: #{cpu.load_avg}"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
sys-cpu — gem install sys-cpu · libregistry