istat 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # istat Client
2
+
3
+ It is a client for the istatd service from [bjango](http://bjango.com/iphone/istat/). The Protocol has implementations for
4
+ Mac and [Linux/Solaris/FreeBSD](https://github.com/tiwilliam/istatd). Therefore I implemented a simple client in ruby.
5
+
6
+ ## Installation
7
+
8
+ Just install the gem using:
9
+
10
+ sudo gem install istat
11
+
12
+ ## Usage
13
+
14
+ Connect to an istat server with this sample code:
15
+
16
+ client = Istat::Client.new("example.com", 5109, "secret")
17
+ client.start do |session|
18
+ begin
19
+ response = session.fetch
20
+ p response.cpu
21
+ sleep 1
22
+ end while true
23
+ end
24
+
25
+ ## Contribute
26
+
27
+ Write tests, fork, write issues, ...
28
+
29
+ ## Test
30
+
31
+ If you want to hack on the client, here is the way to start the tests:
32
+
33
+ TEST_SERVER=istat://any:secret@example.com:5109/ rspec spec
34
+
35
+ Replace *secret*, and *example.com* with your code and host.
36
+
37
+ ## License
38
+
39
+ Copyright (c) 2011 Vincent Landgraf
40
+
41
+ Permission is hereby granted, free of charge, to any person obtaining a copy
42
+ of this software and associated documentation files (the "Software"), to deal
43
+ in the Software without restriction, including without limitation the rights
44
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
45
+ copies of the Software, and to permit persons to whom the Software is
46
+ furnished to do so, subject to the following conditions:
47
+
48
+ The above copyright notice and this permission notice shall be included in
49
+ all copies or substantial portions of the Software.
50
+
51
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
52
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
53
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
54
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
55
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
56
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
57
+ THE SOFTWARE.
data/debug.log ADDED
@@ -0,0 +1,181 @@
1
+ # Logfile created on Fri Apr 29 21:49:10 +0200 2011 by logger.rb/22285
2
+ I, [2011-04-29T21:49:10.529100 #369] INFO -- : Connect to ruby-consult.de:5109
3
+ I, [2011-04-29T21:49:10.654023 #369] INFO -- : Close the connection
4
+ I, [2011-04-29T21:49:10.654908 #369] INFO -- : Connect to ruby-consult.de:5109
5
+ I, [2011-04-29T21:49:10.771547 #369] INFO -- : Test the connection
6
+ D, [2011-04-29T21:49:10.772773 #369] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
7
+ D, [2011-04-29T21:49:10.802407 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
8
+ I, [2011-04-29T21:49:10.803325 #369] INFO -- : Close the connection
9
+ I, [2011-04-29T21:49:10.804286 #369] INFO -- : Connect to ruby-consult.de:5109
10
+ I, [2011-04-29T21:49:10.921960 #369] INFO -- : Register using hostname 'cool-macbook.local' and duuid 'f4edac9c17d6a7cd6183c4d43f53eda8'
11
+ D, [2011-04-29T21:49:10.922778 #369] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>f4edac9c17d6a7cd6183c4d43f53eda8</duuid></isr>
12
+ D, [2011-04-29T21:49:10.943239 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr pl="2" ath="1" ss="6" c="28413433" n="28413432"></isr>
13
+ I, [2011-04-29T21:49:10.944164 #369] INFO -- : Close the connection
14
+ I, [2011-04-29T21:49:10.945031 #369] INFO -- : Connect to ruby-consult.de:5109
15
+ I, [2011-04-29T21:49:11.065176 #369] INFO -- : Register using hostname 'cool-macbook.local' and duuid '19be1f6285ae9019254c93a880db7285'
16
+ D, [2011-04-29T21:49:11.066128 #369] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>19be1f6285ae9019254c93a880db7285</duuid></isr>
17
+ D, [2011-04-29T21:49:11.081246 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr pl="2" ath="1" ss="6" c="28413434" n="28413433"></isr>
18
+ I, [2011-04-29T21:49:11.082091 #369] INFO -- : Authenticate using password **********************
19
+ D, [2011-04-29T21:49:11.082180 #369] DEBUG -- : Send: I8rAw1lhkJPMC9W0nJG7hA
20
+ D, [2011-04-29T21:49:11.100520 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
21
+ I, [2011-04-29T21:49:11.101265 #369] INFO -- : Close the connection
22
+ I, [2011-04-29T21:49:11.102179 #369] INFO -- : Connect to ruby-consult.de:5109
23
+ I, [2011-04-29T21:49:11.219427 #369] INFO -- : Test the connection
24
+ D, [2011-04-29T21:49:11.220657 #369] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
25
+ D, [2011-04-29T21:49:11.237146 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
26
+ I, [2011-04-29T21:49:11.237875 #369] INFO -- : Register using hostname 'cool-macbook.local' and duuid '0941141ba57cbf14e5355f94c03699ed'
27
+ D, [2011-04-29T21:49:11.238549 #369] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>0941141ba57cbf14e5355f94c03699ed</duuid></isr>
28
+ D, [2011-04-29T21:49:11.255426 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr pl="2" ath="1" ss="6" c="28413434" n="28413433"></isr>
29
+ I, [2011-04-29T21:49:11.256167 #369] INFO -- : Authenticate using password **********************
30
+ D, [2011-04-29T21:49:11.256227 #369] DEBUG -- : Send: I8rAw1lhkJPMC9W0nJG7hA
31
+ D, [2011-04-29T21:49:11.274819 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
32
+ I, [2011-04-29T21:49:11.275779 #369] INFO -- : Close the connection
33
+ I, [2011-04-29T21:49:11.276241 #369] INFO -- : Connect to ruby-consult.de:5109
34
+ I, [2011-04-29T21:49:11.391530 #369] INFO -- : Test the connection
35
+ D, [2011-04-29T21:49:11.392245 #369] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
36
+ D, [2011-04-29T21:49:11.409162 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
37
+ I, [2011-04-29T21:49:11.409812 #369] INFO -- : Register using hostname 'cool-macbook.local' and duuid '5c7dc4e1c89e0ddbf592331701bc2cd3'
38
+ D, [2011-04-29T21:49:11.410474 #369] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>5c7dc4e1c89e0ddbf592331701bc2cd3</duuid></isr>
39
+ D, [2011-04-29T21:49:11.431586 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr pl="2" ath="1" ss="6" c="28413434" n="28413433"></isr>
40
+ I, [2011-04-29T21:49:11.432307 #369] INFO -- : Authenticate using password **********************
41
+ D, [2011-04-29T21:49:11.432371 #369] DEBUG -- : Send: I8rAw1lhkJPMC9W0nJG7hA
42
+ D, [2011-04-29T21:49:11.455124 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
43
+ I, [2011-04-29T21:49:11.455896 #369] INFO -- : Fetch measurements with request_id 1
44
+ D, [2011-04-29T21:49:11.457413 #369] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><rid>1</rid><c>-1</c><n>-1</n><m>-1</m><lo>-1</lo><t>-1</t><f>-1</f><u>-1</u><d>-1</d></isr>
45
+ D, [2011-04-29T21:49:11.477458 #369] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ds="0" ts="0" fs="0" rid="1"><CPU><c id="-1" u="0" s="0" n="0"></c></CPU><NET if="1"><n id="-1" d="4955607" u="244769112" t="1304106551"></n></NET><MEM w="26705" a="28238" i="11725" f="7307" t="73976" su="3" st="36861" pi="0" po="0"></MEM><LOAD one="0" fv="0" ff="0"></LOAD><UPT u="28413433"></UPT><DISKS><d n="/" uuid="/dev/vzfs" f="9226" p="39.9325"></d></DISKS></isr>
46
+ I, [2011-04-29T21:49:11.485200 #369] INFO -- : Close the connection
47
+ I, [2011-04-29T21:49:36.781147 #374] INFO -- : Connect to localhost:5109
48
+ I, [2011-04-29T21:49:36.782993 #374] INFO -- : Close the connection
49
+ I, [2011-04-29T21:49:36.783627 #374] INFO -- : Connect to localhost:5109
50
+ I, [2011-04-29T21:49:36.784692 #374] INFO -- : Test the connection
51
+ D, [2011-04-29T21:49:36.785619 #374] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
52
+ D, [2011-04-29T21:49:36.835797 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
53
+ I, [2011-04-29T21:49:36.836709 #374] INFO -- : Close the connection
54
+ I, [2011-04-29T21:49:36.837707 #374] INFO -- : Connect to localhost:5109
55
+ I, [2011-04-29T21:49:36.839703 #374] INFO -- : Register using hostname 'cool-macbook.local' and duuid 'af6e30d3e2c36edd21ccfb8161106c65'
56
+ D, [2011-04-29T21:49:36.840566 #374] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>af6e30d3e2c36edd21ccfb8161106c65</duuid></isr>
57
+ D, [2011-04-29T21:49:36.846531 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ath="1" ss="1" c="31515" n="31514"></isr>
58
+ I, [2011-04-29T21:49:36.847314 #374] INFO -- : Close the connection
59
+ I, [2011-04-29T21:49:36.848445 #374] INFO -- : Connect to localhost:5109
60
+ I, [2011-04-29T21:49:36.849728 #374] INFO -- : Register using hostname 'cool-macbook.local' and duuid 'fd6844c89b4f3b4c5ebd24b573bd90fd'
61
+ D, [2011-04-29T21:49:36.850635 #374] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>fd6844c89b4f3b4c5ebd24b573bd90fd</duuid></isr>
62
+ D, [2011-04-29T21:49:36.856940 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ath="1" ss="1" c="31515" n="31514"></isr>
63
+ I, [2011-04-29T21:49:36.857981 #374] INFO -- : Authenticate using password *****
64
+ D, [2011-04-29T21:49:36.858063 #374] DEBUG -- : Send: 10946
65
+ D, [2011-04-29T21:49:36.860488 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
66
+ I, [2011-04-29T21:49:36.861100 #374] INFO -- : Close the connection
67
+ I, [2011-04-29T21:49:36.862413 #374] INFO -- : Connect to localhost:5109
68
+ I, [2011-04-29T21:49:36.863663 #374] INFO -- : Test the connection
69
+ D, [2011-04-29T21:49:36.864425 #374] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
70
+ D, [2011-04-29T21:49:36.875006 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
71
+ I, [2011-04-29T21:49:36.875767 #374] INFO -- : Register using hostname 'cool-macbook.local' and duuid '880e73d9d46c10de4a5d8e1dd17d7fe1'
72
+ D, [2011-04-29T21:49:36.876654 #374] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>880e73d9d46c10de4a5d8e1dd17d7fe1</duuid></isr>
73
+ D, [2011-04-29T21:49:36.879009 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ath="1" ss="1" c="31515" n="31514"></isr>
74
+ I, [2011-04-29T21:49:36.879702 #374] INFO -- : Authenticate using password *****
75
+ D, [2011-04-29T21:49:36.879833 #374] DEBUG -- : Send: 10946
76
+ D, [2011-04-29T21:49:36.887746 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
77
+ I, [2011-04-29T21:49:36.888532 #374] INFO -- : Close the connection
78
+ I, [2011-04-29T21:49:36.889720 #374] INFO -- : Connect to localhost:5109
79
+ I, [2011-04-29T21:49:36.891041 #374] INFO -- : Test the connection
80
+ D, [2011-04-29T21:49:36.891732 #374] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
81
+ D, [2011-04-29T21:49:36.899073 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
82
+ I, [2011-04-29T21:49:36.899706 #374] INFO -- : Register using hostname 'cool-macbook.local' and duuid 'e7d4d2d5db2e9e6649e85e49f001946e'
83
+ D, [2011-04-29T21:49:36.900452 #374] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>e7d4d2d5db2e9e6649e85e49f001946e</duuid></isr>
84
+ D, [2011-04-29T21:49:36.902394 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ath="1" ss="1" c="31515" n="31514"></isr>
85
+ I, [2011-04-29T21:49:36.903001 #374] INFO -- : Authenticate using password *****
86
+ D, [2011-04-29T21:49:36.903084 #374] DEBUG -- : Send: 10946
87
+ D, [2011-04-29T21:49:36.905003 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
88
+ I, [2011-04-29T21:49:36.906409 #374] INFO -- : Fetch measurements with request_id 1
89
+ D, [2011-04-29T21:49:36.908073 #374] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><rid>1</rid><c>-1</c><n>-1</n><m>-1</m><lo>-1</lo><t>-1</t><f>-1</f><u>-1</u><d>-1</d></isr>
90
+ D, [2011-04-29T21:49:36.911427 #374] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ds="0" ts="0" fs="0" rid="1"><CPU><c id="-1" u="31" s="9" n="0"></c></CPU><MEM w="611" a="2289" i="876" f="61" t="3839" su="1573" st="2048" pi="665238" po="98481"></MEM><UPT u="957547"></UPT><LOAD one="0.28" fv="0.34" ff="0.32"></LOAD><DISKS><d uuid="B0B52F7E-45C2-3DE9-BE25-DF09F587C0B9" f="20690" p="95"></d><d uuid="43943046-BEF3-4200-9221-33709E8BCDCE" f="35326" p="32"></d></DISKS><TEMPS><t i="5" t="64"></t><t i="4" t="31"></t><t i="0" t="31"></t><t i="2" t="30"></t><t i="6" t="58"></t><t i="1" t="52"></t><t i="3" t="48"></t></TEMPS><FANS><f i="0" s="1999"></f></FANS><NET if="0"><n id="-1" d="20206514415" u="18542095343" t="1304106576.628326"></n></NET></isr>
91
+ I, [2011-04-29T21:49:36.921319 #374] INFO -- : Close the connection
92
+ I, [2011-04-29T21:54:34.926811 #475] INFO -- : Connect to ruby-consult.de:5109
93
+ I, [2011-04-29T21:54:35.072437 #475] INFO -- : Close the connection
94
+ I, [2011-04-29T21:54:35.073183 #475] INFO -- : Connect to ruby-consult.de:5109
95
+ I, [2011-04-29T21:54:35.189566 #475] INFO -- : Test the connection
96
+ D, [2011-04-29T21:54:35.217910 #475] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
97
+ D, [2011-04-29T21:54:35.233202 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
98
+ I, [2011-04-29T21:54:35.234646 #475] INFO -- : Close the connection
99
+ I, [2011-04-29T21:54:35.235336 #475] INFO -- : Connect to ruby-consult.de:5109
100
+ I, [2011-04-29T21:54:35.352144 #475] INFO -- : Register using hostname 'cool-macbook.local' and duuid '9cc89c769d4d2b8b25ea72d09d87947c'
101
+ D, [2011-04-29T21:54:35.353661 #475] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>9cc89c769d4d2b8b25ea72d09d87947c</duuid></isr>
102
+ D, [2011-04-29T21:54:35.373840 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr pl="2" ath="1" ss="6" c="28413758" n="28413757"></isr>
103
+ I, [2011-04-29T21:54:35.375077 #475] INFO -- : Close the connection
104
+ I, [2011-04-29T21:54:35.375834 #475] INFO -- : Connect to ruby-consult.de:5109
105
+ I, [2011-04-29T21:54:35.494481 #475] INFO -- : Register using hostname 'cool-macbook.local' and duuid '5049fdbf2802fd1064abd23341ae8726'
106
+ D, [2011-04-29T21:54:35.496014 #475] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>5049fdbf2802fd1064abd23341ae8726</duuid></isr>
107
+ D, [2011-04-29T21:54:35.515928 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr pl="2" ath="1" ss="6" c="28413758" n="28413757"></isr>
108
+ I, [2011-04-29T21:54:35.517262 #475] INFO -- : Authenticate using password **********************
109
+ D, [2011-04-29T21:54:35.517361 #475] DEBUG -- : Send: I8rAw1lhkJPMC9W0nJG7hA
110
+ D, [2011-04-29T21:54:35.533177 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
111
+ I, [2011-04-29T21:54:35.534634 #475] INFO -- : Close the connection
112
+ I, [2011-04-29T21:54:35.535591 #475] INFO -- : Connect to ruby-consult.de:5109
113
+ I, [2011-04-29T21:54:35.655629 #475] INFO -- : Test the connection
114
+ D, [2011-04-29T21:54:35.656922 #475] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
115
+ D, [2011-04-29T21:54:35.672533 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
116
+ I, [2011-04-29T21:54:35.673758 #475] INFO -- : Register using hostname 'cool-macbook.local' and duuid '79f6a4340d260e33c304d235b063df30'
117
+ D, [2011-04-29T21:54:35.676005 #475] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>79f6a4340d260e33c304d235b063df30</duuid></isr>
118
+ D, [2011-04-29T21:54:35.696505 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr pl="2" ath="1" ss="6" c="28413758" n="28413757"></isr>
119
+ I, [2011-04-29T21:54:35.698038 #475] INFO -- : Authenticate using password **********************
120
+ D, [2011-04-29T21:54:35.698184 #475] DEBUG -- : Send: I8rAw1lhkJPMC9W0nJG7hA
121
+ D, [2011-04-29T21:54:35.713717 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
122
+ I, [2011-04-29T21:54:35.714988 #475] INFO -- : Close the connection
123
+ I, [2011-04-29T21:54:35.715397 #475] INFO -- : Connect to ruby-consult.de:5109
124
+ I, [2011-04-29T21:54:35.830945 #475] INFO -- : Test the connection
125
+ D, [2011-04-29T21:54:35.832327 #475] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
126
+ D, [2011-04-29T21:54:35.848252 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
127
+ I, [2011-04-29T21:54:35.849609 #475] INFO -- : Register using hostname 'cool-macbook.local' and duuid 'f9bcce110735f3c3c3eb873519372fa9'
128
+ D, [2011-04-29T21:54:35.850736 #475] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>f9bcce110735f3c3c3eb873519372fa9</duuid></isr>
129
+ D, [2011-04-29T21:54:35.871618 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr pl="2" ath="1" ss="6" c="28413758" n="28413757"></isr>
130
+ I, [2011-04-29T21:54:35.872979 #475] INFO -- : Authenticate using password **********************
131
+ D, [2011-04-29T21:54:35.873065 #475] DEBUG -- : Send: I8rAw1lhkJPMC9W0nJG7hA
132
+ D, [2011-04-29T21:54:35.888561 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
133
+ I, [2011-04-29T21:54:35.889673 #475] INFO -- : Fetch measurements with request_id 1
134
+ D, [2011-04-29T21:54:35.891370 #475] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><rid>1</rid><c>-1</c><n>-1</n><m>-1</m><lo>-1</lo><t>-1</t><f>-1</f><u>-1</u><d>-1</d></isr>
135
+ D, [2011-04-29T21:54:35.911368 #475] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ds="0" ts="0" fs="0" rid="1"><CPU><c id="-1" u="0" s="0" n="0"></c></CPU><NET if="1"><n id="-1" d="4958667" u="244771637" t="1304106875"></n></NET><MEM w="26711" a="28246" i="11738" f="7287" t="73983" su="3" st="36861" pi="0" po="0"></MEM><LOAD one="0" fv="0" ff="0"></LOAD><UPT u="28413757"></UPT><DISKS><d n="/" uuid="/dev/vzfs" f="9226" p="39.9325"></d></DISKS></isr>
136
+ I, [2011-04-29T21:54:35.925195 #475] INFO -- : Close the connection
137
+ I, [2011-04-29T21:54:46.630571 #479] INFO -- : Connect to localhost:5109
138
+ I, [2011-04-29T21:54:46.636893 #479] INFO -- : Close the connection
139
+ I, [2011-04-29T21:54:46.637888 #479] INFO -- : Connect to localhost:5109
140
+ I, [2011-04-29T21:54:46.638860 #479] INFO -- : Test the connection
141
+ D, [2011-04-29T21:54:46.640850 #479] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
142
+ D, [2011-04-29T21:54:46.688453 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
143
+ I, [2011-04-29T21:54:46.689943 #479] INFO -- : Close the connection
144
+ I, [2011-04-29T21:54:46.692388 #479] INFO -- : Connect to localhost:5109
145
+ I, [2011-04-29T21:54:46.693733 #479] INFO -- : Register using hostname 'cool-macbook.local' and duuid '4d36f6822b28644e2fc9266448b496e3'
146
+ D, [2011-04-29T21:54:46.695094 #479] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>4d36f6822b28644e2fc9266448b496e3</duuid></isr>
147
+ D, [2011-04-29T21:54:46.700183 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ath="1" ss="1" c="31825" n="31824"></isr>
148
+ I, [2011-04-29T21:54:46.702366 #479] INFO -- : Close the connection
149
+ I, [2011-04-29T21:54:46.703609 #479] INFO -- : Connect to localhost:5109
150
+ I, [2011-04-29T21:54:46.704706 #479] INFO -- : Register using hostname 'cool-macbook.local' and duuid '35426f9690947f10d08e5ee0645ca47c'
151
+ D, [2011-04-29T21:54:46.707316 #479] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>35426f9690947f10d08e5ee0645ca47c</duuid></isr>
152
+ D, [2011-04-29T21:54:46.711466 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ath="1" ss="1" c="31825" n="31824"></isr>
153
+ I, [2011-04-29T21:54:46.713024 #479] INFO -- : Authenticate using password *****
154
+ D, [2011-04-29T21:54:46.713112 #479] DEBUG -- : Send: 10946
155
+ D, [2011-04-29T21:54:46.716391 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
156
+ I, [2011-04-29T21:54:46.717818 #479] INFO -- : Close the connection
157
+ I, [2011-04-29T21:54:46.721287 #479] INFO -- : Connect to localhost:5109
158
+ I, [2011-04-29T21:54:46.722646 #479] INFO -- : Test the connection
159
+ D, [2011-04-29T21:54:46.723888 #479] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
160
+ D, [2011-04-29T21:54:46.758082 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
161
+ I, [2011-04-29T21:54:46.759493 #479] INFO -- : Register using hostname 'cool-macbook.local' and duuid 'e0c72bdf072a232d56fa041752b4c2c8'
162
+ D, [2011-04-29T21:54:46.761302 #479] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>e0c72bdf072a232d56fa041752b4c2c8</duuid></isr>
163
+ D, [2011-04-29T21:54:46.764712 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ath="1" ss="1" c="31825" n="31824"></isr>
164
+ I, [2011-04-29T21:54:46.765924 #479] INFO -- : Authenticate using password *****
165
+ D, [2011-04-29T21:54:46.765997 #479] DEBUG -- : Send: 10946
166
+ D, [2011-04-29T21:54:46.768634 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
167
+ I, [2011-04-29T21:54:46.769808 #479] INFO -- : Close the connection
168
+ I, [2011-04-29T21:54:46.772723 #479] INFO -- : Connect to localhost:5109
169
+ I, [2011-04-29T21:54:46.774163 #479] INFO -- : Test the connection
170
+ D, [2011-04-29T21:54:46.775647 #479] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><conntest/></isr>
171
+ D, [2011-04-29T21:54:46.781223 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr></isr>
172
+ I, [2011-04-29T21:54:46.782619 #479] INFO -- : Register using hostname 'cool-macbook.local' and duuid '9e05b67e107cd6b36e62a864675b338e'
173
+ D, [2011-04-29T21:54:46.783812 #479] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><h>cool-macbook.local</h><duuid>9e05b67e107cd6b36e62a864675b338e</duuid></isr>
174
+ D, [2011-04-29T21:54:46.786214 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ath="1" ss="1" c="31825" n="31824"></isr>
175
+ I, [2011-04-29T21:54:46.787743 #479] INFO -- : Authenticate using password *****
176
+ D, [2011-04-29T21:54:46.787842 #479] DEBUG -- : Send: 10946
177
+ D, [2011-04-29T21:54:46.809556 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ready="1"></isr>
178
+ I, [2011-04-29T21:54:46.810723 #479] INFO -- : Fetch measurements with request_id 1
179
+ D, [2011-04-29T21:54:46.818153 #479] DEBUG -- : Send: <?xml version='1.0' encoding='UTF-8'?><isr><rid>1</rid><c>-1</c><n>-1</n><m>-1</m><lo>-1</lo><t>-1</t><f>-1</f><u>-1</u><d>-1</d></isr>
180
+ D, [2011-04-29T21:54:46.820750 #479] DEBUG -- : Recieved: <?xml version="1.0" encoding="UTF-8"?><isr ds="0" ts="0" fs="0" rid="1"><CPU><c id="-1" u="31" s="12" n="0"></c></CPU><MEM w="604" a="2160" i="1051" f="21" t="3838" su="1573" st="2048" pi="666859" po="98481"></MEM><UPT u="957857"></UPT><LOAD one="0.79" fv="0.52" ff="0.40"></LOAD><DISKS><d uuid="B0B52F7E-45C2-3DE9-BE25-DF09F587C0B9" f="20690" p="95"></d><d uuid="43943046-BEF3-4200-9221-33709E8BCDCE" f="35326" p="32"></d></DISKS><TEMPS><t i="5" t="64"></t><t i="4" t="31"></t><t i="0" t="31"></t><t i="2" t="30"></t><t i="6" t="61"></t><t i="1" t="53"></t><t i="3" t="49"></t></TEMPS><FANS><f i="0" s="1999"></f></FANS><NET if="0"><n id="-1" d="20206749162" u="18542247916" t="1304106886.617665"></n></NET></isr>
181
+ I, [2011-04-29T21:54:46.836736 #479] INFO -- : Close the connection
data/doc/_index.html ADDED
@@ -0,0 +1,82 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>Documentation by YARD 0.6.8</title>
7
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
8
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+
10
+ <script type="text/javascript" charset="utf-8">
11
+ relpath = '';
12
+ if (relpath != '') relpath += '/';
13
+ </script>
14
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
15
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
16
+
17
+ </head>
18
+ <body>
19
+ <script type="text/javascript" charset="utf-8">
20
+ if (window.top.frames.main) document.body.className = 'frames';
21
+ </script>
22
+
23
+ <div id="header">
24
+ <div id="menu">
25
+
26
+
27
+ <span class="title"></span>
28
+
29
+
30
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
31
+ </div>
32
+
33
+ <div id="search">
34
+ <a id="class_list_link" href="#">Class List</a>
35
+ <a id="method_list_link" href="#">Method List</a>
36
+ <a id ="file_list_link" href="#">File List</a>
37
+ </div>
38
+
39
+ <div class="clear"></div>
40
+ </div>
41
+
42
+ <iframe id="search_frame"></iframe>
43
+
44
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.6.8</h1>
45
+ <div id="listing">
46
+ <h1 class="alphaindex">Alphabetic Index</h1>
47
+
48
+ <h2>File Listing</h2>
49
+ <ul id="files">
50
+
51
+
52
+ <li class="r1"><a href="index.html" title="README">README</a></li>
53
+
54
+
55
+ </ul>
56
+
57
+ <div class="clear"></div>
58
+ <h2>Namespace Listing A-Z</h2>
59
+
60
+
61
+
62
+
63
+ <table>
64
+ <tr>
65
+ <td valign='top' width="33%">
66
+
67
+ </td>
68
+ </tr>
69
+ </table>
70
+
71
+ </div>
72
+
73
+ </div>
74
+
75
+ <div id="footer">
76
+ Generated on Fri Apr 29 23:16:06 2011 by
77
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
78
+ 0.6.8 (ruby-1.8.7).
79
+ </div>
80
+
81
+ </body>
82
+ </html>
@@ -0,0 +1,36 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
8
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
9
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
10
+ <base id="base_target" target="_parent" />
11
+ </head>
12
+ <body>
13
+ <script type="text/javascript" charset="utf-8">
14
+ if (window.top.frames.main) {
15
+ document.getElementById('base_target').target = 'main';
16
+ document.body.className = 'frames';
17
+ }
18
+ </script>
19
+ <div id="content">
20
+ <h1 id="full_list_header">Class List</h1>
21
+ <div id="nav">
22
+ <a target="_self" href="class_list.html">Classes</a> |
23
+ <a target="_self" href="method_list.html">Methods</a> |
24
+ <a target="_self" href="file_list.html">Files</a>
25
+ </div>
26
+ <div id="search">Search: <input type="text" /></div>
27
+
28
+ <ul id="full_list" class="class">
29
+ <li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
30
+
31
+
32
+ </ul>
33
+ </div>
34
+ </body>
35
+ </html>
36
+
@@ -0,0 +1 @@
1
+ /* Override this file with custom rules */
@@ -0,0 +1,53 @@
1
+ body {
2
+ margin: 0;
3
+ font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
+ font-size: 13px;
5
+ height: 101%;
6
+ overflow-x: hidden;
7
+ }
8
+
9
+ h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
10
+ .clear { clear: both; }
11
+ #search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
12
+ #content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
13
+ #full_list { padding: 0; list-style: none; margin-left: 0; }
14
+ #full_list ul { padding: 0; }
15
+ #full_list li { padding: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; }
16
+ #noresults { padding: 7px 12px; }
17
+ #content.insearch #noresults { margin-left: 7px; }
18
+ ul.collapsed ul, ul.collapsed li { display: none; }
19
+ li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
20
+ li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
21
+ li { color: #888; cursor: pointer; }
22
+ li.deprecated { text-decoration: line-through; font-style: italic; }
23
+ li.r1 { background: #f0f0f0; }
24
+ li.r2 { background: #fafafa; }
25
+ li:hover { background: #ddd; }
26
+ li small:before { content: "("; }
27
+ li small:after { content: ")"; }
28
+ li small.search_info { display: none; }
29
+ a:link, a:visited { text-decoration: none; color: #05a; }
30
+ li.clicked { background: #05a; color: #ccc; }
31
+ li.clicked a:link, li.clicked a:visited { color: #eee; }
32
+ li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
33
+ li.collapsed.clicked a.toggle { background-position: top right; }
34
+ #search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
35
+ #nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
36
+ #nav a:link, #nav a:visited { color: #358; }
37
+ #nav a:hover { background: transparent; color: #5af; }
38
+
39
+ .frames #content h1 { margin-top: 0; }
40
+ .frames li { white-space: nowrap; cursor: normal; }
41
+ .frames li small { display: block; font-size: 0.8em; }
42
+ .frames li small:before { content: ""; }
43
+ .frames li small:after { content: ""; }
44
+ .frames li small.search_info { display: none; }
45
+ .frames #search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
46
+ .frames #content.insearch #search { background-position: center right; }
47
+ .frames #search input { width: 110px; }
48
+ .frames #nav { display: block; }
49
+
50
+ #full_list.insearch li { display: none; }
51
+ #full_list.insearch li.found { display: list-item; padding-left: 10px; }
52
+ #full_list.insearch li a.toggle { display: none; }
53
+ #full_list.insearch li small.search_info { display: block; }