pid_usage

Version, currently master branch1 version
  • master branchlatestAug 5, 2017

github.com/apan2017/pid_usage

A tool that get info of pid cpu and memory usage

3 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  pid_usage:
    github: apan2017/pid_usage
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.23.0
License
MIT
Author
apan

Dependencies

This version declares no dependencies.

README

pid_usage

A tool that get info of pid cpu and memory usage, inspire by https://github.com/soyuka/pidusage

Just test on osx and ubuntu.

Installation

Add this to your application's shard.yml:

dependencies:
  pid_usage:
    github: aiasfina/pid_usage

Usage

require "pid_usage"

PidUsage::State.info(pid)

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/[your-github-name]/pid_usage/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors