ss 取代 ifconfig
parent
adbaa2dd42
commit
e625fc7334
|
@ -56,6 +56,6 @@ echo "now geekbench5!"
|
|||
./geekbench5 > result_geekbench5.txt
|
||||
|
||||
docker run -d -e MODE=standalone -p 88:80 -it adolfintel/speedtest
|
||||
echo "`ifconfig eth0 | head -n2 | grep inet | awk '{print$2}'`:88" >> result_geekbench5.txt
|
||||
echo "`ip a | head -n13 | grep /24 | awk '{print$2}' | sed 's/\/24//g'`:88" >> result_geekbench5.txt
|
||||
|
||||
echo "step 4: test has finished"
|
Loading…
Reference in New Issue