curl查看状态码

curl -I -m 2 -o /dev/null -s -w 8080_%{http_code}"\n" localhost:8080/status.jsp