3 ms·
Well, you need to monitor the process for going down anyway, and ss -lntp | grep 'pid=<SERVER'S PID>' | awk '{ print $4 }' takes care of servers who don't
by Joker_vD 2y ago
Well, you need to monitor the process for going down anyway, and
ss -lntp | grep 'pid=<SERVER'S PID>' | awk '{ print $4 }'
takes care of servers who don't report the port they're actually listening on.