-
Notifications
You must be signed in to change notification settings - Fork 0
/
erlang_redis.script
218 lines (218 loc) · 11.1 KB
/
erlang_redis.script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
%% script generated at {2017,7,13} {20,37,23}
{script,
{"erlang_redis","0.1.0"},
[{preLoaded,
[erl_prim_loader,erl_tracer,erlang,erts_code_purger,
erts_dirty_process_code_checker,erts_internal,
erts_literal_area_collector,init,otp_ring0,prim_eval,prim_file,
prim_inet,prim_zip,zlib]},
{progress,preloaded},
{path,
["c:/Program Files/erl8.3/lib/kernel-5.2/ebin",
"c:/Program Files/erl8.3/lib/stdlib-3.3/ebin"]},
{primLoad,
[error_handler,application,application_controller,application_master,
code,code_server,erl_eval,erl_lint,erl_parse,error_logger,ets,file,
filename,file_server,file_io_server,gen,gen_event,gen_server,heart,
kernel,lists,proc_lib,supervisor]},
{kernel_load_completed},
{progress,kernel_load_completed},
{path,["c:/Program Files/erl8.3/lib/kernel-5.2/ebin"]},
{primLoad,
[application_starter,auth,disk_log,disk_log_1,disk_log_server,
disk_log_sup,dist_ac,dist_util,erl_boot_server,erl_ddll,
erl_distribution,erl_epmd,erl_reply,erts_debug,gen_sctp,gen_tcp,
gen_udp,global,global_group,global_search,group,hipe_unified_loader,
inet,inet6_sctp,inet6_tcp,inet6_tcp_dist,inet6_udp,inet_config,
inet_db,inet_dns,inet_gethost_native,inet_hosts,inet_parse,inet_res,
inet_sctp,inet_tcp,inet_tcp_dist,inet_udp,kernel_config,local_tcp,
local_udp,net,net_adm,net_kernel,os,pg2,ram_file,rpc,seq_trace,
standard_error,user,user_drv,user_sup,wrap_log_reader]},
{path,["c:/Program Files/erl8.3/lib/stdlib-3.3/ebin"]},
{primLoad,
[array,base64,beam_lib,binary,c,calendar,dets,dets_server,dets_sup,
dets_utils,dets_v8,dets_v9,dict,digraph,digraph_utils,edlin,
edlin_expand,epp,erl_anno,erl_bits,erl_compile,erl_expand_records,
erl_internal,erl_posix_msg,erl_pp,erl_scan,erl_tar,
error_logger_file_h,error_logger_tty_h,escript,eval_bits,
file_sorter,filelib,gb_sets,gb_trees,gen_fsm,gen_statem,io,io_lib,
io_lib_format,io_lib_fread,io_lib_pretty,lib,log_mf_h,maps,math,
ms_transform,orddict,ordsets,otp_internal,pool,proplists,qlc,qlc_pt,
queue,rand,random,re,sets,shell,shell_default,slave,sofs,string,
supervisor_bridge,sys,timer,unicode,win32reg,zip]},
{path,["c:/Program Files/erl8.3/lib/sasl-3.0.3/ebin"]},
{primLoad,
[alarm_handler,erlsrv,format_lib_supp,misc_supp,rb,rb_format_supp,
release_handler,release_handler_1,sasl,sasl_report,
sasl_report_file_h,sasl_report_tty_h,si,si_sasl_supp,systools,
systools_lib,systools_make,systools_rc,systools_relup]},
{path,["e:/idea-peoject/erlang_redis/deps/mysql/ebin"]},
{primLoad,[mysql,mysql_cache,mysql_encode,mysql_protocol]},
{path,["e:/idea-peoject/erlang_redis/apps/example/ebin"]},
{primLoad,[example,example_worker,poolboy,poolboy_sup,poolboy_worker]},
{path,["e:/idea-peoject/erlang_redis/ebin"]},
{primLoad,
[d1,demo1,erlang_redis,exception,fsm,fsm_tem,gen_sup,mysql_test,
pushbutton,recursive,redis_app,redis_element,redis_event,
redis_event_logger,redis_store,redis_sup,resource_discovery,sa,
simple_redis,test,test_statem,unit]},
{progress,modules_loaded},
{path,
["c:/Program Files/erl8.3/lib/kernel-5.2/ebin",
"c:/Program Files/erl8.3/lib/stdlib-3.3/ebin",
"c:/Program Files/erl8.3/lib/sasl-3.0.3/ebin",
"e:/idea-peoject/erlang_redis/deps/mysql/ebin",
"e:/idea-peoject/erlang_redis/apps/example/ebin",
"e:/idea-peoject/erlang_redis/ebin"]},
{kernelProcess,heart,{heart,start,[]}},
{kernelProcess,error_logger,{error_logger,start_link,[]}},
{kernelProcess,application_controller,
{application_controller,start,
[{application,kernel,
[{description,"ERTS CXC 138 10"},
{vsn,"5.2"},
{id,[]},
{modules,
[application,application_controller,application_master,
application_starter,auth,code,code_server,dist_util,
erl_boot_server,erl_distribution,erl_reply,
error_handler,error_logger,file,file_server,
file_io_server,global,global_group,global_search,
group,heart,hipe_unified_loader,inet6_tcp,
inet6_tcp_dist,inet6_udp,inet6_sctp,inet_config,
inet_hosts,inet_gethost_native,inet_tcp_dist,kernel,
kernel_config,local_tcp,local_udp,net,net_adm,
net_kernel,os,ram_file,rpc,user,user_drv,user_sup,
disk_log,disk_log_1,disk_log_server,disk_log_sup,
dist_ac,erl_ddll,erl_epmd,erts_debug,gen_tcp,gen_udp,
gen_sctp,inet,inet_db,inet_dns,inet_parse,inet_res,
inet_tcp,inet_udp,inet_sctp,pg2,seq_trace,
standard_error,wrap_log_reader]},
{registered,
[application_controller,erl_reply,auth,boot_server,
code_server,disk_log_server,disk_log_sup,
erl_prim_loader,error_logger,file_server_2,
fixtable_server,global_group,global_name_server,heart,
init,kernel_config,kernel_sup,net_kernel,net_sup,rex,
user,os_server,ddll_server,erl_epmd,inet_db,pg2]},
{applications,[]},
{included_applications,[]},
{env,[{error_logger,tty}]},
{maxT,infinity},
{maxP,infinity},
{mod,{kernel,[]}}]}]}},
{progress,init_kernel_started},
{apply,
{application,load,
[{application,stdlib,
[{description,"ERTS CXC 138 10"},
{vsn,"3.3"},
{id,[]},
{modules,
[array,base64,beam_lib,binary,c,calendar,dets,
dets_server,dets_sup,dets_utils,dets_v8,dets_v9,dict,
digraph,digraph_utils,edlin,edlin_expand,epp,
eval_bits,erl_anno,erl_bits,erl_compile,erl_eval,
erl_expand_records,erl_internal,erl_lint,erl_parse,
erl_posix_msg,erl_pp,erl_scan,erl_tar,
error_logger_file_h,error_logger_tty_h,escript,ets,
file_sorter,filelib,filename,gb_trees,gb_sets,gen,
gen_event,gen_fsm,gen_server,gen_statem,io,io_lib,
io_lib_format,io_lib_fread,io_lib_pretty,lib,lists,
log_mf_h,maps,math,ms_transform,orddict,ordsets,
otp_internal,pool,proc_lib,proplists,qlc,qlc_pt,queue,
rand,random,re,sets,shell,shell_default,slave,sofs,
string,supervisor,supervisor_bridge,sys,timer,unicode,
win32reg,zip]},
{registered,
[timer_server,rsh_starter,take_over_monitor,
pool_master,dets]},
{applications,[kernel]},
{included_applications,[]},
{env,[]},
{maxT,infinity},
{maxP,infinity}]}]}},
{apply,
{application,load,
[{application,sasl,
[{description,"SASL CXC 138 11"},
{vsn,"3.0.3"},
{id,[]},
{modules,
[sasl,alarm_handler,format_lib_supp,misc_supp,rb,
rb_format_supp,release_handler,release_handler_1,
erlsrv,sasl_report,sasl_report_tty_h,
sasl_report_file_h,si,si_sasl_supp,systools,
systools_make,systools_rc,systools_relup,
systools_lib]},
{registered,[sasl_sup,alarm_handler,release_handler]},
{applications,[kernel,stdlib]},
{included_applications,[]},
{env,[{sasl_error_logger,tty},{errlog_type,all}]},
{maxT,infinity},
{maxP,infinity},
{mod,{sasl,[]}}]}]}},
{apply,
{application,load,
[{application,mysql,
[{description,"MySQL/OTP - Erlang MySQL client driver"},
{vsn,"1.2.0"},
{id,[]},
{modules,[mysql,mysql_cache,mysql_encode,mysql_protocol]},
{registered,[]},
{applications,[]},
{included_applications,[]},
{env,[]},
{maxT,infinity},
{maxP,infinity}]}]}},
{apply,
{application,load,
[{application,example,
[{description,"An example application"},
{vsn,"1.5.1"},
{id,[]},
{modules,
[example,example_worker,poolboy,poolboy_sup,
poolboy_worker]},
{registered,[example]},
{applications,[kernel,stdlib,sasl]},
{included_applications,[]},
{env,
[{pools,
[{pool1,
[{size,10},{max_overflow,20}],
[{hostname,"127.0.0.1"},
{database,"hello"},
{username,"root"},
{password,"cwtborn123"}]}]}]},
{maxT,infinity},
{maxP,infinity},
{mod,{example,[]}}]}]}},
{apply,
{application,load,
[{application,erlang_redis,
[{description,"a simple redis"},
{vsn,"0.1.0"},
{id,[]},
{modules,
[d1,demo1,erlang_redis,exception,fsm,fsm_tem,gen_sup,
mysql_test,pushbutton,recursive,redis_app,
redis_element,redis_event,redis_event_logger,
redis_store,redis_sup,resource_discovery,sa,
simple_redis,test,test_statem,unit]},
{registered,[]},
{applications,[kernel,stdlib,mysql,example]},
{included_applications,[]},
{env,[]},
{maxT,infinity},
{maxP,infinity},
{mod,{erlang_redis,[]}}]}]}},
{progress,applications_loaded},
{apply,{application,start_boot,[kernel,permanent]}},
{apply,{application,start_boot,[stdlib,permanent]}},
{apply,{application,start_boot,[sasl,permanent]}},
{apply,{application,start_boot,[mysql,permanent]}},
{apply,{application,start_boot,[example,permanent]}},
{apply,{application,start_boot,[erlang_redis,permanent]}},
{apply,{c,erlangrc,[]}},
{progress,started}]}.