pmux 0.1.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.
Files changed (59) hide show
  1. data/.gitignore +8 -0
  2. data/README.md +36 -0
  3. data/Rakefile +4 -0
  4. data/bin/pmux +5 -0
  5. data/lib/pmux/application.rb +166 -0
  6. data/lib/pmux/cleaner.rb +28 -0
  7. data/lib/pmux/fiber18.rb +64 -0
  8. data/lib/pmux/fixcmd.rb +25 -0
  9. data/lib/pmux/gatherer.rb +23 -0
  10. data/lib/pmux/handler.rb +262 -0
  11. data/lib/pmux/job.rb +101 -0
  12. data/lib/pmux/joblogger.rb +46 -0
  13. data/lib/pmux/mapper.rb +151 -0
  14. data/lib/pmux/mros.rb +207 -0
  15. data/lib/pmux/multi_session.rb +309 -0
  16. data/lib/pmux/pipeio.rb +19 -0
  17. data/lib/pmux/plugin.rb +23 -0
  18. data/lib/pmux/q.rb +3 -0
  19. data/lib/pmux/reducer.rb +90 -0
  20. data/lib/pmux/storage_adapter.rb +105 -0
  21. data/lib/pmux/task_dispatcher.rb +167 -0
  22. data/lib/pmux/task_queue.rb +11 -0
  23. data/lib/pmux/task_scheduler.rb +166 -0
  24. data/lib/pmux/util_daemon.rb +18 -0
  25. data/lib/pmux/util_logger.rb +137 -0
  26. data/lib/pmux/version.rb +3 -0
  27. data/lib/pmux/worker.rb +91 -0
  28. data/lib/pmux/writer.rb +19 -0
  29. data/lib/pmux.rb +27 -0
  30. data/pmux.gemspec +24 -0
  31. data/test/mock_mros.rb +284 -0
  32. data/test/mock_pipeio.rb +26 -0
  33. data/test/mock_world.rb +193 -0
  34. data/test/mock_xattr.rb +10 -0
  35. data/test/runner.rb +10 -0
  36. data/test/test_application.rb +13 -0
  37. data/test/test_fixcmd.rb +17 -0
  38. data/test/test_handler.rb +15 -0
  39. data/test/test_i_mapreduce.rb +169 -0
  40. data/test/test_i_mros.rb +28 -0
  41. data/test/test_i_msession.rb +27 -0
  42. data/test/test_job.rb +35 -0
  43. data/test/test_joblogger.rb +16 -0
  44. data/test/test_mapper.rb +60 -0
  45. data/test/test_pipeio.rb +24 -0
  46. data/test/test_storage_adapter.rb +63 -0
  47. data/test/test_task_queue.rb +87 -0
  48. data/test/test_task_scheduler.rb +39 -0
  49. data/test/txt/0.log +105 -0
  50. data/test/txt/1.log +105 -0
  51. data/test/txt/2.log +105 -0
  52. data/test/txt/3.log +105 -0
  53. data/test/txt/4.log +105 -0
  54. data/test/txt/5.log +105 -0
  55. data/test/txt/6.log +105 -0
  56. data/test/txt/7.log +105 -0
  57. data/test/txt/8.log +105 -0
  58. data/test/unittest_helper.rb +57 -0
  59. metadata +153 -0
