ballioballi
asked on
netstat -na|grep 9950
The port is being used by a process(9950)
netstat -na|grep 9950
Gives me the output that it is being used ,listened and Established .
I want to use this port for my weblogic port(http).and I want to know who, which process is using it so that I will
allocate a different port to this and Free my Port.
Is there any way I can find who is using this port.
Please advice????
netstat -na|grep 9950
Gives me the output that it is being used ,listened and Established .
I want to use this port for my weblogic port(http).and I want to know who, which process is using it so that I will
allocate a different port to this and Free my Port.
Is there any way I can find who is using this port.
Please advice????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Where I have to Install this tool ?? on the Server??
or Locally?? I am not a System Admin but DBA.
Your advice will be highly appreciated!!
or Locally?? I am not a System Admin but DBA.
Your advice will be highly appreciated!!
ASKER
netstat -ltnp | grep 9950"
$ netstat -ltnp | grep 10550
netstat: Not a recognized flag: l
$ netstat -ltnp | grep 10550
netstat: Not a recognized flag: l
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1, -bash-2.05b# netstat -Aa | grep ESTABLISHED
f10006000199d398 tcp4 0 0 tivp5clp2.15204 tivp5clp2.44462 ESTABLISHED --> for example
f10006000183cb98 tcp4 0 0 tivp5clp2.44462 tivp5clp2.15204 ESTABLISHED
f1000600002e4b98 tcp4 0 0 tivp5clp2.44394 tivp5clp2.44459 ESTABLISHED
2, -bash-2.05b# echo "sockinfo f10006000199d398 tcpcb"| kdb | grep proc
F100070F00000000 F100070F10000000 pvproc+000000
proc/fd: 292/146
proc/fd: fd: 146
pvproc+049000 292*java ACTIVE 01240A2 0000001 00000000EA97F400 0 0032
3, -bash-2.05b# echo "hcal 01240A2" | kdb | grep Value
Value hexa: 001240A2 Value decimal: 1196194
4, -bash-2.05b# ps -fp 1196194
UID PID PPID C STIME TTY TIME CMD
root 1196194 1 0 10:31:46 - 1:11 /opt/IBM/ITM/aix533/iw/jav a/bin/java -Declipse.security -Dosgi.install.area=/op
f10006000199d398 tcp4 0 0 tivp5clp2.15204 tivp5clp2.44462 ESTABLISHED --> for example
f10006000183cb98 tcp4 0 0 tivp5clp2.44462 tivp5clp2.15204 ESTABLISHED
f1000600002e4b98 tcp4 0 0 tivp5clp2.44394 tivp5clp2.44459 ESTABLISHED
2, -bash-2.05b# echo "sockinfo f10006000199d398 tcpcb"| kdb | grep proc
F100070F00000000 F100070F10000000 pvproc+000000
proc/fd: 292/146
proc/fd: fd: 146
pvproc+049000 292*java ACTIVE 01240A2 0000001 00000000EA97F400 0 0032
3, -bash-2.05b# echo "hcal 01240A2" | kdb | grep Value
Value hexa: 001240A2 Value decimal: 1196194
4, -bash-2.05b# ps -fp 1196194
UID PID PPID C STIME TTY TIME CMD
root 1196194 1 0 10:31:46 - 1:11 /opt/IBM/ITM/aix533/iw/jav
This will give the process associated with that port.