fork download
  1. containerid=$(sudo docker ps --no-trunc -aqf name=appd); sudo docker exec -it $containerid netstat -tan | awk '$4 ~ /:8083/ {print $6}' | sort | uniq -c | sort -n
  2. 1 LISTEN
  3. 3 FIN_WAIT1
  4. 9 TIME_WAIT
  5. 603 ESTABLISHED
  6. 731 FIN_WAIT2
Runtime error #stdin #stdout #stderr 0s 4472KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
./prog.sh: line 2: 1: command not found
./prog.sh: line 3: 3: command not found
./prog.sh: line 4: 9: command not found
./prog.sh: line 5: 603: command not found
./prog.sh: line 6: 731: command not found