sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Sys::ProcTable.ps
call-seq:
ProcTable.ps(pid=nil)
ProcTable.ps(pid=nil){ |ps| ... }
In block form, yields a ProcTableStruct for each process entry that you
have rights to. This method returns an array of ProcTableStruct's in
non-block form.
If a +pid+ is provided, then only a single ProcTableStruct is yielded or
returned, or nil if no process information is found for that +pid+.Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/sys-proctable-sys-proctable-1.2.6/lib/aix/sys/proctable.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Sys--ProcTable-ps-for-pr
# Commit to gitgit add app/server/ruby/vendor/sys-proctable-sys-proctable-1.2.6/lib/aix/sys/proctable.rbgit commit -m "better docs for Sys::ProcTable.ps"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Sys--ProcTable-ps-for-pr
hub pull-request
# Celebrate!