大橙子网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

sed小知识

[dd logs]$ tail -f catalina.out
[DEBUG] [New I/O client worker #1-2] 2017-07-04T15:00:33.461+0800 com.alibaba.dubbo.remoting.exchange.support.header.HeartbeatHandler:received:82>  [DUBBO] Receive heartbeat response in thread New I/O client worker #1-2, dubbo version: 2.5.3, current host: 172.16.8.3
[DEBUG] [localhost-startStop-1-SendThread(vt28:2183)] 2017-07-04T15:00:34.790+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x65cee405c9e004d after 0ms
[DEBUG] [New I/O client worker #1-3] 2017-07-04T15:00:35.329+0800
com.alibaba.dubbo.remoting.exchange.support.header.HeartbeatHandler:received:72>  [DUBBO] Received heartbeat from remote channel /172.16.8.22:18099, cause: The channel has no data-transmission exceeds a heartbeat period: 60000ms, dubbo version: 2.5.3, current host: 172.16.8.3
[DEBUG] [New I/O client worker #1-3] 2017-07-04T15:00:35.330+0800 com.alibaba.dubbo.remoting.exchange.support.header.HeartbeatHandler:received:72>  [DUBBO] Received heartbeat from remote channel /172.16.8.22:18099, cause: The channel has no data-transmission exceeds a heartbeat period: 60000ms, dubbo version: 2.5.3, current host: 172.16.8.3
[DEBUG] [localhost-startStop-1-SendThread(vt27:2183)] 2017-07-04T15:00:43.100+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x55cee4043800064 after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt28:2183)] 2017-07-04T15:00:44.800+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x65cee405c9e004d after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt27:2183)] 2017-07-04T15:00:53.109+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x55cee4043800064 after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt28:2183)] 2017-07-04T15:00:54.807+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x65cee405c9e004d after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt27:2183)] 2017-07-04T15:01:03.116+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x55cee4043800064 after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt28:2183)] 2017-07-04T15:01:04.816+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x65cee405c9e004d after 0ms
^C

创新互联服务项目包括进贤网站建设、进贤网站制作、进贤网页制作以及进贤网络营销策划等。多年来,我们专注于互联网行业,利用自身积累的技术优势、行业经验、深度合作伙伴关系等,向广大中小型企业、政府机构等提供互联网行业的解决方案,进贤网站推广取得了明显的社会效益与经济效益。目前,我们服务的客户以成都为中心已经辐射到进贤省份的部分城市,未来相信会继续扩大服务区域并继续获得客户的支持与信任!

[dd logs]$ sed -n '/2017-07-04T15:00:43.100+0800/,/2017-07-04T15:01:04.816+0800/p' catalina.out>/tmp/log.txt

[dd logs]$ cat /tmp/log.txt
[DEBUG] [localhost-startStop-1-SendThread(vt27:2183)] 2017-07-04T15:00:43.100+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x55cee4043800064 after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt28:2183)] 2017-07-04T15:00:44.800+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x65cee405c9e004d after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt27:2183)] 2017-07-04T15:00:53.109+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x55cee4043800064 after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt28:2183)] 2017-07-04T15:00:54.807+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x65cee405c9e004d after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt27:2183)] 2017-07-04T15:01:03.116+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x55cee4043800064 after 0ms
[DEBUG] [localhost-startStop-1-SendThread(vt28:2183)] 2017-07-04T15:01:04.816+0800 org.apache.zookeeper.ClientCnxn:readResponse:742> Got ping response for sessionid: 0x65cee405c9e004d after 0ms
[cloud@vt3 logs]$

本文标题:sed小知识
URL分享:http://dzwzjz.com/article/pshjgg.html
在线咨询
服务热线
服务热线:028-86922220
TOP