Browse Source

steamport

pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
37dce0c0b5
  1. 7
      lgsm/functions/command_dev_query_raw.sh

7
lgsm/functions/command_dev_query_raw.sh

@ -55,6 +55,13 @@ if [ -v httpport ]; then
else
echo -e "HTTP:\tN/A"
fi
if [ -v steamport ]; then
echo -e "Steam:\t${steamport}\t$(ss -tupl|grep ${steamport}|wc -l)\t$(ss -tupl|grep ${steamport}|grep tcp|awk '{ print $2 }')\t$(ss -tupl|grep ${steamport}|grep udp|awk '{ print $2 }')"
else
echo -e "HTTP:\tN/A"
fi
} | column -s $'\t' -t
echo -e ""
echo -e "${lightgreen}Query Port - Raw Output${default}"

Loading…
Cancel
Save