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



郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。