Collect netstat info while running tests

This commit is contained in:
Arthur Petukhovsky
2021-10-15 13:59:17 +03:00
parent 4ade0bb41c
commit 0907fe638d
2 changed files with 12 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
while true; do
echo -n "==== CURRENT TIME:" >> /tmp/test_output/netstat.stdout
date +"%T.%N" >> /tmp/test_output/netstat.stdout
netstat -vpno | grep tcp | sort >> /tmp/test_output/netstat.stdout
sleep 0.5
done