Proces na portu : 5451
NETSTAT :
bash-4.2$ netstat -Aan | grep 5451
f1000e0004ce1bb8 tcp 0 0 *.5451 *.* LISTEN
RMSOCK
bash-4.2$ rmsock f1000e0004ce1bb8 tcpcb
The socket 0xf1000e0004ce1808 is being held by proccess 15990858 (sas).
Výsledek :
Port 5451 drží proces 15990858
pak stačí :
bash-4.2$ ps -ef | grep 15990858
sas 8257540 15990858 0 Apr 29 – 0:00 sasels 8 5 9 2 f4b3d
sas 15990858 15007850 0 Apr 29 – 0:04 /usr/local/SAS/SASHome/SASFoundation/9.4/sasexe/sas
a :
bash-4.2$ ps -ef | grep 15007850
sas 15007850 1 0 Apr 29 – 0:00 /bin/sh -p /usr/local/SAS/KOOPERATIVADW/Lev1/SASApp/OLAPServer/OLAPServer.sh start2_tag
sas 15990858 15007850 0 Apr 29 – 0:04 /usr/local/SAS/SASHome/SASFoundation/9.4/sasexe/sas