titan 0.3.0 → 0.4.0

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.
@@ -5,8 +5,6 @@ module Titan
5
5
  # that gets created automatically.
6
6
  #
7
7
  class Thread
8
- TITAN_DIRECTORY = File.expand_path('.titan_threads', '~')
9
-
10
8
  attr_accessor :id, :pid
11
9
 
12
10
  @@threads = {}
@@ -53,14 +51,30 @@ module Titan
53
51
  # Returns the file where its pid gets saved
54
52
  #
55
53
  def pid_file
56
- File.expand_path(@id.to_s + ".pid", Titan::Thread::TITAN_DIRECTORY)
54
+ File.expand_path(@id.to_s + ".pid", TITAN_DIRECTORY)
55
+ end
56
+
57
+ #
58
+ # Returns the used memory
59
+ #
60
+ def used_memory
61
+ used_memory = Titan::System.ps('rss', @pid)
62
+ used_memory ? used_memory.to_i : nil
63
+ end
64
+
65
+ #
66
+ # Returns the used CPU
67
+ #
68
+ def used_cpu
69
+ used_cpu = Titan::System.ps('%cpu', @pid)
70
+ used_cpu ? used_cpu.to_f : nil
57
71
  end
58
72
 
59
73
  #
60
74
  # Opens the pid file and save its pid in it
61
75
  #
62
76
  def save
63
- Titan::Thread.check_filesystem
77
+ Titan::System.check_filesystem
64
78
  File.open(pid_file, 'w') { |file| file.write(@pid) }
65
79
  @@threads[@id] = self
66
80
  end
@@ -107,8 +121,8 @@ module Titan
107
121
  # Loads threads from pid files inside the TITAN_DIRECTORY
108
122
  #
109
123
  def load_threads
