摘要: 一、查看哪些IP连接本机 netstat -an 二、查看TCP连接数 1)统计80端口连接数 netstat -nat|grep -i "80"|wc -l 2)统计httpd协议连接数 ps -ef|grep httpd|wc -l 3)、统计已连接上的,状态为“established nets 阅读全文
posted @ 2016-12-12 16:36 我对天空说~ 阅读(2517) 评论(0) 推荐(0) 编辑
摘要: ./etcd --listen-client-urls http://0.0.0.0:2371 --advertise-client-urls http://0.0.0.0:2371 --listen-peer-urls http://0.0.0.0:2381 阅读全文
posted @ 2016-12-06 11:05 我对天空说~ 阅读(5092) 评论(0) 推荐(0) 编辑
摘要: 单例模式,即所谓的只能有一个实例的模式。 懒汉模式 饿汉模式 阅读全文
posted @ 2016-11-27 20:54 我对天空说~ 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 我开通啦啦啦啦啦啦 试试看 阅读全文
posted @ 2016-11-02 15:54 我对天空说~ 阅读(87) 评论(0) 推荐(0) 编辑