data/test/txt/1.log ADDED
@@ -0,0 +1,105 @@
1
+ 2000-12-31 21:06:01 START: foobarorController (pid 7944)
2
+ 2000-12-31 21:06:01 lock_path: "/tmp/zzzfoobaror-lock" (pid 7944)
3
+ 2000-12-31 21:06:01 sock_path: "/tmp/.foobarorsock.7944"
4
+ 2000-12-31 21:06:02 #1: (7946) start
5
+ 2000-12-31 21:06:02 foobar unknown mmmmmmmmmm.example.com
6
+ 2000-12-31 21:06:02 #2: (7947) start
7
+ 2000-12-31 21:06:02 foobar unknown llllllllll.example.com
8
+ 2000-12-31 21:06:03 #3: (7948) start
9
+ 2000-12-31 21:06:03 foobar unknown gggggggggg.example.com
10
+ 2000-12-31 21:06:03 #4: (7949) start
11
+ 2000-12-31 21:06:03 foobar unknown oooooooooo.example.com
12
+ 2000-12-31 21:06:03 #5: (7950) start
13
+ 2000-12-31 21:06:03 foobar unknown bbbbbbbbbb.example.com
14
+ 2000-12-31 21:06:03 #6: (7951) start
15
+ 2000-12-31 21:06:03 foobar unknown kkkkkkkkkk.example.com
16
+ 2000-12-31 21:06:03 #7: (7952) start
17
+ 2000-12-31 21:06:03 foobar unknown iiiiiiiiii.example.com
18
+ 2000-12-31 21:06:03 #8: (7953) start
19
+ 2000-12-31 21:06:03 foobar unknown gggggggggg.example.com
20
+ 2000-12-31 21:06:03 foobar unknown dddddddddd.example.com
21
+ 2000-12-31 21:06:03 #9: (7954) start
22
+ 2000-12-31 21:06:03 foobar unknown qqqqqqqqqq.example.com
23
+ 2000-12-31 21:06:03 #10: (7955) start
24
+ 2000-12-31 21:06:03 foobar unknown hhhhhhhhhh.example.com
25
+ 2000-12-31 21:06:03 foobar unknown hhhhhhhhhh.example.com
26
+ 2000-12-31 21:06:04 foobar unknown router1.example.jp
27
+ 2000-12-31 21:06:04 foobar unknown router0.example.jp
28
+ 2000-12-31 21:06:04 #4: (7949) end
29
+ 2000-12-31 21:06:04 #1: (7946) end
30
+ 2000-12-31 21:06:05 #10: (7955) end
31
+ 2000-12-31 21:06:05 #7: (7952) end
32
+ 2000-12-31 21:06:05 #5: (7950) end
33
+ 2000-12-31 21:06:05 #2: (7947) end
34
+ 2000-12-31 21:06:06 #6: (7951) end
35
+ 2000-12-31 21:06:08 #3: (7948) end
36
+ 2000-12-31 21:06:09 #9: (7954) end
37
+ 2000-12-31 21:06:10 #8: (7953) end
38
+ 2000-12-31 21:06:10 waiting children, done (pid 7944)
39
+ 2000-12-31 21:06:10 foobar unknown: elapsed 1.222222 sec
40
+ 2000-12-31 21:06:10 sock_path: "/tmp/.foobarorsock.7944"
41
+ 2000-12-31 21:06:11 #1: (7956) start
42
+ 2000-12-31 21:06:11 foobar unknown cccccccccc.example.com
43
+ 2000-12-31 21:06:11 #2: (7957) start
44
+ 2000-12-31 21:06:11 foobar unknown aaaaaaaaaa.example.com
45
+ 2000-12-31 21:06:16 oooooooooo.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
46
+ 2000-12-31 21:06:16 nnnnnnnnnn.example.com: insert xxxxxxxxxx: 99 records
47
+ 2000-12-31 21:06:16 gggggggggg.example.com: insert xxxxxxxxx: 9 records
48
+ 2000-12-31 21:06:16 ssssssssss.example.com: insert xxxxxxxxxxxxx: 9 records
49
+ 2000-12-31 21:06:16 oooooooooo.example.com: insert xxxxxxxxx: 9 records
50
+ 2000-12-31 21:06:16 bbbbbbbbbb.example.com: insert xxxxxxxx: 9999 records
51
+ 2000-12-31 21:06:16 gggggggggg.example.com: insert xxxxxxxxxxxx: 9 records
52
+ 2000-12-31 21:06:16 foobar unknown 192.168.195.12
53
+ 2000-12-31 21:06:17 192.168.195.12: insert xxxxxxx: (9999 records in 1.222222 sec)
54
+ 2000-12-31 21:06:17 192.168.195.12: insert xxxxxxxxxx: 99 records
55
+ 2000-12-31 21:06:17 192.168.195.12: insert xxxxxxxxx: 9 records
56
+ 2000-12-31 21:06:17 192.168.195.12: insert xxxxxxxxxxxxx: 99 records
57
+ 2000-12-31 21:06:17 192.168.195.12: insert xxxxxxxxx: 9 records
58
+ 2000-12-31 21:06:17 192.168.195.12: insert xxxxxxxx: 9 records
59
+ 2000-12-31 21:06:17 192.168.195.12: insert xxxxxxxxxxxx: 9 records
60
+ 2000-12-31 21:06:18 foobar unknown iiiiiiiiii.example.com
61
+ 2000-12-31 21:06:20 kkkkkkkkkk.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
62
+ 2000-12-31 21:06:20 tttttttttt.example.com: insert xxxxxxxxxx: 99 records
63
+ 2000-12-31 21:06:20 ssssssssss.example.com: insert xxxxxxxxx: 9 records
64
+ 2000-12-31 21:06:20 bbbbbbbbbb.example.com: insert xxxxxxxxxxxxx: 99 records
65
+ 2000-12-31 21:06:20 aaaaaaaaaa.example.com: insert xxxxxxxxx: 9 records
66
+ 2000-12-31 21:06:20 jjjjjjjjjj.example.com: insert xxxxxxxx: 9999 records
67
+ 2000-12-31 21:06:20 llllllllll.example.com: insert xxxxxxxxxxxx: 9 records
68
+ 2000-12-31 21:06:21 foobar unknown bbbbbbbbbb.example.com
69
+ 2000-12-31 21:06:28 nnnnnnnnnn.example.com: insert xxxxxxx: (99999 records in 11.222222 sec)
70
+ 2000-12-31 21:06:28 hhhhhhhhhh.example.com: insert xxxxxxxxxx: 99 records
71
+ 2000-12-31 21:06:28 qqqqqqqqqq.example.com: insert xxxxxxxxx: 9 records
72
+ 2000-12-31 21:06:28 ssssssssss.example.com: insert xxxxxxxxxxxxx: 99 records
73
+ 2000-12-31 21:06:28 bbbbbbbbbb.example.com: insert xxxxxxxxx: 9 records
74
+ 2000-12-31 21:06:28 hhhhhhhhhh.example.com: insert xxxxxxxx: 9999 records
75
+ 2000-12-31 21:06:28 qqqqqqqqqq.example.com: insert xxxxxxxxxxxx: 9 records
76
+ 2000-12-31 21:06:29 foobar unknown hhhhhhhhhh.example.com
77
+ 2000-12-31 21:06:29 foobar unknown router1.example.jp
78
+ 2000-12-31 21:06:30 router1.example.jp: insert xxxxxxx: (9999 records in 1.222222 sec)
79
+ 2000-12-31 21:06:30 router1.example.jp: insert xxxxxxxxxx: 99 records
80
+ 2000-12-31 21:06:30 router1.example.jp: insert xxxxxxxxx: 9 records
81
+ 2000-12-31 21:06:30 router1.example.jp: insert xxxxxxxxxxxxx: 9 records
82
+ 2000-12-31 21:06:30 router1.example.jp: insert xxxxxxxxx: 9 records
83
+ 2000-12-31 21:06:30 router1.example.jp: insert xxxxxxxx: 9 records
84
+ 2000-12-31 21:06:30 router1.example.jp: insert xxxxxxxxxxxx: 9 records
85
+ 2000-12-31 21:06:30 foobar unknown router0.example.jp
86
+ 2000-12-31 21:06:32 rrrrrrrrrr.example.com: insert xxxxxxx: (99999 records in 11.222222 sec)
87
+ 2000-12-31 21:06:32 gggggggggg.example.com: insert xxxxxxxxxx: 99 records
88
+ 2000-12-31 21:06:32 bbbbbbbbbb.example.com: insert xxxxxxxxx: 9 records
89
+ 2000-12-31 21:06:32 pppppppppp.example.com: insert xxxxxxxxxxxxx: 99 records
90
+ 2000-12-31 21:06:32 rrrrrrrrrr.example.com: insert xxxxxxxxx: 9 records
91
+ 2000-12-31 21:06:32 mmmmmmmmmm.example.com: insert xxxxxxxx: 9999 records
92
+ 2000-12-31 21:06:32 rrrrrrrrrr.example.com: insert xxxxxxxxxxxx: 9 records
93
+ 2000-12-31 21:06:32 #2: (7957) end
94
+ 2000-12-31 21:06:33 router0.example.jp: insert xxxxxxx: (9999 records in 1.222222 sec)
95
+ 2000-12-31 21:06:33 router0.example.jp: insert xxxxxxxxxx: 99 records
96
+ 2000-12-31 21:06:33 router0.example.jp: insert xxxxxxxxx: 9 records
97
+ 2000-12-31 21:06:33 router0.example.jp: insert xxxxxxxxxxxxx: 99 records
98
+ 2000-12-31 21:06:33 router0.example.jp: insert xxxxxxxxx: 9 records
99
+ 2000-12-31 21:06:33 router0.example.jp: insert xxxxxxxx: 9 records
100
+ 2000-12-31 21:06:33 router0.example.jp: insert xxxxxxxxxxxx: 9 records
101
+ 2000-12-31 21:06:34 #1: (7956) end
102
+ 2000-12-31 21:06:34 waiting children, done (pid 7944)
103
+ 2000-12-31 21:06:34 foobar unknown: elapsed 11.222222 sec
104
+ 2000-12-31 21:06:34 unlocked: "/tmp/zzzfoobaror-lock" (pid 7944)
105
+ 2000-12-31 21:06:34 END: foobarorController (pid 7944)
data/test/txt/2.log ADDED
@@ -0,0 +1,105 @@
1
+ 2000-12-31 21:11:01 START: foobarorController (pid 7991)
2
+ 2000-12-31 21:11:01 lock_path: "/tmp/zzzfoobaror-lock" (pid 7991)
3
+ 2000-12-31 21:11:01 sock_path: "/tmp/.foobarorsock.7991"
4
+ 2000-12-31 21:11:02 #1: (8003) start
5
+ 2000-12-31 21:11:02 foobar unknown hhhhhhhhhh.example.com
6
+ 2000-12-31 21:11:02 #2: (8004) start
7
+ 2000-12-31 21:11:02 foobar unknown eeeeeeeeee.example.com
8
+ 2000-12-31 21:11:02 #3: (8005) start
9
+ 2000-12-31 21:11:02 foobar unknown qqqqqqqqqq.example.com
10
+ 2000-12-31 21:11:02 #4: (8006) start
11
+ 2000-12-31 21:11:02 foobar unknown iiiiiiiiii.example.com
12
+ 2000-12-31 21:11:02 #5: (8007) start
13
+ 2000-12-31 21:11:02 foobar unknown iiiiiiiiii.example.com
14
+ 2000-12-31 21:11:02 #6: (8008) start
15
+ 2000-12-31 21:11:02 foobar unknown ssssssssss.example.com
16
+ 2000-12-31 21:11:02 #7: (8009) start
17
+ 2000-12-31 21:11:02 foobar unknown oooooooooo.example.com
18
+ 2000-12-31 21:11:02 #8: (8010) start
19
+ 2000-12-31 21:11:02 foobar unknown gggggggggg.example.com
20
+ 2000-12-31 21:11:03 foobar unknown dddddddddd.example.com
21
+ 2000-12-31 21:11:03 #9: (8011) start
22
+ 2000-12-31 21:11:03 foobar unknown bbbbbbbbbb.example.com
23
+ 2000-12-31 21:11:03 #10: (8012) start
24
+ 2000-12-31 21:11:03 foobar unknown jjjjjjjjjj.example.com
25
+ 2000-12-31 21:11:03 foobar unknown ssssssssss.example.com
26
+ 2000-12-31 21:11:03 foobar unknown router1.example.jp
27
+ 2000-12-31 21:11:03 foobar unknown router0.example.jp
28
+ 2000-12-31 21:11:03 #3: (8005) end
29
+ 2000-12-31 21:11:03 #4: (8006) end
30
+ 2000-12-31 21:11:04 #1: (8003) end
31
+ 2000-12-31 21:11:04 #9: (8011) end
32
+ 2000-12-31 21:11:05 #2: (8004) end
33
+ 2000-12-31 21:11:05 #7: (8009) end
34
+ 2000-12-31 21:11:05 #8: (8010) end
35
+ 2000-12-31 21:11:08 #5: (8007) end
36
+ 2000-12-31 21:11:08 #10: (8012) end
37
+ 2000-12-31 21:11:09 #6: (8008) end
38
+ 2000-12-31 21:11:09 waiting children, done (pid 7991)
39
+ 2000-12-31 21:11:09 foobar unknown: elapsed 1.222222 sec
40
+ 2000-12-31 21:11:10 sock_path: "/tmp/.foobarorsock.7991"
41
+ 2000-12-31 21:11:11 #1: (8013) start
42
+ 2000-12-31 21:11:11 foobar unknown oooooooooo.example.com
43
+ 2000-12-31 21:11:11 #2: (8014) start
44
+ 2000-12-31 21:11:11 foobar unknown jjjjjjjjjj.example.com
45
+ 2000-12-31 21:11:16 cccccccccc.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
46
+ 2000-12-31 21:11:16 rrrrrrrrrr.example.com: insert xxxxxxxxxx: 99 records
47
+ 2000-12-31 21:11:16 kkkkkkkkkk.example.com: insert xxxxxxxxx: 9 records
48
+ 2000-12-31 21:11:16 nnnnnnnnnn.example.com: insert xxxxxxxxxxxxx: 99 records
49
+ 2000-12-31 21:11:16 ffffffffff.example.com: insert xxxxxxxxx: 9 records
50
+ 2000-12-31 21:11:16 llllllllll.example.com: insert xxxxxxxx: 9999 records
51
+ 2000-12-31 21:11:16 rrrrrrrrrr.example.com: insert xxxxxxxxxxxx: 9 records
52
+ 2000-12-31 21:11:16 foobar unknown 192.168.195.12
53
+ 2000-12-31 21:11:18 192.168.195.12: insert xxxxxxx: (9999 records in 1.222222 sec)
54
+ 2000-12-31 21:11:18 192.168.195.12: insert xxxxxxxxxx: 99 records
55
+ 2000-12-31 21:11:18 192.168.195.12: insert xxxxxxxxx: 9 records
56
+ 2000-12-31 21:11:18 192.168.195.12: insert xxxxxxxxxxxxx: 99 records
57
+ 2000-12-31 21:11:18 192.168.195.12: insert xxxxxxxxx: 9 records
58
+ 2000-12-31 21:11:18 192.168.195.12: insert xxxxxxxx: 9 records
59
+ 2000-12-31 21:11:18 192.168.195.12: insert xxxxxxxxxxxx: 9 records
60
+ 2000-12-31 21:11:18 foobar unknown tttttttttt.example.com
61
+ 2000-12-31 21:11:20 iiiiiiiiii.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
62
+ 2000-12-31 21:11:20 jjjjjjjjjj.example.com: insert xxxxxxxxxx: 99 records
63
+ 2000-12-31 21:11:20 hhhhhhhhhh.example.com: insert xxxxxxxxx: 9 records
64
+ 2000-12-31 21:11:20 bbbbbbbbbb.example.com: insert xxxxxxxxxxxxx: 99 records
65
+ 2000-12-31 21:11:20 dddddddddd.example.com: insert xxxxxxxxx: 9 records
66
+ 2000-12-31 21:11:20 hhhhhhhhhh.example.com: insert xxxxxxxx: 9999 records
67
+ 2000-12-31 21:11:20 mmmmmmmmmm.example.com: insert xxxxxxxxxxxx: 9 records
68
+ 2000-12-31 21:11:21 foobar unknown iiiiiiiiii.example.com
69
+ 2000-12-31 21:11:28 dddddddddd.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
70
+ 2000-12-31 21:11:28 gggggggggg.example.com: insert xxxxxxxxxx: 99 records
71
+ 2000-12-31 21:11:28 iiiiiiiiii.example.com: insert xxxxxxxxx: 9 records
72
+ 2000-12-31 21:11:28 dddddddddd.example.com: insert xxxxxxxxxxxxx: 99 records
73
+ 2000-12-31 21:11:28 pppppppppp.example.com: insert xxxxxxxxx: 9 records
74
+ 2000-12-31 21:11:28 pppppppppp.example.com: insert xxxxxxxx: 9999 records
75
+ 2000-12-31 21:11:28 hhhhhhhhhh.example.com: insert xxxxxxxxxxxx: 9 records
76
+ 2000-12-31 21:11:29 foobar unknown tttttttttt.example.com
77
+ 2000-12-31 21:11:29 foobar unknown router1.example.jp
78
+ 2000-12-31 21:11:30 router1.example.jp: insert xxxxxxx: (9999 records in 1.222222 sec)
79
+ 2000-12-31 21:11:30 router1.example.jp: insert xxxxxxxxxx: 99 records
80
+ 2000-12-31 21:11:30 router1.example.jp: insert xxxxxxxxx: 9 records
81
+ 2000-12-31 21:11:30 router1.example.jp: insert xxxxxxxxxxxxx: 9 records
82
+ 2000-12-31 21:11:30 router1.example.jp: insert xxxxxxxxx: 9 records
83
+ 2000-12-31 21:11:30 router1.example.jp: insert xxxxxxxx: 9 records
84
+ 2000-12-31 21:11:30 router1.example.jp: insert xxxxxxxxxxxx: 9 records
85
+ 2000-12-31 21:11:30 foobar unknown router0.example.jp
86
+ 2000-12-31 21:11:32 ffffffffff.example.com: insert xxxxxxx: (99999 records in 11.222222 sec)
87
+ 2000-12-31 21:11:32 gggggggggg.example.com: insert xxxxxxxxxx: 99 records
88
+ 2000-12-31 21:11:32 aaaaaaaaaa.example.com: insert xxxxxxxxx: 9 records
89
+ 2000-12-31 21:11:32 aaaaaaaaaa.example.com: insert xxxxxxxxxxxxx: 99 records
90
+ 2000-12-31 21:11:32 jjjjjjjjjj.example.com: insert xxxxxxxxx: 9 records
91
+ 2000-12-31 21:11:32 llllllllll.example.com: insert xxxxxxxx: 9999 records
92
+ 2000-12-31 21:11:32 aaaaaaaaaa.example.com: insert xxxxxxxxxxxx: 9 records
93
+ 2000-12-31 21:11:33 #2: (8014) end
94
+ 2000-12-31 21:11:33 router0.example.jp: insert xxxxxxx: (9999 records in 1.222222 sec)
95
+ 2000-12-31 21:11:33 router0.example.jp: insert xxxxxxxxxx: 99 records
96
+ 2000-12-31 21:11:33 router0.example.jp: insert xxxxxxxxx: 9 records
97
+ 2000-12-31 21:11:33 router0.example.jp: insert xxxxxxxxxxxxx: 99 records
98
+ 2000-12-31 21:11:33 router0.example.jp: insert xxxxxxxxx: 9 records
99
+ 2000-12-31 21:11:33 router0.example.jp: insert xxxxxxxx: 9 records
100
+ 2000-12-31 21:11:33 router0.example.jp: insert xxxxxxxxxxxx: 9 records
101
+ 2000-12-31 21:11:34 #1: (8013) end
102
+ 2000-12-31 21:11:34 waiting children, done (pid 7991)
103
+ 2000-12-31 21:11:34 foobar unknown: elapsed 11.222222 sec
104
+ 2000-12-31 21:11:34 unlocked: "/tmp/zzzfoobaror-lock" (pid 7991)
105
+ 2000-12-31 21:11:34 END: foobarorController (pid 7991)
data/test/txt/3.log ADDED
@@ -0,0 +1,105 @@
1
+ 2000-12-31 21:16:01 START: foobarorController (pid 8043)
2
+ 2000-12-31 21:16:01 lock_path: "/tmp/zzzfoobaror-lock" (pid 8043)
3
+ 2000-12-31 21:16:01 sock_path: "/tmp/.foobarorsock.8043"
4
+ 2000-12-31 21:16:02 #1: (8045) start
5
+ 2000-12-31 21:16:02 foobar unknown rrrrrrrrrr.example.com
6
+ 2000-12-31 21:16:02 #2: (8046) start
7
+ 2000-12-31 21:16:02 foobar unknown bbbbbbbbbb.example.com
8
+ 2000-12-31 21:16:02 #3: (8047) start
9
+ 2000-12-31 21:16:02 foobar unknown tttttttttt.example.com
10
+ 2000-12-31 21:16:02 #4: (8048) start
11
+ 2000-12-31 21:16:02 foobar unknown ssssssssss.example.com
12
+ 2000-12-31 21:16:02 #5: (8049) start
13
+ 2000-12-31 21:16:02 foobar unknown pppppppppp.example.com
14
+ 2000-12-31 21:16:02 #6: (8050) start
15
+ 2000-12-31 21:16:02 foobar unknown jjjjjjjjjj.example.com
16
+ 2000-12-31 21:16:02 #7: (8051) start
17
+ 2000-12-31 21:16:02 foobar unknown kkkkkkkkkk.example.com
18
+ 2000-12-31 21:16:03 #8: (8052) start
19
+ 2000-12-31 21:16:03 foobar unknown hhhhhhhhhh.example.com
20
+ 2000-12-31 21:16:03 foobar unknown kkkkkkkkkk.example.com
21
+ 2000-12-31 21:16:03 #9: (8053) start
22
+ 2000-12-31 21:16:03 foobar unknown llllllllll.example.com
23
+ 2000-12-31 21:16:03 #10: (8054) start
24
+ 2000-12-31 21:16:03 foobar unknown oooooooooo.example.com
25
+ 2000-12-31 21:16:03 foobar unknown aaaaaaaaaa.example.com
26
+ 2000-12-31 21:16:03 foobar unknown router1.example.jp
27
+ 2000-12-31 21:16:03 foobar unknown router0.example.jp
28
+ 2000-12-31 21:16:03 #3: (8047) end
29
+ 2000-12-31 21:16:04 #4: (8048) end
30
+ 2000-12-31 21:16:04 #1: (8045) end
31
+ 2000-12-31 21:16:04 #9: (8053) end
32
+ 2000-12-31 21:16:05 #5: (8049) end
33
+ 2000-12-31 21:16:05 #2: (8046) end
34
+ 2000-12-31 21:16:05 #10: (8054) end
35
+ 2000-12-31 21:16:05 #7: (8051) end
36
+ 2000-12-31 21:16:05 #8: (8052) end
37
+ 2000-12-31 21:16:09 #6: (8050) end
38
+ 2000-12-31 21:16:09 waiting children, done (pid 8043)
39
+ 2000-12-31 21:16:09 foobar unknown: elapsed 1.22222 sec
40
+ 2000-12-31 21:16:09 sock_path: "/tmp/.foobarorsock.8043"
41
+ 2000-12-31 21:16:10 #1: (8055) start
42
+ 2000-12-31 21:16:10 foobar unknown gggggggggg.example.com
43
+ 2000-12-31 21:16:10 #2: (8056) start
44
+ 2000-12-31 21:16:10 foobar unknown jjjjjjjjjj.example.com
45
+ 2000-12-31 21:16:15 oooooooooo.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
46
+ 2000-12-31 21:16:15 llllllllll.example.com: insert xxxxxxxxxx: 99 records
47
+ 2000-12-31 21:16:15 hhhhhhhhhh.example.com: insert xxxxxxxxx: 9 records
48
+ 2000-12-31 21:16:15 jjjjjjjjjj.example.com: insert xxxxxxxxxxxxx: 99 records
49
+ 2000-12-31 21:16:15 nnnnnnnnnn.example.com: insert xxxxxxxxx: 9 records
50
+ 2000-12-31 21:16:15 nnnnnnnnnn.example.com: insert xxxxxxxx: 9999 records
51
+ 2000-12-31 21:16:15 mmmmmmmmmm.example.com: insert xxxxxxxxxxxx: 9 records
52
+ 2000-12-31 21:16:15 foobar unknown 192.168.195.12
53
+ 2000-12-31 21:16:16 192.168.195.12: insert xxxxxxx: (9999 records in 1.22222 sec)
54
+ 2000-12-31 21:16:16 192.168.195.12: insert xxxxxxxxxx: 99 records
55
+ 2000-12-31 21:16:16 192.168.195.12: insert xxxxxxxxx: 9 records
56
+ 2000-12-31 21:16:16 192.168.195.12: insert xxxxxxxxxxxxx: 99 records
57
+ 2000-12-31 21:16:16 192.168.195.12: insert xxxxxxxxx: 9 records
58
+ 2000-12-31 21:16:16 192.168.195.12: insert xxxxxxxx: 9 records
59
+ 2000-12-31 21:16:16 192.168.195.12: insert xxxxxxxxxxxx: 9 records
60
+ 2000-12-31 21:16:17 foobar unknown kkkkkkkkkk.example.com
61
+ 2000-12-31 21:16:19 qqqqqqqqqq.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
62
+ 2000-12-31 21:16:19 mmmmmmmmmm.example.com: insert xxxxxxxxxx: 99 records
63
+ 2000-12-31 21:16:19 ffffffffff.example.com: insert xxxxxxxxx: 9 records
64
+ 2000-12-31 21:16:19 qqqqqqqqqq.example.com: insert xxxxxxxxxxxxx: 99 records
65
+ 2000-12-31 21:16:19 gggggggggg.example.com: insert xxxxxxxxx: 9 records
66
+ 2000-12-31 21:16:19 hhhhhhhhhh.example.com: insert xxxxxxxx: 9999 records
67
+ 2000-12-31 21:16:19 aaaaaaaaaa.example.com: insert xxxxxxxxxxxx: 9 records
68
+ 2000-12-31 21:16:20 foobar unknown ssssssssss.example.com
69
+ 2000-12-31 21:16:28 kkkkkkkkkk.example.com: insert xxxxxxx: (99999 records in 11.222222 sec)
70
+ 2000-12-31 21:16:28 rrrrrrrrrr.example.com: insert xxxxxxxxxx: 99 records
71
+ 2000-12-31 21:16:28 iiiiiiiiii.example.com: insert xxxxxxxxx: 9 records
72
+ 2000-12-31 21:16:28 jjjjjjjjjj.example.com: insert xxxxxxxxxxxxx: 99 records
73
+ 2000-12-31 21:16:28 eeeeeeeeee.example.com: insert xxxxxxxxx: 9 records
74
+ 2000-12-31 21:16:28 rrrrrrrrrr.example.com: insert xxxxxxxx: 9999 records
75
+ 2000-12-31 21:16:28 oooooooooo.example.com: insert xxxxxxxxxxxx: 9 records
76
+ 2000-12-31 21:16:29 foobar unknown cccccccccc.example.com
77
+ 2000-12-31 21:16:29 foobar unknown router1.example.jp
78
+ 2000-12-31 21:16:30 router1.example.jp: insert xxxxxxx: (9999 records in 1.222222 sec)
79
+ 2000-12-31 21:16:30 router1.example.jp: insert xxxxxxxxxx: 99 records
80
+ 2000-12-31 21:16:30 router1.example.jp: insert xxxxxxxxx: 9 records
81
+ 2000-12-31 21:16:30 router1.example.jp: insert xxxxxxxxxxxxx: 9 records
82
+ 2000-12-31 21:16:30 router1.example.jp: insert xxxxxxxxx: 9 records
83
+ 2000-12-31 21:16:30 router1.example.jp: insert xxxxxxxx: 9 records
84
+ 2000-12-31 21:16:30 router1.example.jp: insert xxxxxxxxxxxx: 9 records
85
+ 2000-12-31 21:16:30 foobar unknown router0.example.jp
86
+ 2000-12-31 21:16:31 bbbbbbbbbb.example.com: insert xxxxxxx: (99999 records in 11.222222 sec)
87
+ 2000-12-31 21:16:31 mmmmmmmmmm.example.com: insert xxxxxxxxxx: 999 records
88
+ 2000-12-31 21:16:31 pppppppppp.example.com: insert xxxxxxxxx: 9 records
89
+ 2000-12-31 21:16:31 tttttttttt.example.com: insert xxxxxxxxxxxxx: 99 records
90
+ 2000-12-31 21:16:31 ffffffffff.example.com: insert xxxxxxxxx: 9 records
91
+ 2000-12-31 21:16:31 dddddddddd.example.com: insert xxxxxxxx: 9999 records
92
+ 2000-12-31 21:16:32 llllllllll.example.com: insert xxxxxxxxxxxx: 9 records
93
+ 2000-12-31 21:16:32 #2: (8056) end
94
+ 2000-12-31 21:16:33 router0.example.jp: insert xxxxxxx: (9999 records in 1.22222 sec)
95
+ 2000-12-31 21:16:33 router0.example.jp: insert xxxxxxxxxx: 99 records
96
+ 2000-12-31 21:16:33 router0.example.jp: insert xxxxxxxxx: 9 records
97
+ 2000-12-31 21:16:33 router0.example.jp: insert xxxxxxxxxxxxx: 99 records
98
+ 2000-12-31 21:16:33 router0.example.jp: insert xxxxxxxxx: 9 records
99
+ 2000-12-31 21:16:33 router0.example.jp: insert xxxxxxxx: 9 records
100
+ 2000-12-31 21:16:33 router0.example.jp: insert xxxxxxxxxxxx: 9 records
101
+ 2000-12-31 21:16:34 #1: (8055) end
102
+ 2000-12-31 21:16:34 waiting children, done (pid 8043)
103
+ 2000-12-31 21:16:34 foobar unknown: elapsed 11.222222 sec
104
+ 2000-12-31 21:16:34 unlocked: "/tmp/zzzfoobaror-lock" (pid 8043)
105
+ 2000-12-31 21:16:34 END: foobarorController (pid 8043)
data/test/txt/4.log ADDED
@@ -0,0 +1,105 @@
1
+ 2000-12-31 21:21:01 START: foobarorController (pid 8087)
2
+ 2000-12-31 21:21:01 lock_path: "/tmp/zzzfoobaror-lock" (pid 8087)
3
+ 2000-12-31 21:21:01 sock_path: "/tmp/.foobarorsock.8087"
4
+ 2000-12-31 21:21:02 #1: (8089) start
5
+ 2000-12-31 21:21:02 foobar unknown cccccccccc.example.com
6
+ 2000-12-31 21:21:02 #2: (8090) start
7
+ 2000-12-31 21:21:02 foobar unknown ssssssssss.example.com
8
+ 2000-12-31 21:21:02 #3: (8091) start
9
+ 2000-12-31 21:21:02 foobar unknown jjjjjjjjjj.example.com
10
+ 2000-12-31 21:21:02 #4: (8092) start
11
+ 2000-12-31 21:21:02 foobar unknown mmmmmmmmmm.example.com
12
+ 2000-12-31 21:21:02 #5: (8093) start
13
+ 2000-12-31 21:21:02 foobar unknown iiiiiiiiii.example.com
14
+ 2000-12-31 21:21:02 #6: (8094) start
15
+ 2000-12-31 21:21:02 foobar unknown aaaaaaaaaa.example.com
16
+ 2000-12-31 21:21:02 #7: (8095) start
17
+ 2000-12-31 21:21:02 foobar unknown aaaaaaaaaa.example.com
18
+ 2000-12-31 21:21:03 #8: (8096) start
19
+ 2000-12-31 21:21:03 foobar unknown pppppppppp.example.com
20
+ 2000-12-31 21:21:03 foobar unknown cccccccccc.example.com
21
+ 2000-12-31 21:21:03 #9: (8097) start
22
+ 2000-12-31 21:21:03 foobar unknown pppppppppp.example.com
23
+ 2000-12-31 21:21:03 #10: (8098) start
24
+ 2000-12-31 21:21:03 foobar unknown qqqqqqqqqq.example.com
25
+ 2000-12-31 21:21:03 foobar unknown qqqqqqqqqq.example.com
26
+ 2000-12-31 21:21:03 foobar unknown router1.example.jp
27
+ 2000-12-31 21:21:03 foobar unknown router0.example.jp
28
+ 2000-12-31 21:21:03 #3: (8091) end
29
+ 2000-12-31 21:21:04 #4: (8092) end
30
+ 2000-12-31 21:21:04 #1: (8089) end
31
+ 2000-12-31 21:21:04 #9: (8097) end
32
+ 2000-12-31 21:21:04 #5: (8093) end
33
+ 2000-12-31 21:21:05 #2: (8090) end
34
+ 2000-12-31 21:21:05 #7: (8095) end
35
+ 2000-12-31 21:21:05 #8: (8096) end
36
+ 2000-12-31 21:21:08 #10: (8098) end
37
+ 2000-12-31 21:21:09 #6: (8094) end
38
+ 2000-12-31 21:21:09 waiting children, done (pid 8087)
39
+ 2000-12-31 21:21:09 foobar unknown: elapsed 1.222222 sec
40
+ 2000-12-31 21:21:09 sock_path: "/tmp/.foobarorsock.8087"
41
+ 2000-12-31 21:21:10 #1: (8099) start
42
+ 2000-12-31 21:21:10 foobar unknown dddddddddd.example.com
43
+ 2000-12-31 21:21:10 #2: (8100) start
44
+ 2000-12-31 21:21:10 foobar unknown rrrrrrrrrr.example.com
45
+ 2000-12-31 21:21:15 qqqqqqqqqq.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
46
+ 2000-12-31 21:21:15 ffffffffff.example.com: insert xxxxxxxxxx: 99 records
47
+ 2000-12-31 21:21:15 kkkkkkkkkk.example.com: insert xxxxxxxxx: 9 records
48
+ 2000-12-31 21:21:15 jjjjjjjjjj.example.com: insert xxxxxxxxxxxxx: 99 records
49
+ 2000-12-31 21:21:15 bbbbbbbbbb.example.com: insert xxxxxxxxx: 9 records
50
+ 2000-12-31 21:21:15 llllllllll.example.com: insert xxxxxxxx: 9999 records
51
+ 2000-12-31 21:21:15 tttttttttt.example.com: insert xxxxxxxxxxxx: 9 records
52
+ 2000-12-31 21:21:15 foobar unknown 192.168.195.12
53
+ 2000-12-31 21:21:17 192.168.195.12: insert xxxxxxx: (9999 records in 1.222222 sec)
54
+ 2000-12-31 21:21:17 192.168.195.12: insert xxxxxxxxxx: 99 records
55
+ 2000-12-31 21:21:17 192.168.195.12: insert xxxxxxxxx: 9 records
56
+ 2000-12-31 21:21:17 192.168.195.12: insert xxxxxxxxxxxxx: 99 records
57
+ 2000-12-31 21:21:17 192.168.195.12: insert xxxxxxxxx: 9 records
58
+ 2000-12-31 21:21:17 192.168.195.12: insert xxxxxxxx: 9 records
59
+ 2000-12-31 21:21:17 192.168.195.12: insert xxxxxxxxxxxx: 9 records
60
+ 2000-12-31 21:21:17 foobar unknown bbbbbbbbbb.example.com
61
+ 2000-12-31 21:21:19 nnnnnnnnnn.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
62
+ 2000-12-31 21:21:19 mmmmmmmmmm.example.com: insert xxxxxxxxxx: 99 records
63
+ 2000-12-31 21:21:19 eeeeeeeeee.example.com: insert xxxxxxxxx: 9 records
64
+ 2000-12-31 21:21:19 bbbbbbbbbb.example.com: insert xxxxxxxxxxxxx: 99 records
65
+ 2000-12-31 21:21:19 llllllllll.example.com: insert xxxxxxxxx: 9 records
66
+ 2000-12-31 21:21:19 rrrrrrrrrr.example.com: insert xxxxxxxx: 9999 records
67
+ 2000-12-31 21:21:19 iiiiiiiiii.example.com: insert xxxxxxxxxxxx: 9 records
68
+ 2000-12-31 21:21:20 foobar unknown ssssssssss.example.com
69
+ 2000-12-31 21:21:27 tttttttttt.example.com: insert xxxxxxx: (99999 records in 11.222222 sec)
70
+ 2000-12-31 21:21:27 hhhhhhhhhh.example.com: insert xxxxxxxxxx: 99 records
71
+ 2000-12-31 21:21:27 llllllllll.example.com: insert xxxxxxxxx: 9 records
72
+ 2000-12-31 21:21:27 aaaaaaaaaa.example.com: insert xxxxxxxxxxxxx: 99 records
73
+ 2000-12-31 21:21:27 cccccccccc.example.com: insert xxxxxxxxx: 9 records
74
+ 2000-12-31 21:21:28 iiiiiiiiii.example.com: insert xxxxxxxx: 9999 records
75
+ 2000-12-31 21:21:28 pppppppppp.example.com: insert xxxxxxxxxxxx: 9 records
76
+ 2000-12-31 21:21:28 foobar unknown kkkkkkkkkk.example.com
77
+ 2000-12-31 21:21:29 foobar unknown router1.example.jp
78
+ 2000-12-31 21:21:29 router1.example.jp: insert xxxxxxx: (9999 records in 1.222222 sec)
79
+ 2000-12-31 21:21:29 router1.example.jp: insert xxxxxxxxxx: 99 records
80
+ 2000-12-31 21:21:29 router1.example.jp: insert xxxxxxxxx: 9 records
81
+ 2000-12-31 21:21:29 router1.example.jp: insert xxxxxxxxxxxxx: 9 records
82
+ 2000-12-31 21:21:29 router1.example.jp: insert xxxxxxxxx: 9 records
83
+ 2000-12-31 21:21:29 router1.example.jp: insert xxxxxxxx: 9 records
84
+ 2000-12-31 21:21:29 router1.example.jp: insert xxxxxxxxxxxx: 9 records
85
+ 2000-12-31 21:21:30 foobar unknown router0.example.jp
86
+ 2000-12-31 21:21:31 kkkkkkkkkk.example.com: insert xxxxxxx: (99999 records in 11.222222 sec)
87
+ 2000-12-31 21:21:31 hhhhhhhhhh.example.com: insert xxxxxxxxxx: 99 records
88
+ 2000-12-31 21:21:31 bbbbbbbbbb.example.com: insert xxxxxxxxx: 9 records
89
+ 2000-12-31 21:21:31 jjjjjjjjjj.example.com: insert xxxxxxxxxxxxx: 99 records
90
+ 2000-12-31 21:21:31 kkkkkkkkkk.example.com: insert xxxxxxxxx: 9 records
91
+ 2000-12-31 21:21:31 pppppppppp.example.com: insert xxxxxxxx: 9999 records
92
+ 2000-12-31 21:21:31 tttttttttt.example.com: insert xxxxxxxxxxxx: 9 records
93
+ 2000-12-31 21:21:32 #2: (8100) end
94
+ 2000-12-31 21:21:34 router0.example.jp: insert xxxxxxx: (9999 records in 1.222222 sec)
95
+ 2000-12-31 21:21:34 router0.example.jp: insert xxxxxxxxxx: 99 records
96
+ 2000-12-31 21:21:34 router0.example.jp: insert xxxxxxxxx: 9 records
97
+ 2000-12-31 21:21:34 router0.example.jp: insert xxxxxxxxxxxxx: 99 records
98
+ 2000-12-31 21:21:34 router0.example.jp: insert xxxxxxxxx: 9 records
99
+ 2000-12-31 21:21:34 router0.example.jp: insert xxxxxxxx: 9 records
100
+ 2000-12-31 21:21:34 router0.example.jp: insert xxxxxxxxxxxx: 9 records
101
+ 2000-12-31 21:21:34 #1: (8099) end
102
+ 2000-12-31 21:21:34 waiting children, done (pid 8087)
103
+ 2000-12-31 21:21:34 foobar unknown: elapsed 11.222222 sec
104
+ 2000-12-31 21:21:34 unlocked: "/tmp/zzzfoobaror-lock" (pid 8087)
105
+ 2000-12-31 21:21:34 END: foobarorController (pid 8087)
data/test/txt/5.log ADDED
@@ -0,0 +1,105 @@
1
+ 2000-12-31 21:26:01 START: foobarorController (pid 8140)
2
+ 2000-12-31 21:26:01 lock_path: "/tmp/zzzfoobaror-lock" (pid 8140)
3
+ 2000-12-31 21:26:01 sock_path: "/tmp/.foobarorsock.8140"
4
+ 2000-12-31 21:26:02 #1: (8142) start
5
+ 2000-12-31 21:26:02 foobar unknown eeeeeeeeee.example.com
6
+ 2000-12-31 21:26:02 #2: (8143) start
7
+ 2000-12-31 21:26:02 foobar unknown rrrrrrrrrr.example.com
8
+ 2000-12-31 21:26:02 #3: (8144) start
9
+ 2000-12-31 21:26:02 foobar unknown llllllllll.example.com
10
+ 2000-12-31 21:26:02 #4: (8145) start
11
+ 2000-12-31 21:26:02 foobar unknown bbbbbbbbbb.example.com
12
+ 2000-12-31 21:26:02 #5: (8146) start
13
+ 2000-12-31 21:26:02 foobar unknown hhhhhhhhhh.example.com
14
+ 2000-12-31 21:26:02 #6: (8147) start
15
+ 2000-12-31 21:26:02 foobar unknown ffffffffff.example.com
16
+ 2000-12-31 21:26:02 #7: (8148) start
17
+ 2000-12-31 21:26:02 foobar unknown ffffffffff.example.com
18
+ 2000-12-31 21:26:03 #8: (8149) start
19
+ 2000-12-31 21:26:03 foobar unknown cccccccccc.example.com
20
+ 2000-12-31 21:26:03 foobar unknown dddddddddd.example.com
21
+ 2000-12-31 21:26:03 #9: (8150) start
22
+ 2000-12-31 21:26:03 foobar unknown hhhhhhhhhh.example.com
23
+ 2000-12-31 21:26:03 #10: (8151) start
24
+ 2000-12-31 21:26:03 foobar unknown bbbbbbbbbb.example.com
25
+ 2000-12-31 21:26:03 foobar unknown llllllllll.example.com
26
+ 2000-12-31 21:26:03 foobar unknown router1.example.jp
27
+ 2000-12-31 21:26:03 foobar unknown router0.example.jp
28
+ 2000-12-31 21:26:03 #3: (8144) end
29
+ 2000-12-31 21:26:04 #4: (8145) end
30
+ 2000-12-31 21:26:04 #1: (8142) end
31
+ 2000-12-31 21:26:04 #9: (8150) end
32
+ 2000-12-31 21:26:04 #10: (8151) end
33
+ 2000-12-31 21:26:04 #5: (8146) end
34
+ 2000-12-31 21:26:05 #2: (8143) end
35
+ 2000-12-31 21:26:05 #7: (8148) end
36
+ 2000-12-31 21:26:05 #6: (8147) end
37
+ 2000-12-31 21:26:05 #8: (8149) end
38
+ 2000-12-31 21:26:06 waiting children, done (pid 8140)
39
+ 2000-12-31 21:26:06 foobar unknown: elapsed 1.222222 sec
40
+ 2000-12-31 21:26:06 sock_path: "/tmp/.foobarorsock.8140"
41
+ 2000-12-31 21:26:07 #1: (8152) start
42
+ 2000-12-31 21:26:07 foobar unknown dddddddddd.example.com
43
+ 2000-12-31 21:26:08 #2: (8153) start
44
+ 2000-12-31 21:26:08 foobar unknown jjjjjjjjjj.example.com
45
+ 2000-12-31 21:26:12 aaaaaaaaaa.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
46
+ 2000-12-31 21:26:12 tttttttttt.example.com: insert xxxxxxxxxx: 99 records
47
+ 2000-12-31 21:26:12 eeeeeeeeee.example.com: insert xxxxxxxxx: 9 records
48
+ 2000-12-31 21:26:12 aaaaaaaaaa.example.com: insert xxxxxxxxxxxxx: 99 records
49
+ 2000-12-31 21:26:12 nnnnnnnnnn.example.com: insert xxxxxxxxx: 9 records
50
+ 2000-12-31 21:26:12 llllllllll.example.com: insert xxxxxxxx: 9999 records
51
+ 2000-12-31 21:26:12 oooooooooo.example.com: insert xxxxxxxxxxxx: 9 records
52
+ 2000-12-31 21:26:13 foobar unknown 192.168.195.12
53
+ 2000-12-31 21:26:14 192.168.195.12: insert xxxxxxx: (9999 records in 1.222222 sec)
54
+ 2000-12-31 21:26:14 192.168.195.12: insert xxxxxxxxxx: 99 records
55
+ 2000-12-31 21:26:14 192.168.195.12: insert xxxxxxxxx: 9 records
56
+ 2000-12-31 21:26:14 192.168.195.12: insert xxxxxxxxxxxxx: 99 records
57
+ 2000-12-31 21:26:14 192.168.195.12: insert xxxxxxxxx: 9 records
58
+ 2000-12-31 21:26:14 192.168.195.12: insert xxxxxxxx: 9 records
59
+ 2000-12-31 21:26:14 192.168.195.12: insert xxxxxxxxxxxx: 9 records
60
+ 2000-12-31 21:26:14 foobar unknown qqqqqqqqqq.example.com
61
+ 2000-12-31 21:26:16 rrrrrrrrrr.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
62
+ 2000-12-31 21:26:16 ffffffffff.example.com: insert xxxxxxxxxx: 99 records
63
+ 2000-12-31 21:26:16 rrrrrrrrrr.example.com: insert xxxxxxxxx: 9 records
64
+ 2000-12-31 21:26:16 eeeeeeeeee.example.com: insert xxxxxxxxxxxxx: 99 records
65
+ 2000-12-31 21:26:16 pppppppppp.example.com: insert xxxxxxxxx: 9 records
66
+ 2000-12-31 21:26:17 kkkkkkkkkk.example.com: insert xxxxxxxx: 9999 records
67
+ 2000-12-31 21:26:17 mmmmmmmmmm.example.com: insert xxxxxxxxxxxx: 9 records
68
+ 2000-12-31 21:26:17 foobar unknown kkkkkkkkkk.example.com
69
+ 2000-12-31 21:26:24 mmmmmmmmmm.example.com: insert xxxxxxx: (99999 records in 11.222222 sec)
70
+ 2000-12-31 21:26:24 iiiiiiiiii.example.com: insert xxxxxxxxxx: 99 records
71
+ 2000-12-31 21:26:24 qqqqqqqqqq.example.com: insert xxxxxxxxx: 9 records
72
+ 2000-12-31 21:26:24 ffffffffff.example.com: insert xxxxxxxxxxxxx: 99 records
73
+ 2000-12-31 21:26:24 mmmmmmmmmm.example.com: insert xxxxxxxxx: 9 records
74
+ 2000-12-31 21:26:24 aaaaaaaaaa.example.com: insert xxxxxxxx: 9999 records
75
+ 2000-12-31 21:26:24 cccccccccc.example.com: insert xxxxxxxxxxxx: 9 records
76
+ 2000-12-31 21:26:25 foobar unknown gggggggggg.example.com
77
+ 2000-12-31 21:26:26 foobar unknown router1.example.jp
78
+ 2000-12-31 21:26:26 router1.example.jp: insert xxxxxxx: (9999 records in 1.222222 sec)
79
+ 2000-12-31 21:26:26 router1.example.jp: insert xxxxxxxxxx: 99 records
80
+ 2000-12-31 21:26:26 router1.example.jp: insert xxxxxxxxx: 9 records
81
+ 2000-12-31 21:26:26 router1.example.jp: insert xxxxxxxxxxxxx: 9 records
82
+ 2000-12-31 21:26:26 router1.example.jp: insert xxxxxxxxx: 9 records
83
+ 2000-12-31 21:26:26 router1.example.jp: insert xxxxxxxx: 9 records
84
+ 2000-12-31 21:26:26 router1.example.jp: insert xxxxxxxxxxxx: 9 records
85
+ 2000-12-31 21:26:27 foobar unknown router0.example.jp
86
+ 2000-12-31 21:26:28 bbbbbbbbbb.example.com: insert xxxxxxx: (99999 records in 11.22222 sec)
87
+ 2000-12-31 21:26:28 pppppppppp.example.com: insert xxxxxxxxxx: 99 records
88
+ 2000-12-31 21:26:28 tttttttttt.example.com: insert xxxxxxxxx: 9 records
89
+ 2000-12-31 21:26:28 cccccccccc.example.com: insert xxxxxxxxxxxxx: 99 records
90
+ 2000-12-31 21:26:28 llllllllll.example.com: insert xxxxxxxxx: 9 records
91
+ 2000-12-31 21:26:28 kkkkkkkkkk.example.com: insert xxxxxxxx: 9999 records
92
+ 2000-12-31 21:26:28 kkkkkkkkkk.example.com: insert xxxxxxxxxxxx: 9 records
93
+ 2000-12-31 21:26:29 #2: (8153) end
94
+ 2000-12-31 21:26:30 router0.example.jp: insert xxxxxxx: (9999 records in 1.22222 sec)
95
+ 2000-12-31 21:26:30 router0.example.jp: insert xxxxxxxxxx: 99 records
96
+ 2000-12-31 21:26:30 router0.example.jp: insert xxxxxxxxx: 9 records
97
+ 2000-12-31 21:26:30 router0.example.jp: insert xxxxxxxxxxxxx: 99 records
98
+ 2000-12-31 21:26:30 router0.example.jp: insert xxxxxxxxx: 9 records
99
+ 2000-12-31 21:26:30 router0.example.jp: insert xxxxxxxx: 9 records
100
+ 2000-12-31 21:26:30 router0.example.jp: insert xxxxxxxxxxxx: 9 records
101
+ 2000-12-31 21:26:30 #1: (8152) end
102
+ 2000-12-31 21:26:30 waiting children, done (pid 8140)
103
+ 2000-12-31 21:26:30 foobar unknown: elapsed 11.222222 sec
104
+ 2000-12-31 21:26:30 unlocked: "/tmp/zzzfoobaror-lock" (pid 8140)
105
+ 2000-12-31 21:26:30 END: foobarorController (pid 8140)
data/test/txt/6.log ADDED
@@ -0,0 +1,105 @@
1
+ 2000-12-31 21:31:01 START: foobarorController (pid 8180)
2
+ 2000-12-31 21:31:01 lock_path: "/tmp/zzzfoobaror-lock" (pid 8180)
3
+ 2000-12-31 21:31:01 sock_path: "/tmp/.foobarorsock.8180"
4
+ 2000-12-31 21:31:02 #1: (8182) start
5
+ 2000-12-31 21:31:02 foobar unknown bbbbbbbbbb.example.com
6
+ 2000-12-31 21:31:02 #2: (8183) start
7
+ 2000-12-31 21:31:02 foobar unknown tttttttttt.example.com
8
+ 2000-12-31 21:31:02 #3: (8184) start
9
+ 2000-12-31 21:31:02 foobar unknown qqqqqqqqqq.example.com
10
+ 2000-12-31 21:31:02 #4: (8185) start
11
+ 2000-12-31 21:31:02 foobar unknown oooooooooo.example.com
12
+ 2000-12-31 21:31:02 #5: (8186) start
13
+ 2000-12-31 21:31:02 foobar unknown dddddddddd.example.com
14
+ 2000-12-31 21:31:02 #6: (8187) start
15
+ 2000-12-31 21:31:02 foobar unknown cccccccccc.example.com
16
+ 2000-12-31 21:31:02 #7: (8188) start
17
+ 2000-12-31 21:31:02 foobar unknown rrrrrrrrrr.example.com
18
+ 2000-12-31 21:31:02 #8: (8189) start
19
+ 2000-12-31 21:31:02 foobar unknown aaaaaaaaaa.example.com
20
+ 2000-12-31 21:31:03 foobar unknown bbbbbbbbbb.example.com
21
+ 2000-12-31 21:31:03 #9: (8190) start
22
+ 2000-12-31 21:31:03 foobar unknown bbbbbbbbbb.example.com
23
+ 2000-12-31 21:31:03 #10: (8191) start
24
+ 2000-12-31 21:31:03 foobar unknown tttttttttt.example.com
25
+ 2000-12-31 21:31:03 foobar unknown bbbbbbbbbb.example.com
26
+ 2000-12-31 21:31:03 foobar unknown router1.example.jp
27
+ 2000-12-31 21:31:03 foobar unknown router0.example.jp
28
+ 2000-12-31 21:31:03 #6: (8187) end
29
+ 2000-12-31 21:31:04 #4: (8185) end
30
+ 2000-12-31 21:31:04 #10: (8191) end
31
+ 2000-12-31 21:31:04 #9: (8190) end
32
+ 2000-12-31 21:31:04 #1: (8182) end
33
+ 2000-12-31 21:31:04 #2: (8183) end
34
+ 2000-12-31 21:31:05 #5: (8186) end
35
+ 2000-12-31 21:31:05 #7: (8188) end
36
+ 2000-12-31 21:31:05 #8: (8189) end
37
+ 2000-12-31 21:31:05 #3: (8184) end
38
+ 2000-12-31 21:31:05 waiting children, done (pid 8180)
39
+ 2000-12-31 21:31:05 foobar unknown: elapsed 1.222222 sec
40
+ 2000-12-31 21:31:05 sock_path: "/tmp/.foobarorsock.8180"
41
+ 2000-12-31 21:31:07 #1: (8192) start
42
+ 2000-12-31 21:31:07 foobar unknown oooooooooo.example.com
43
+ 2000-12-31 21:31:07 #2: (8193) start
44
+ 2000-12-31 21:31:07 foobar unknown oooooooooo.example.com
45
+ 2000-12-31 21:31:11 qqqqqqqqqq.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
46
+ 2000-12-31 21:31:11 tttttttttt.example.com: insert xxxxxxxxxx: 99 records
47
+ 2000-12-31 21:31:11 rrrrrrrrrr.example.com: insert xxxxxxxxx: 9 records
48
+ 2000-12-31 21:31:11 jjjjjjjjjj.example.com: insert xxxxxxxxxxxxx: 99 records
49
+ 2000-12-31 21:31:11 nnnnnnnnnn.example.com: insert xxxxxxxxx: 9 records
50
+ 2000-12-31 21:31:11 pppppppppp.example.com: insert xxxxxxxx: 9999 records
51
+ 2000-12-31 21:31:11 tttttttttt.example.com: insert xxxxxxxxxxxx: 9 records
52
+ 2000-12-31 21:31:12 foobar unknown 192.168.195.12
53
+ 2000-12-31 21:31:13 192.168.195.12: insert xxxxxxx: (9999 records in 1.222222 sec)
54
+ 2000-12-31 21:31:13 192.168.195.12: insert xxxxxxxxxx: 99 records
55
+ 2000-12-31 21:31:13 192.168.195.12: insert xxxxxxxxx: 9 records
56
+ 2000-12-31 21:31:13 192.168.195.12: insert xxxxxxxxxxxxx: 99 records
57
+ 2000-12-31 21:31:13 192.168.195.12: insert xxxxxxxxx: 9 records
58
+ 2000-12-31 21:31:13 192.168.195.12: insert xxxxxxxx: 9 records
59
+ 2000-12-31 21:31:13 192.168.195.12: insert xxxxxxxxxxxx: 9 records
60
+ 2000-12-31 21:31:13 foobar unknown mmmmmmmmmm.example.com
61
+ 2000-12-31 21:31:16 ffffffffff.example.com: insert xxxxxxx: (99999 records in 1.222222 sec)
62
+ 2000-12-31 21:31:16 ffffffffff.example.com: insert xxxxxxxxxx: 99 records
63
+ 2000-12-31 21:31:16 ssssssssss.example.com: insert xxxxxxxxx: 9 records
64
+ 2000-12-31 21:31:16 qqqqqqqqqq.example.com: insert xxxxxxxxxxxxx: 99 records
65
+ 2000-12-31 21:31:16 pppppppppp.example.com: insert xxxxxxxxx: 9 records
66
+ 2000-12-31 21:31:16 nnnnnnnnnn.example.com: insert xxxxxxxx: 9999 records
67
+ 2000-12-31 21:31:16 jjjjjjjjjj.example.com: insert xxxxxxxxxxxx: 9 records
68
+ 2000-12-31 21:31:16 foobar unknown ssssssssss.example.com
69
+ 2000-12-31 21:31:24 mmmmmmmmmm.example.com: insert xxxxxxx: (99999 records in 11.222222 sec)
70
+ 2000-12-31 21:31:24 aaaaaaaaaa.example.com: insert xxxxxxxxxx: 99 records
71
+ 2000-12-31 21:31:24 aaaaaaaaaa.example.com: insert xxxxxxxxx: 9 records
72
+ 2000-12-31 21:31:24 bbbbbbbbbb.example.com: insert xxxxxxxxxxxxx: 99 records
73
+ 2000-12-31 21:31:24 pppppppppp.example.com: insert xxxxxxxxx: 9 records
74
+ 2000-12-31 21:31:24 ssssssssss.example.com: insert xxxxxxxx: 9999 records
75
+ 2000-12-31 21:31:24 pppppppppp.example.com: insert xxxxxxxxxxxx: 9 records
76
+ 2000-12-31 21:31:25 foobar unknown aaaaaaaaaa.example.com
77
+ 2000-12-31 21:31:26 foobar unknown router1.example.jp
78
+ 2000-12-31 21:31:26 router1.example.jp: insert xxxxxxx: (9999 records in 1.22222 sec)
79
+ 2000-12-31 21:31:26 router1.example.jp: insert xxxxxxxxxx: 99 records
80
+ 2000-12-31 21:31:26 router1.example.jp: insert xxxxxxxxx: 9 records
81
+ 2000-12-31 21:31:26 router1.example.jp: insert xxxxxxxxxxxxx: 9 records
82
+ 2000-12-31 21:31:26 router1.example.jp: insert xxxxxxxxx: 9 records
83
+ 2000-12-31 21:31:26 router1.example.jp: insert xxxxxxxx: 9 records
84
+ 2000-12-31 21:31:26 router1.example.jp: insert xxxxxxxxxxxx: 9 records
85
+ 2000-12-31 21:31:27 foobar unknown router0.example.jp
86
+ 2000-12-31 21:31:28 kkkkkkkkkk.example.com: insert xxxxxxx: (99999 records in 11.22222 sec)
87
+ 2000-12-31 21:31:28 qqqqqqqqqq.example.com: insert xxxxxxxxxx: 99 records
88
+ 2000-12-31 21:31:28 dddddddddd.example.com: insert xxxxxxxxx: 9 records
89
+ 2000-12-31 21:31:28 nnnnnnnnnn.example.com: insert xxxxxxxxxxxxx: 99 records
90
+ 2000-12-31 21:31:28 iiiiiiiiii.example.com: insert xxxxxxxxx: 9 records
91
+ 2000-12-31 21:31:28 oooooooooo.example.com: insert xxxxxxxx: 9999 records
92
+ 2000-12-31 21:31:28 jjjjjjjjjj.example.com: insert xxxxxxxxxxxx: 9 records
93
+ 2000-12-31 21:31:29 #2: (8193) end
94
+ 2000-12-31 21:31:30 router0.example.jp: insert xxxxxxx: (9999 records in 1.222222 sec)
95
+ 2000-12-31 21:31:30 router0.example.jp: insert xxxxxxxxxx: 99 records
96
+ 2000-12-31 21:31:30 router0.example.jp: insert xxxxxxxxx: 9 records
97
+ 2000-12-31 21:31:30 router0.example.jp: insert xxxxxxxxxxxxx: 99 records
98
+ 2000-12-31 21:31:30 router0.example.jp: insert xxxxxxxxx: 9 records
99
+ 2000-12-31 21:31:30 router0.example.jp: insert xxxxxxxx: 9 records
100
+ 2000-12-31 21:31:30 router0.example.jp: insert xxxxxxxxxxxx: 9 records
101
+ 2000-12-31 21:31:30 #1: (8192) end
102
+ 2000-12-31 21:31:30 waiting children, done (pid 8180)
103
+ 2000-12-31 21:31:30 foobar unknown: elapsed 11.222222 sec
104
+ 2000-12-31 21:31:30 unlocked: "/tmp/zzzfoobaror-lock" (pid 8180)
105
+ 2000-12-31 21:31:30 END: foobarorController (pid 8180)