Get application pid listening on a network port in Solaris (aka netstat -npl in Solaris?)
#!/bin/bash # Get the process which listens on port # $1 is the port we are looking for if [ $# -lt 1 ] then echo «Please provide a port number parameter for this script» echo «e.g. $0 22» exit fi echo «Greping for your port, please be patient (CTRL+C breaks) … » for i… Leer más »