A tool that get info of pid cpu and memory usage, inspire by https://github.com/soyuka/pidusage
Just test on osx and ubuntu.
Add this to your application's shard.yml:
dependencies:
pid_usage:
github: aiasfina/pid_usagerequire "pid_usage"
PidUsage::State.info(pid)TODO: Write usage instructions here
TODO: Write development instructions here
- Fork it ( https://github.com/[your-github-name]/pid_usage/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- [your-github-name] apan - creator, maintainer