監控狀態方法

一、查看端口
nginx

lsof -i :80|wc -lcurl

二、遠程端口
ide

nmap 192.168.1.13 -p 80|grep open|wc -lurl

三、查看本地進程
code

ps -ef|grep nginx|wc -l進程

四、查看狀態
get

curl -I -s -w "%{http_code}" -o /dev/null 192.168.1.13it

五、查看返回值
class

wget --spider --timeout=10 --tries2 192.168.1.13 &>/dev/nullmap

相關文章
相關標籤/搜索