诊断工具
curl
ubuntu:~$ curl https://httpbin.org/get
{
"args": {},
"headers": {
"Accept": "*/*",
"Host": "httpbin.org",
"User-Agent": "curl/7.58.0",
"X-Amzn-Trace-Id": "Root=1-629c984a-2e1c3936379071cc3f9b3fc4"
},
"origin": "121.5.122.78",
"url": "https://httpbin.org/get"
}
ubuntu:~$ curl -X POST -d 'name=hello' https://httpbin.org/post
{
"args": {},
"data": "",
"files": {},
"form": {
"name": "hello"
},
"headers": {
"Accept": "*/*",
"Content-Length": "10",
"Content-Type": "application/x-www-form-urlencoded",
"Host": "httpbin.org",
"User-Agent": "curl/7.58.0",
"X-Amzn-Trace-Id": "Root=1-629c98c0-64e567ec62638cda249d4ed5"
},
"json": null,
"origin": "121.5.122.78",
"url": "https://httpbin.org/post"
}查看 ip 信息
ss
nslookup
ping
traceroute
tcptraceroute
mtr
tcpdump
iperf3
最后更新于