RedFox4AIX
IS-IT--Management
Hi All,
I have a client complaining a tcp port 10000 was used by another process:
root@gpscam01 # netstat -na|grep 10000
*.10000 Idle
*.10000 *.* 0 0 49152 0 LISTEN
root@gpscam01 #
My question is how can I find out which process is using it?
Also it remind me another question, I always want to know which process is using a specific share memory, let's take an example bellow, how can I find out the process using share memory id=5 key= 0x419c0bc0 ?
root@gpscam01 # ipcs -m
IPC status from <running system> as of Tue Mar 28 08:18:37 EST 2006
T ID KEY MODE OWNER GROUP
Shared Memory:
m 1024 0x410678bc --rw-rw-rw- root root
m 1 0xc6629c9 --rw-r----- root root
m 2 0x6347849 --rw-rw-rw- root root
m 3 0x31000008 --rw-rw-rw- root root
m 1028 0x41067dfe --rw-rw-rw- root root
m 5 0x419c0bc0 --rw-rw-rw- applmgr oaa
m 6150 0x19c09a5 --rw-rw---- mqm mqm
m 1031 0x19c09ad --rw-rw---- mqm mqm
I will appreciate any help from you.
Thanks!
fox
I have a client complaining a tcp port 10000 was used by another process:
root@gpscam01 # netstat -na|grep 10000
*.10000 Idle
*.10000 *.* 0 0 49152 0 LISTEN
root@gpscam01 #
My question is how can I find out which process is using it?
Also it remind me another question, I always want to know which process is using a specific share memory, let's take an example bellow, how can I find out the process using share memory id=5 key= 0x419c0bc0 ?
root@gpscam01 # ipcs -m
IPC status from <running system> as of Tue Mar 28 08:18:37 EST 2006
T ID KEY MODE OWNER GROUP
Shared Memory:
m 1024 0x410678bc --rw-rw-rw- root root
m 1 0xc6629c9 --rw-r----- root root
m 2 0x6347849 --rw-rw-rw- root root
m 3 0x31000008 --rw-rw-rw- root root
m 1028 0x41067dfe --rw-rw-rw- root root
m 5 0x419c0bc0 --rw-rw-rw- applmgr oaa
m 6150 0x19c09a5 --rw-rw---- mqm mqm
m 1031 0x19c09ad --rw-rw---- mqm mqm
I will appreciate any help from you.
Thanks!
fox