memory_usage 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/memory_usage +12 -0
- data/{memory_usage → lib/memory_usage.rb} +0 -11
- metadata +9 -30
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -3
data/bin/memory_usage
ADDED
@@ -1,4 +1,3 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
1
|
|
3
2
|
#Class which has function for gathering memory stats.
|
4
3
|
# Should work on unix/linux and OS X
|
@@ -61,13 +60,3 @@ class MemoryUsage
|
|
61
60
|
end
|
62
61
|
end
|
63
62
|
|
64
|
-
#Run example only if called directly
|
65
|
-
#ie not if included/required for class
|
66
|
-
if $0 == __FILE__
|
67
|
-
a = MemoryUsage.new
|
68
|
-
a.report
|
69
|
-
|
70
|
-
#a.refresh
|
71
|
-
#a.report
|
72
|
-
#puts a.total
|
73
|
-
end
|
metadata
CHANGED
@@ -1,43 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: memory_usage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Morgan Prior
|
14
14
|
autorequire:
|
15
|
-
bindir:
|
16
|
-
cert_chain:
|
17
|
-
- |
|
18
|
-
-----BEGIN CERTIFICATE-----
|
19
|
-
MIIDYDCCAkigAwIBAgIBADANBgkqhkiG9w0BAQUFADBWMQ8wDQYDVQQDDAZtb3Jn
|
20
|
-
YW4xGzAZBgoJkiaJk/IsZAEZFgthbWFyYXMtdGVjaDESMBAGCgmSJomT8ixkARkW
|
21
|
-
AmNvMRIwEAYKCZImiZPyLGQBGRYCdWswHh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N9JtIH85Fr3jHvIXO6a4g05UWbtt7FaLSMm00KBRKETv7Pig8MU6+l9rKkr
|
37
|
-
S15HRQ==
|
38
|
-
-----END CERTIFICATE-----
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
39
17
|
|
40
|
-
date: 2010-06-
|
18
|
+
date: 2010-06-18 00:00:00 +01:00
|
41
19
|
default_executable:
|
42
20
|
dependencies: []
|
43
21
|
|
@@ -54,9 +32,10 @@ extensions: []
|
|
54
32
|
extra_rdoc_files: []
|
55
33
|
|
56
34
|
files:
|
57
|
-
-
|
35
|
+
- bin/memory_usage
|
36
|
+
- lib/memory_usage.rb
|
58
37
|
has_rdoc: true
|
59
|
-
homepage:
|
38
|
+
homepage: http://amaras-tech.co.uk/software/memory_usage
|
60
39
|
licenses: []
|
61
40
|
|
62
41
|
post_install_message: To use 'memory_usage' as a standalone application your gems folder must be on your path
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED