scripts: make output more compact
see
@@ -46,14 +46,14 @@ PORT=`kdb sget /sw/elektra/restbackend/#0/current/cppcms/service/port 8080`
echo "The backend should running on $IP:$PORT"
-netstat -p --listen --numeric-ports
+netstat -tlpen
# then start the backend; succeed if it was not started before..
kdb stop-rest-backend || /bin/true
# avoid 'address already in use'
-while netstat -p --listen --numeric-ports | grep "$IP:$PORT"
+while netstat -tlpen | grep "$IP:$PORT"
do
sleep 1 # keep waiting (=downtime) short
done
@@ -65,7 +65,7 @@ echo -n "New PID is: "
cat /run/elektra-rest-backend.pid || /bin/true
echo
-netstat -p --listen --numeric-ports
+netstat -tlpen
# we have to make sure the backend had time to start before we can go on
# (necessary because the command `kdb run-rest-backend` runs in the background)
