onis 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -1
- data/bin/onis +1 -1
- data/onis.gemspec +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -11,12 +11,15 @@ Onis gives you introspection into object counts of live running ruby process.
|
|
11
11
|
|
12
12
|
$ cd onis/
|
13
13
|
|
14
|
-
$ cat test/stringpwd.rb
|
14
|
+
$ cat test/stringpwd.rb
|
15
15
|
require 'onis'
|
16
16
|
puts Process.pid
|
17
17
|
a = []
|
18
18
|
while true ; a << "foo" ; sleep(0.5) ; end
|
19
19
|
|
20
|
+
$ ruby test/stringpwd.rb &
|
21
|
+
[1] 26584
|
22
|
+
|
20
23
|
$ onis
|
21
24
|
PID COMMAND
|
22
25
|
------------------------------------------------------------
|
@@ -40,6 +43,10 @@ Onis gives you introspection into object counts of live running ruby process.
|
|
40
43
|
|
41
44
|
$ onis -f -c 26584
|
42
45
|
|
46
|
+
## Watch!
|
47
|
+
|
48
|
+
$ onis -w 26584
|
49
|
+
|
43
50
|
## How it works
|
44
51
|
|
45
52
|
1. Onis drops a tempfile named after the pid `onis.<pid>`
|
data/bin/onis
CHANGED
data/onis.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'onis'
|
6
|
-
s.version = '0.1'
|
6
|
+
s.version = '0.1.1'
|
7
7
|
s.date = '2009-10-27'
|
8
8
|
|
9
9
|
s.description = "Live ObjectSpace introspection"
|