sysresources 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02e845fad09a74d026085c6e7395bfed9871210e
4
- data.tar.gz: 536bfbfddb5ea338cf967388a093451fdc339ccf
3
+ metadata.gz: d25ceafba0391d09021e818f42d1f25a6bdf18a0
4
+ data.tar.gz: 112ea484acd115d7dfd715e9fd2ce1a0d5ab8fd8
5
5
  SHA512:
6
- metadata.gz: d56eb401f0e0ebf5431ba9eb4a8e8979c17fae50e891f23942306719c30f39d5e917056912c2b273536de15f5f6bbd01f5e7e924f4c28354486728748d8a6868
7
- data.tar.gz: d33b446250031a5e69dd4c1ad5e50f77e9e996194096d1cbaf82aef13ce02b33d84922faa500c6901b39b085086ca84e8f29f6ad8681a836178daf59da3b6104
6
+ metadata.gz: ef807e879239e1e26a5684d2b38ddc3c881d187eb3647d8312014e6bcafbf98e61b3105b9f4db310c133cf30a266d10c6a1506468aff7bf2089384513a351622
7
+ data.tar.gz: 6f233028016d3edc84faf365110f388ab49fc88806b89eb1d82bdbc536cf5eacf85c67191436e5785f33731852dd3a6d212f0558f1ff3c1adca0ab3b55db011d
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Sysresources
2
2
 
3
- 'sysresources' is a simple command line tool that prints the following system resources statistics to the screen: disk, ram, percent cpu used, system uptime and running processes. This tool is constructed for linux systems only. There is nothing too special about this gem, but it does organize the above information into one place and eliminates the need to run numerous system commands.
3
+ 'sysresources' is a simple command line tool that prints the following system resources statistics to the screen: disk, ram, percent cpu used, system uptime and running processes. This tool is constructed for linux systems only. There is nothing too special about this gem, but it does organize the above information into one place and eliminates the need to run numerous or chained system commands.
4
4
  ## Installation
5
5
 
6
6
  Add this line to your application's Gemfile:
@@ -19,10 +19,18 @@ Or install it yourself as:
19
19
 
20
20
  ## Usage
21
21
 
22
- simply run 'sysresources' at the command line. may be a good idea to alias this command as 'stats' or 'system' to make things shorter.
22
+ run 'sysresources' at the command line to get the full list of resource statistics. it may be a good idea to alias this command as 'stats' or 'system' to make things shorter. there are also command line options in order to get specific reresource measures individually:
23
23
 
24
24
  legend:
25
25
  ```ruby
26
+ Usage: sysresources [options]
27
+ -c, --cpu >> current cpu usage %
28
+ -r, --ram >> memory available GB
29
+ -d, --disk >> remaining disk GB
30
+ -u, --uptime >> system uptime
31
+ -p, --process >> running processes
32
+ -h, --help >> displays commands
33
+
26
34
  disk(G): remaining disk space on "/home" partition. Defaults to reading "/" if "/home" not found.
27
35
  ram(G): memory AVAILABLE
28
36
  cpu(%): percent cpu being spent at current point in time
@@ -1,3 +1,3 @@
1
1
  module Sysresources
2
- VERSION = "0.2.9"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Sysresources
2
- VERSION = "0.2.9"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sysresources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmcbride1