linux ps -lntp | grep port solaris는 pid를 찾는 명령어가 없어 shell 작성필요 pid_search.sh ----------------------------------- #!/bin/bash if [ $# -lt 1 ] then ehco "parameter port please" exit fi for i in `ls /proc` do pfiles $i | grep AF_INET | grep $1 if [ $? -eq 0 ] then echo pid $i fi done ----------------------------------- ex> pid_search.sh 10000