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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b166a3b8542121141cc7fa6231624077bfa2503d2bdb1d5a94c3b34cd07db68
4
- data.tar.gz: 94f78122d5280842ace797b1015b7504eea10eccf2066e71142672442e0b2246
3
+ metadata.gz: 3288e4d96c533465c3a127d74095537ac91768d13fe0766036b986616444ab72
4
+ data.tar.gz: 2885e7171d30d6d2ac76cfd0e5aaebaf557fc355ffc6d7d22d3a676c7708dfcb
5
5
  SHA512:
6
- metadata.gz: dc778acbee4d0e57f1bcb78327a385dcb932d8c284796344f556efd9f8efbe59dcc6616d247609483d805c1d216dedc4cbbcca9b626a88b7592c983a27c91c1a
7
- data.tar.gz: c5e153f6126e5451dd6b5d7b62dd07b3ec0ce999b35026d422904fe013dc8f38783a2953055f6b5996ebf5434c6172869cd08a072b0519ded17dd1ddff052fc8
6
+ metadata.gz: b0d51bb9aeb128a4442710159b437c84bed4e4fef46803bab463c2820d493222fef1a43d1b7168a516432dc766bee60335264925da2afaed64a69c6fc9d6e470
7
+ data.tar.gz: 50ae5c94926d2d6aad54aa603240b8c61c14b4081d17acb0b2d2500d06654d4bd0566f07332f273a9970231bcef6ec66fb30b2feb41b8a1d34ee13f4b9c2090b
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ruby-stats-psm
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 usagewatch_ext
18
+ gem install psm-ruby-stats
19
19
 
20
20
  ```ruby
21
- require 'usagewatch_ext'
22
-
23
- usw = Usagewatch
24
-
25
- usw.uw_diskused
26
- usw.uw_diskused_perc
27
- usw.uw_cpuused
28
- usw.uw_tcpused
29
- usw.uw_udpused
30
- usw.uw_memused
31
- usw.uw_load
32
- usw.uw_bandrx
33
- usw.uw_bandtx
34
- usw.uw_diskioreads
35
- usw.uw_diskiowrites
36
- usw.uw_cputop
37
- usw.uw_memtop
38
- usw.uw_apacheconns
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class RubyStatsPsm
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
  OS = RUBY_PLATFORM
6
6
  end
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.3
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-17 00:00:00.000000000 Z
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