摘要:
zjtest7-redis:/root/zk# cat test_zk.pl use ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; sub check_port { ... 阅读全文
posted @ 2016-08-16 13:58
czcb
阅读(226)
评论(0)
推荐(0)
摘要:
zjtest7-redis:/root/zk# cat test_zk.pl use ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; sub check_port { ... 阅读全文
posted @ 2016-08-16 13:58
czcb
阅读(160)
评论(0)
推荐(0)
摘要:
zjtest7-redis:/root/zk# cat a1.pl use ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; sub check_port { ( $... 阅读全文
posted @ 2016-08-16 11:27
czcb
阅读(165)
评论(0)
推荐(0)
摘要:
zjtest7-redis:/root/zk# cat a1.pl use ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; sub check_port { ( $... 阅读全文
posted @ 2016-08-16 11:27
czcb
阅读(242)
评论(0)
推荐(0)
摘要:
如果在连接时候zk服务器宕机To create a client session the application code must provide a connection string containing a comma separated list of host:port pairs,... 阅读全文
posted @ 2016-08-16 10:52
czcb
阅读(321)
评论(0)
推荐(0)
摘要:
如果在连接时候zk服务器宕机To create a client session the application code must provide a connection string containing a comma separated list of host:port pairs,... 阅读全文
posted @ 2016-08-16 10:52
czcb
阅读(536)
评论(0)
推荐(0)
摘要:
mysql master:test:/root/zk# cat zk.pluse ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; my $zk = ZooKeeper->new(hosts => '120.55.1... 阅读全文
posted @ 2016-08-15 21:26
czcb
阅读(147)
评论(0)
推荐(0)
摘要:
mysql master:test:/root/zk# cat zk.pluse ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; my $zk = ZooKeeper->new(hosts => '120.55.1... 阅读全文
posted @ 2016-08-15 21:26
czcb
阅读(158)
评论(0)
推荐(0)
摘要:
如果要把不同服务器发送过来的日志保存到不同的文件, 可以这样操作::fromhost-ip, isequal, “192.168.0.160″ /var/log/host160.log:FROMHOST-IP, isequal, “192.168.0.161″ /var/log/host161.... 阅读全文
posted @ 2016-08-15 16:08
czcb
阅读(152)
评论(0)
推荐(0)
摘要:
如果要把不同服务器发送过来的日志保存到不同的文件, 可以这样操作::fromhost-ip, isequal, “192.168.0.160″ /var/log/host160.log:FROMHOST-IP, isequal, “192.168.0.161″ /var/log/host161.... 阅读全文
posted @ 2016-08-15 16:08
czcb
阅读(539)
评论(0)
推荐(0)
浙公网安备 33010602011771号