摘要:
zjtest7-redis:/root/zk# cat test_zk.pl use ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; sub check_port { ... 阅读全文
摘要:
zjtest7-redis:/root/zk# cat test_zk.pl use ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; sub check_port { ... 阅读全文
摘要:
zjtest7-redis:/root/zk# cat a1.pl use ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; sub check_port { ( $... 阅读全文
摘要:
zjtest7-redis:/root/zk# cat a1.pl use ZooKeeper;use AnyEvent;use AE;use Data::Dumper;use IO::Socket; sub check_port { ( $... 阅读全文
摘要:
如果在连接时候zk服务器宕机To create a client session the application code must provide a connection string containing a comma separated list of host:port pairs,... 阅读全文
摘要:
如果在连接时候zk服务器宕机To create a client session the application code must provide a connection string containing a comma separated list of host:port pairs,... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
如果要把不同服务器发送过来的日志保存到不同的文件, 可以这样操作::fromhost-ip, isequal, “192.168.0.160″ /var/log/host160.log:FROMHOST-IP, isequal, “192.168.0.161″ /var/log/host161.... 阅读全文
摘要:
如果要把不同服务器发送过来的日志保存到不同的文件, 可以这样操作::fromhost-ip, isequal, “192.168.0.160″ /var/log/host160.log:FROMHOST-IP, isequal, “192.168.0.161″ /var/log/host161.... 阅读全文