码迷,mamicode.com
首页 > Web开发 > 详细

redis dig netstat

时间:2014-12-11 10:29:17      阅读:257      评论:0      收藏:0      [点我收藏+]

标签:redis   dig   netstat   


/srv/rorapps/huafei2 # dig huafei.funguide.com.cn

; <<>> DiG 9.9.5-3-Ubuntu <<>> huafei.funguide.com.cn
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29838
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;huafei.funguide.com.cn.	IN	A

;; ANSWER SECTION:
huafei.funguide.com.cn.	508	IN	A	54.223.137.19

;; Query time: 2 msec
;; SERVER: 10.0.0.2#53(10.0.0.2)
;; WHEN: Tue Dec 09 18:30:22 CST 2014
;; MSG SIZE  rcvd: 67


netstat -anp | grep 6379


tcp        0      0 10.0.1.17:35071         10.0.1.250:6379         ESTABLISHED 24175/ruby      
tcp        0      0 10.0.1.17:35074         10.0.1.250:6379         ESTABLISHED 24175/ruby      
tcp        0      0 10.0.1.17:35119         10.0.1.250:6379         ESTABLISHED 24175/ruby      
tcp        0      0 10.0.1.17:35088         10.0.1.250:6379         ESTABLISHED 24175/ruby      
tcp        0      0 10.0.1.17:35069         10.0.1.250:6379         ESTABLISHED 24175/ruby      
tcp        0      0 10.0.1.17:35457         10.0.1.250:6379         TIME_WAIT   -               
tcp        0      0 10.0.1.17:35070         10.0.1.250:6379         ESTABLISHED 24175/ruby  

ps aux | grep 24175


root     24175  2.6  4.1 411212 166516 ?       Ss   18:25   0:10 ruby /srv/rorapps/huafei2/lib/try_change_retry.rb
root     26474  0.0  0.0  12140   944 pts/0    S+   18:32   0:00 grep --color=auto 24175



redis dig netstat

标签:redis   dig   netstat   

原文地址:http://blog.csdn.net/menxu_work/article/details/41827283

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!