1、查看云主机所走公网ip
curl ifconfig.me curl icanhazip.com
2、nginx查看某一时间段日志
cat web.log | egrep "01/Apr/2014" | sed -n '/21:31:36/,/21:50:08/p'