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 +4 -4
- data/README.md +10 -2
- data/lib/sysresources/lib/sysresources/version.rb +1 -1
- data/lib/sysresources/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d25ceafba0391d09021e818f42d1f25a6bdf18a0
|
4
|
+
data.tar.gz: 112ea484acd115d7dfd715e9fd2ce1a0d5ab8fd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/sysresources/version.rb
CHANGED