Registry / utility / sys-proctable

sys-proctable

JSON →
library1.3.0rbrubygemsunverified

Provides a cross-platform interface for gathering information about system processes, i.e. the process table.

gem install sys-proctable
INSTALL
IMPORT
SIG · SYS-PROCTABLE
S
sys-proctable
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::ProcTable
require 'sys/proctable'

List all running processes with PID and command name.

require 'sys/proctable' include Sys ProcTable.ps.each do |proc| puts "#{proc.pid}: #{proc.comm}" end
Debug
Known issues
gotchaPlatform-specific fields may be nil or missing on unsupported operating systems.
fix
Check for nil values before using platform-specific fields like 'proc.uid' or 'proc.vm_size'.
affects: >= 1.0.0
Upgrade
Version history
1.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
sys-proctable — gem install sys-proctable · libregistry