110
- check_filesystem
111
- pid_files.each{ |pid_file|
124
+ Titan::System.check_filesystem
125
+ Titan::System.pid_files.each{ |pid_file|
112
126
  thread = Titan::Thread.new(:id => File.basename(pid_file, ".pid"))
113
127
  thread.pid = File.read(File.expand_path(pid_file, TITAN_DIRECTORY)).to_i
114
128
  @@threads[thread.id] = thread
@@ -119,8 +133,8 @@ module Titan
119
133
  # Saves threads to pid files inside the TITAN_DIRECTORY
120
134
  #
121
135
  def save_threads
122
- pid_files.each { |pid_file| File.delete(File.expand_path(pid_file, TITAN_DIRECTORY)) }
123
- @@threads.each_value{ |thread| thread.save }
136
+ Titan::System.pid_files.each { |pid_file| File.delete(File.expand_path(pid_file, TITAN_DIRECTORY)) }
137
+ @@threads.each_value { |thread| thread.save }
124
138
  end
125
139
 
126
140
  #
@@ -131,20 +145,6 @@ module Titan
131
145
  save_threads
132
146
  @@threads
133
147
  end
134
-
135
- #
136
- # Checks the file system for neccessary directories and permissions
137
- #
138
- def check_filesystem
139
- Dir.mkdir(TITAN_DIRECTORY) unless File.directory?(TITAN_DIRECTORY)
140
- end
141
-
142
- #
143
- # Returns a list of all pid files available in the TITAN_DIRECTORY
144
- #
145
- def pid_files
146
- Dir.entries(TITAN_DIRECTORY) - [".", ".."]
147
- end
148
148
  end
149
149
  end
150
150
  end
@@ -124,174 +124,183 @@ x
124
124
  6
125
125
  Thread
126
126
  i
127
- 169
127
+ 178
128
128
  5
129
129
  66
130
- 65
130
+ 5
131
131
  7
132
132
  0
133
- 45
133
+ 7
134
134
  1
135
+ 47
136
+ 49
135
137
  2
138
+ 2
139
+ 15
140
+ 5
136
141
  7
137
142
  3
138
- 64
139
- 7
143
+ 44
144
+ 43
140
145
  4
141
- 64
146
+ 78
142
147
  49
143
148
  5
144
- 2
149
+ 1
145
150
  49
146
151
  6
147
152
  2
148
153
  15
149
- 5
154
+ 99
150
155
  7
151
156
  7
152
157
  7
153
158
  8
154
- 47
159
+ 65
160
+ 67
155
161
  49
156
162
  9
157
- 2
163
+ 0
164
+ 49
165
+ 10
166
+ 4
158
167
  15
159
- 5
168
+ 99
160
169
  7
161
- 10
162
- 44
163
- 43
164
170
  11
165
- 78
166
- 49
171
+ 7
167
172
  12
168
- 1
173
+ 65
174
+ 67
169
175
  49
170
- 13
171
- 2
176
+ 9
177
+ 0
178
+ 49
179
+ 10
180
+ 4
172
181
  15
173
182
  99
174
183
  7
175
- 14
184
+ 13
176
185
  7
177
- 15
186
+ 14
178
187
  65
179
188
  67
180
189
  49
181
- 16
190
+ 9
182
191
  0
183
192
  49
184
- 17
193
+ 10
185
194
  4
186
195
  15
187
196
  99
188
197
  7
189
- 18
198
+ 15
190
199
  7
191
- 19
200
+ 16
192
201
  65
193
202
  67
194
203
  49
195
- 16
204
+ 9
196
205
  0
197
206
  49
198
- 17
207
+ 10
199
208
  4
200
209
  15
201
210
  99
202
211
  7
203
- 20
212
+ 17
204
213
  7
205
- 21
214
+ 18
206
215
  65
207
216
  67
208
217
  49
209
- 16
218
+ 9
210
219
  0
211
220
  49
212
- 17
221
+ 10
213
222
  4
214
223
  15
215
224
  99
216
225
  7
217
- 22
226
+ 19
218
227
  7
219
- 23
228
+ 20
220
229
  65
221
230
  67
222
231
  49
223
- 16
232
+ 9
224
233
  0
225
234
  49
226
- 17
235
+ 10
227
236
  4
228
237
  15
229
238
  99
230
239
  7
231
- 24
240
+ 21
232
241
  7
233
- 25
242
+ 22
234
243
  65
235
244
  67
236
245
  49
237
- 16
246
+ 9
238
247
  0
239
248
  49
240
- 17
249
+ 10
241
250
  4
242
251
  15
243
252
  99
244
253
  7
245
- 26
254
+ 23
246
255
  7
247
- 27
256
+ 24
248
257
  65
249
258
  67
250
259
  49
251
- 16
260
+ 9
252
261
  0
253
262
  49
254
- 17
263
+ 10
255
264
  4
256
265
  15
257
266
  99
258
267
  7
259
- 28
268
+ 25
260
269
  7
261
- 29
270
+ 26
262
271
  65
263
272
  67
264
273
  49
265
- 16
274
+ 9
266
275
  0
267
276
  49
268
- 17
277
+ 10
269
278
  4
270
279
  15
271
280
  5
272
281
  99
273
282
  12
274
283
  49
275
- 30
284
+ 27
276
285
  1
277
286
  13
278
287
  99
279
288
  12
280
289
  7
281
- 31
290
+ 28
282
291
  12
283
292
  7
284
- 32
293
+ 29
285
294
  12
286
295
  65
287
296
  12
288
297
  49
289
- 33
298
+ 30
290
299
  4
291
300
  15
292
301
  54
293
302
  50
294
- 31
303
+ 28
295
304
  0
296
305
  11
297
306
  I
@@ -304,26 +313,7 @@ I
304
313
  0
305
314
  n
306
315
  p
307
- 34
308
- x
309
- 15
310
- TITAN_DIRECTORY
311
- x
312
- 4
313
- File
314
- n
315
- s
316
- 14
317
- .titan_threads
318
- s
319
- 1
320
- ~
321
- x
322
- 11
323
- expand_path
324
- x
325
- 9
326
- const_set
316
+ 31
327
317
  x
328
318
  2
329
319
  id
@@ -469,27 +459,27 @@ p
469
459
  I
470
460
  0
471
461
  I
472
- 11
462
+ f
473
463
  I
474
464
  12
475
465
  I
476
- 12
466
+ 10
477
467
  I
478
468
  23
479
469
  I
480
- 13
470
+ 11
481
471
  I
482
472
  27
483
473
  I
484
- 14
474
+ 12
485
475
  I
486
476
  2c
487
477
  I
488
- 15
478
+ 13
489
479
  I
490
480
  3d
491
481
  I
492
- 16
482
+ 14
493
483
  I
494
484
  3f
495
485
  x
@@ -562,11 +552,11 @@ p
562
552
  I
563
553
  0
564
554
  I
565
- 1c
555
+ 1a
566
556
  I
567
557
  0
568
558
  I
569
- 1d
559
+ 1b
570
560
  I
571
561
  c
572
562
  x
@@ -675,23 +665,23 @@ p
675
665
  I
676
666
  0
677
667
  I
678
- 23
668
+ 21
679
669
  I
680
670
  0
681
671
  I
682
- 24
672
+ 22
683
673
  I
684
674
  10
685
675
  I
686
- 25
676
+ 23
687
677
  I
688
678
  19
689
679
  I
690
- 26
680
+ 24
691
681
  I
692
682
  28
693
683
  I
694
- 27
684
+ 25
695
685
  I
696
686
  35
697
687
  x
@@ -795,23 +785,23 @@ p
795
785
  I
796
786
  0
797
787
  I
798
- 2d
788
+ 2b
799
789
  I
800
790
  0
801
791
  I
802
- 2e
792
+ 2c
803
793
  I
804
794
  c
805
795
  I
806
- 2f
796
+ 2d
807
797
  I
808
798
  11
809
799
  I
810
- 30
800
+ 2e
811
801
  I
812
802
  22
813
803
  I
814
- 31
804
+ 2f
815
805
  I
816
806
  2b
817
807
  x
@@ -833,7 +823,7 @@ x
833
823
  8
834
824
  pid_file
835
825
  i
836
- 24
826
+ 20
837
827
  45
838
828
  0
839
829
  1
@@ -850,12 +840,8 @@ i
850
840
  45
851
841
  6
852
842
  7
853
- 43
854
- 8
855
- 43
856
- 9
857
843
  49
858
- 10
844
+ 8
859
845
  2
860
846
  11
861
847
  I
@@ -868,7 +854,7 @@ I
868
854
  0
869
855
  n
870
856
  p
871
- 11
857
+ 9
872
858
  x
873
859
  4
874
860
  File
@@ -886,15 +872,9 @@ x
886
872
  1
887
873
  +
888
874
  x
889
- 5
890
- Titan
891
- n
892
- x
893
- 6
894
- Thread
895
- x
896
875
  15
897
876
  TITAN_DIRECTORY
877
+ n
898
878
  x
899
879
  11
900
880
  expand_path
@@ -903,103 +883,293 @@ p
903
883
  I
904
884
  0
905
885
  I
906
- 37
886
+ 35
907
887
  I
908
888
  0
909
889
  I
910
- 38
890
+ 36
911
891
  I
912
- 18
892
+ 14
913
893
  x
914
894
  45
915
895
  /Users/stefan/Codes/titan/lib/titan/thread.rb
916
896
  p
917
897
  0
918
898
  x
919
- 4
920
- save
899
+ 11
900
+ used_memory
921
901
  M
922
902
  1
923
903
  n
924
904
  n
925
905
  x
926
- 4
927
- save
906
+ 11
907
+ used_memory
928
908
  i
929
- 41
909
+ 29
930
910
  45
931
911
  0
932
912
  1
933
913
  43
934
914
  2
935
- 49
915
+ 7
936
916
  3
937
- 0
938
- 15
939
- 45
917
+ 64
918
+ 39
940
919
  4
920
+ 49
941
921
  5
942
- 5
943
- 48
944
- 6
945
- 7
946
- 7
947
- 64
948
- 56
949
- 8
950
- 50
951
- 9
952
922
  2
923
+ 19
924
+ 0
953
925
  15
954
- 65
955
- 7
956
- 10
926
+ 20
927
+ 0
928
+ 9
929
+ 27
930
+ 20
931
+ 0
957
932
  49
958
- 11
933
+ 6
934
+ 0
935
+ 8
936
+ 28
959
937
  1
960
- 39
961
- 12
962
- 5
963
- 13
964
- 18
965
- 3
966
- 49
967
- 13
968
- 2
969
- 15
970
938
  11
971
939
  I
972
940
  4
973
941
  I
974
- 0
942
+ 1
975
943
  I
976
944
  0
977
945
  I
978
946
  0
979
947
  n
980
948
  p
981
- 14
949
+ 7
982
950
  x
983
951
  5
984
952
  Titan
985
953
  n
986
954
  x
987
955
  6
988
- Thread
989
- x
990
- 16
991
- check_filesystem
956
+ System
957
+ s
958
+ 3
959
+ rss
992
960
  x
993
961
  4
994
- File
995
- n
962
+ @pid
996
963
  x
997
- 8
998
- pid_file
999
- s
1000
- 1
1001
- w
1002
- M
964
+ 2
965
+ ps
966
+ x
967
+ 4
968
+ to_i
969
+ p
970
+ 7
971
+ I
972
+ 0
973
+ I
974
+ 3c
975
+ I
976
+ 0
977
+ I
978
+ 3d
979
+ I
980
+ 10
981
+ I
982
+ 3e
983
+ I
984
+ 1d
985
+ x
986
+ 45
987
+ /Users/stefan/Codes/titan/lib/titan/thread.rb
988
+ p
989
+ 1
990
+ x
991
+ 11
992
+ used_memory
993
+ x
994
+ 8
995
+ used_cpu
996
+ M
997
+ 1
998
+ n
999
+ n
1000
+ x
1001
+ 8
1002
+ used_cpu
1003
+ i
1004
+ 29
1005
+ 45
1006
+ 0
1007
+ 1
1008
+ 43
1009
+ 2
1010
+ 7
1011
+ 3
1012
+ 64
1013
+ 39
1014
+ 4
1015
+ 49
1016
+ 5
1017
+ 2
1018
+ 19
1019
+ 0
1020
+ 15
1021
+ 20
1022
+ 0
1023
+ 9
1024
+ 27
1025
+ 20
1026
+ 0
1027
+ 49
1028
+ 6
1029
+ 0
1030
+ 8
1031
+ 28
1032
+ 1
1033
+ 11
1034
+ I
1035
+ 4
1036
+ I
1037
+ 1
1038
+ I
1039
+ 0
1040
+ I
1041
+ 0
1042
+ n
1043
+ p
1044
+ 7
1045
+ x
1046
+ 5
1047
+ Titan
1048
+ n
1049
+ x
1050
+ 6
1051
+ System
1052
+ s
1053
+ 4
1054
+ %cpu
1055
+ x
1056
+ 4
1057
+ @pid
1058
+ x
1059
+ 2
1060
+ ps
1061
+ x
1062
+ 4
1063
+ to_f
1064
+ p
1065
+ 7
1066
+ I
1067
+ 0
1068
+ I
1069
+ 44
1070
+ I
1071
+ 0
1072
+ I
1073
+ 45
1074
+ I
1075
+ 10
1076
+ I
1077
+ 46
1078
+ I
1079
+ 1d
1080
+ x
1081
+ 45
1082
+ /Users/stefan/Codes/titan/lib/titan/thread.rb
1083
+ p
1084
+ 1
1085
+ x
1086
+ 8
1087
+ used_cpu
1088
+ x
1089
+ 4
1090
+ save
1091
+ M
1092
+ 1
1093
+ n
1094
+ n
1095
+ x
1096
+ 4
1097
+ save
1098
+ i
1099
+ 41
1100
+ 45
1101
+ 0
1102
+ 1
1103
+ 43
1104
+ 2
1105
+ 49
1106
+ 3
1107
+ 0
1108
+ 15
1109
+ 45
1110
+ 4
1111
+ 5
1112
+ 5
1113
+ 48
1114
+ 6
1115
+ 7
1116
+ 7
1117
+ 64
1118
+ 56
1119
+ 8
1120
+ 50
1121
+ 9
1122
+ 2
1123
+ 15
1124
+ 65
1125
+ 7
1126
+ 10
1127
+ 49
1128
+ 11
1129
+ 1
1130
+ 39
1131
+ 12
1132
+ 5
1133
+ 13
1134
+ 18
1135
+ 3
1136
+ 49
1137
+ 13
1138
+ 2
1139
+ 15
1140
+ 11
1141
+ I
1142
+ 4
1143
+ I
1144
+ 0
1145
+ I
1146
+ 0
1147
+ I
1148
+ 0
1149
+ n
1150
+ p
1151
+ 14
1152
+ x
1153
+ 5
1154
+ Titan
1155
+ n
1156
+ x
1157
+ 6
1158
+ System
1159
+ x
1160
+ 16
1161
+ check_filesystem
1162
+ x
1163
+ 4
1164
+ File
1165
+ n
1166
+ x
1167
+ 8
1168
+ pid_file
1169
+ s
1170
+ 1
1171
+ w
1172
+ M
1003
1173
  1
1004
1174
  p
1005
1175
  2
@@ -1047,7 +1217,7 @@ p
1047
1217
  I
1048
1218
  0
1049
1219
  I
1050
- 40
1220
+ 4e
1051
1221
  I
1052
1222
  c
1053
1223
  x
@@ -1078,19 +1248,19 @@ p
1078
1248
  I
1079
1249
  0
1080
1250
  I
1081
- 3e
1251
+ 4c
1082
1252
  I
1083
1253
  0
1084
1254
  I
1085
- 3f
1255
+ 4d
1086
1256
  I
1087
1257
  9
1088
1258
  I
1089
- 40
1259
+ 4e
1090
1260
  I
1091
1261
  18
1092
1262
  I
1093
- 41
1263
+ 4f
1094
1264
  I
1095
1265
  29
1096
1266
  x
@@ -1234,19 +1404,19 @@ p
1234
1404
  I
1235
1405
  0
1236
1406
  I
1237
- 48
1407
+ 56
1238
1408
  I
1239
1409
  0
1240
1410
  I
1241
- 4a
1411
+ 58
1242
1412
  I
1243
1413
  d
1244
1414
  I
1245
- 4c
1415
+ 5a
1246
1416
  I
1247
1417
  13
1248
1418
  I
1249
- 4e
1419
+ 5c
1250
1420
  I
1251
1421
  1a
1252
1422
  x
@@ -1272,23 +1442,23 @@ p
1272
1442
  I
1273
1443
  0
1274
1444
  I
1275
- 47
1445
+ 55
1276
1446
  I
1277
1447
  0
1278
1448
  I
1279
- 48
1449
+ 56
1280
1450
  I
1281
1451
  b
1282
1452
  I
1283
- 50
1453
+ 5e
1284
1454
  I
1285
1455
  14
1286
1456
  I
1287
- 51
1457
+ 5f
1288
1458
  I
1289
1459
  18
1290
1460
  I
1291
- 52
1461
+ 60
1292
1462
  I
1293
1463
  1a
1294
1464
  x
@@ -1310,7 +1480,7 @@ x
1310
1480
  18
1311
1481
  __metaclass_init__
1312
1482
  i
1313
- 114
1483
+ 86
1314
1484
  5
1315
1485
  66
1316
1486
  99
@@ -1396,34 +1566,6 @@ i
1396
1566
  49
1397
1567
  3
1398
1568
  4
1399
- 15
1400
- 99
1401
- 7
1402
- 14
1403
- 7
1404
- 15
1405
- 65
1406
- 67
1407
- 49
1408
- 2
1409
- 0
1410
- 49
1411
- 3
1412
- 4
1413
- 15
1414
- 99
1415
- 7
1416
- 16
1417
- 7
1418
- 17
1419
- 65
1420
- 67
1421
- 49
1422
- 2
1423
- 0
1424
- 49
1425
- 3
1426
- 4
1427
1569
  11
1428
1570
  I
1429
1571
  5
@@ -1435,7 +1577,7 @@ I
1435
1577
  0
1436
1578
  n
1437
1579
  p
1438
- 18
1580
+ 14
1439
1581
  x
1440
1582
  4
1441
1583
  find
@@ -1492,15 +1634,15 @@ p
1492
1634
  I
1493
1635
  0
1494
1636
  I
1495
- 59
1637
+ 67
1496
1638
  I
1497
1639
  0
1498
1640
  I
1499
- 5a
1641
+ 68
1500
1642
  I
1501
1643
  4
1502
1644
  I
1503
- 5b
1645
+ 69
1504
1646
  I
1505
1647
  10
1506
1648
  x
@@ -1562,11 +1704,11 @@ p
1562
1704
  I
1563
1705
  0
1564
1706
  I
1565
- 5e
1707
+ 6c
1566
1708
  I
1567
1709
  0
1568
1710
  I
1569
- 5f
1711
+ 6d
1570
1712
  I
1571
1713
  b
1572
1714
  x
@@ -1625,15 +1767,15 @@ p
1625
1767
  I
1626
1768
  0
1627
1769
  I
1628
- 65
1770
+ 73
1629
1771
  I
1630
1772
  0
1631
1773
  I
1632
- 66
1774
+ 74
1633
1775
  I
1634
1776
  4
1635
1777
  I
1636
- 67
1778
+ 75
1637
1779
  I
1638
1780
  b
1639
1781
  x
@@ -1652,18 +1794,28 @@ x
1652
1794
  12
1653
1795
  load_threads
1654
1796
  i
1655
- 13
1656
- 5
1657
- 48
1797
+ 23
1798
+ 45
1799
+ 0
1800
+ 1
1801
+ 43
1802
+ 2
1803
+ 49
1804
+ 3
1658
1805
  0
1659
1806
  15
1807
+ 45
1808
+ 0
1809
+ 4
1810
+ 43
1811
+ 2
1812
+ 49
1660
1813
  5
1661
- 48
1662
- 1
1814
+ 0
1663
1815
  56
1664
- 2
1816
+ 6
1665
1817
  50
1666
- 3
1818
+ 7
1667
1819
  0
1668
1820
  11
1669
1821
  I
@@ -1676,10 +1828,18 @@ I
1676
1828
  0
1677
1829
  n
1678
1830
  p
1679
- 4
1831
+ 8
1832
+ x
1833
+ 5
1834
+ Titan
1835
+ n
1836
+ x
1837
+ 6
1838
+ System
1680
1839
  x
1681
1840
  16
1682
1841
  check_filesystem
1842
+ n
1683
1843
  x
1684
1844
  9
1685
1845
  pid_files
@@ -1910,19 +2070,19 @@ p
1910
2070
  I
1911
2071
  0
1912
2072
  I
1913
- 6f
2073
+ 7d
1914
2074
  I
1915
2075
  4
1916
2076
  I
1917
- 70
2077
+ 7e
1918
2078
  I
1919
2079
  53
1920
2080
  I
1921
- 71
2081
+ 7f
1922
2082
  I
1923
2083
  71
1924
2084
  I
1925
- 72
2085
+ 80
1926
2086
  I
1927
2087
  86
1928
2088
  x
@@ -1944,17 +2104,17 @@ p
1944
2104
  I
1945
2105
  0
1946
2106
  I
1947
- 6d
2107
+ 7b
1948
2108
  I
1949
2109
  0
1950
2110
  I
1951
- 6e
2111
+ 7c
1952
2112
  I
1953
- 4
2113
+ 9
1954
2114
  I
1955
- 6f
2115
+ 7d
1956
2116
  I
1957
- d
2117
+ 17
1958
2118
  x
1959
2119
  45
1960
2120
  /Users/stefan/Codes/titan/lib/titan/thread.rb
@@ -1971,26 +2131,31 @@ x
1971
2131
  12
1972
2132
  save_threads
1973
2133
  i
1974
- 21
1975
- 5
1976
- 48
2134
+ 26
2135
+ 45
1977
2136
  0
1978
- 56
1979
2137
  1
1980
- 50
2138
+ 43
1981
2139
  2
2140
+ 49
2141
+ 3
2142
+ 0
2143
+ 56
2144
+ 4
2145
+ 50
2146
+ 5
1982
2147
  0
1983
2148
  15
1984
2149
  65
1985
2150
  7
1986
- 3
2151
+ 6
1987
2152
  49
1988
- 4
2153
+ 7
1989
2154
  1
1990
2155
  56
1991
- 5
2156
+ 8
1992
2157
  50
1993
- 6
2158
+ 9
1994
2159
  0
1995
2160
  11
1996
2161
  I
@@ -2003,7 +2168,14 @@ I
2003
2168
  0
2004
2169
  n
2005
2170
  p
2006
- 7
2171
+ 10
2172
+ x
2173
+ 5
2174
+ Titan
2175
+ n
2176
+ x
2177
+ 6
2178
+ System
2007
2179
  x
2008
2180
  9
2009
2181
  pid_files
@@ -2074,7 +2246,7 @@ p
2074
2246
  I
2075
2247
  0
2076
2248
  I
2077
- 7a
2249
+ 88
2078
2250
  I
2079
2251
  16
2080
2252
  x
@@ -2137,7 +2309,7 @@ p
2137
2309
  I
2138
2310
  0
2139
2311
  I
2140
- 7b
2312
+ 89
2141
2313
  I
2142
2314
  a
2143
2315
  x
@@ -2156,17 +2328,17 @@ p
2156
2328
  I
2157
2329
  0
2158
2330
  I
2159
- 79
2331
+ 87
2160
2332
  I
2161
2333
  0
2162
2334
  I
2163
- 7a
2335
+ 88
2164
2336
  I
2165
- 9
2337
+ e
2166
2338
  I
2167
- 7b
2339
+ 89
2168
2340
  I
2169
- 15
2341
+ 1a
2170
2342
  x
2171
2343
  45
2172
2344
  /Users/stefan/Codes/titan/lib/titan/thread.rb
@@ -2279,7 +2451,7 @@ p
2279
2451
  I
2280
2452
  0
2281
2453
  I
2282
- 82
2454
+ 90
2283
2455
  I
2284
2456
  16
2285
2457
  x
@@ -2304,225 +2476,54 @@ p
2304
2476
  I
2305
2477
  0
2306
2478
  I
2307
- 81
2479
+ 8f
2308
2480
  I
2309
2481
  0
2310
2482
  I
2311
- 82
2483
+ 90
2312
2484
  I
2313
2485
  c
2314
2486
  I
2315
- 83
2316
- I
2317
- 10
2318
- I
2319
- 84
2320
- I
2321
- 17
2322
- x
2323
- 45
2324
- /Users/stefan/Codes/titan/lib/titan/thread.rb
2325
- p
2326
- 0
2327
- x
2328
- 16
2329
- check_filesystem
2330
- M
2331
- 1
2332
- n
2333
- n
2334
- x
2335
- 16
2336
- check_filesystem
2337
- i
2338
- 24
2339
- 45
2340
- 0
2341
- 1
2342
- 45
2343
- 2
2344
- 3
2345
- 49
2346
- 4
2347
- 1
2348
- 9
2349
- 14
2350
- 1
2351
- 8
2352
- 23
2353
- 45
2354
- 5
2355
- 6
2356
- 45
2357
- 2
2358
- 7
2359
- 49
2360
- 8
2361
- 1
2362
- 11
2363
- I
2364
- 2
2365
- I
2366
- 0
2367
- I
2368
- 0
2369
- I
2370
- 0
2371
- n
2372
- p
2373
- 9
2374
- x
2375
- 4
2376
- File
2377
- n
2378
- x
2379
- 15
2380
- TITAN_DIRECTORY
2381
- n
2382
- x
2383
- 10
2384
- directory?
2385
- x
2386
- 3
2387
- Dir
2388
- n
2389
- n
2390
- x
2391
- 5
2392
- mkdir
2393
- p
2394
- 5
2395
- I
2396
- 0
2397
- I
2398
- 8a
2399
- I
2400
- 0
2401
- I
2402
- 8b
2403
- I
2404
- 18
2405
- x
2406
- 45
2407
- /Users/stefan/Codes/titan/lib/titan/thread.rb
2408
- p
2409
- 0
2410
- x
2411
- 9
2412
- pid_files
2413
- M
2414
- 1
2415
- n
2416
- n
2417
- x
2418
- 9
2419
- pid_files
2420
- i
2421
- 20
2422
- 45
2423
- 0
2424
- 1
2425
- 45
2426
- 2
2427
- 3
2428
- 49
2429
- 4
2430
- 1
2431
- 7
2432
- 5
2433
- 64
2434
- 7
2435
- 6
2436
- 64
2437
- 35
2438
- 2
2439
- 82
2440
- 7
2441
- 11
2442
- I
2443
- 3
2444
- I
2445
- 0
2446
- I
2447
- 0
2448
- I
2449
- 0
2450
- n
2451
- p
2452
- 8
2453
- x
2454
- 3
2455
- Dir
2456
- n
2457
- x
2458
- 15
2459
- TITAN_DIRECTORY
2460
- n
2461
- x
2462
- 7
2463
- entries
2464
- s
2465
- 1
2466
- .
2467
- s
2468
- 2
2469
- ..
2470
- x
2471
- 1
2472
- -
2473
- p
2474
- 5
2475
- I
2476
- 0
2477
- I
2478
2487
  91
2479
2488
  I
2480
- 0
2489
+ 10
2481
2490
  I
2482
2491
  92
2483
2492
  I
2484
- 14
2493
+ 17
2485
2494
  x
2486
2495
  45
2487
2496
  /Users/stefan/Codes/titan/lib/titan/thread.rb
2488
2497
  p
2489
2498
  0
2490
2499
  p
2491
- 17
2500
+ 13
2492
2501
  I
2493
2502
  2
2494
2503
  I
2495
- 59
2504
+ 67
2496
2505
  I
2497
2506
  10
2498
2507
  I
2499
- 5e
2508
+ 6c
2500
2509
  I
2501
2510
  1e
2502
2511
  I
2503
- 65
2512
+ 73
2504
2513
  I
2505
2514
  2c
2506
2515
  I
2507
- 6d
2516
+ 7b
2508
2517
  I
2509
2518
  3a
2510
2519
  I
2511
- 79
2520
+ 87
2512
2521
  I
2513
2522
  48
2514
2523
  I
2515
- 81
2524
+ 8f
2516
2525
  I
2517
2526
  56
2518
- I
2519
- 8a
2520
- I
2521
- 64
2522
- I
2523
- 91
2524
- I
2525
- 72
2526
2527
  x
2527
2528
  45
2528
2529
  /Users/stefan/Codes/titan/lib/titan/thread.rb
@@ -2532,53 +2533,57 @@ x
2532
2533
  13
2533
2534
  attach_method
2534
2535
  p
2535
- 23
2536
+ 25
2536
2537
  I
2537
2538
  2
2538
2539
  I
2539
2540
  8
2540
2541
  I
2541
- 15
2542
+ c
2542
2543
  I
2543
2544
  a
2544
2545
  I
2545
- 1f
2546
+ 1a
2546
2547
  I
2547
- c
2548
+ f
2548
2549
  I
2549
- 2d
2550
+ 28
2550
2551
  I
2551
- 11
2552
+ 1a
2552
2553
  I
2553
- 3b
2554
+ 36
2554
2555
  I
2555
- 1c
2556
+ 21
2556
2557
  I
2557
- 49
2558
+ 44
2558
2559
  I
2559
- 23
2560
+ 2b
2560
2561
  I
2561
- 57
2562
+ 52
2562
2563
  I
2563
- 2d
2564
+ 35
2564
2565
  I
2565
- 65
2566
+ 60
2566
2567
  I
2567
- 37
2568
+ 3c
2568
2569
  I
2569
- 73
2570
+ 6e
2570
2571
  I
2571
- 3e
2572
+ 44
2572
2573
  I
2573
- 81
2574
+ 7c
2574
2575
  I
2575
- 47
2576
+ 4c
2576
2577
  I
2577
- 8f
2578
+ 8a
2578
2579
  I
2579
2580
  55
2580
2581
  I
2581
- a9
2582
+ 98
2583
+ I
2584
+ 63
2585
+ I
2586
+ b2
2582
2587
  x
2583
2588
  45
2584
2589
  /Users/stefan/Codes/titan/lib/titan/thread.rb