psm-ruby-stats 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -20
- data/lib/rubystats_psm/version.rb +1 -1
- data/{usagewatch_ext.gemspec → psm-ruby-stats.gemspec} +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3288e4d96c533465c3a127d74095537ac91768d13fe0766036b986616444ab72
|
4
|
+
data.tar.gz: 2885e7171d30d6d2ac76cfd0e5aaebaf557fc355ffc6d7d22d3a676c7708dfcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0d51bb9aeb128a4442710159b437c84bed4e4fef46803bab463c2820d493222fef1a43d1b7168a516432dc766bee60335264925da2afaed64a69c6fc9d6e470
|
7
|
+
data.tar.gz: 50ae5c94926d2d6aad54aa603240b8c61c14b4081d17acb0b2d2500d06654d4bd0566f07332f273a9970231bcef6ec66fb30b2feb41b8a1d34ee13f4b9c2090b
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ruby-
|
1
|
+
# ruby-server_stats-psm
|
2
2
|
|
3
3
|
Credits to https://github.com/skcript for the initial code.
|
4
4
|
|
@@ -15,27 +15,27 @@ Here are some of the statistics you can get about your system:
|
|
15
15
|
|
16
16
|
## Getting Started
|
17
17
|
|
18
|
-
gem install
|
18
|
+
gem install psm-ruby-stats
|
19
19
|
|
20
20
|
```ruby
|
21
|
-
require '
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
21
|
+
require 'psm-ruby-stats'
|
22
|
+
|
23
|
+
server_stats = RubyStatsPsm
|
24
|
+
|
25
|
+
server_stats.uw_diskused
|
26
|
+
server_stats.uw_diskused_perc
|
27
|
+
server_stats.uw_cpuused
|
28
|
+
server_stats.uw_tcpused
|
29
|
+
server_stats.uw_udpused
|
30
|
+
server_stats.uw_memused
|
31
|
+
server_stats.uw_load
|
32
|
+
server_stats.uw_bandrx
|
33
|
+
server_stats.uw_bandtx
|
34
|
+
server_stats.uw_diskioreads
|
35
|
+
server_stats.uw_diskiowrites
|
36
|
+
server_stats.uw_cputop
|
37
|
+
server_stats.uw_memtop
|
38
|
+
server_stats.uw_apacheconns
|
39
39
|
```
|
40
40
|
|
41
41
|
## Example
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: psm-ruby-stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Personal Social Media
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: usagewatch
|
@@ -77,9 +77,9 @@ files:
|
|
77
77
|
- lib/rubystats_psm/linux.rb
|
78
78
|
- lib/rubystats_psm/skcript_linux.rb
|
79
79
|
- lib/rubystats_psm/version.rb
|
80
|
+
- psm-ruby-stats.gemspec
|
80
81
|
- spec/linux_spec.rb
|
81
82
|
- spec/spec_helper.rb
|
82
|
-
- usagewatch_ext.gemspec
|
83
83
|
homepage: https://github.com/personal-social-media/ruby-stats
|
84
84
|
licenses:
|
85
85
|
- MIT
|