Linux - Port is being used.
Use command
netstat -tuplen
Use command
netstat -tuplen
[oracle@stand ~]$ netstat -tuplen
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 13395 -
tcp 0 0 0.0.0.0:51985 0.0.0.0:* LISTEN 29 13946 -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 15491 -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 14484 -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 54988 -
tcp 0 0 :::42156 :::* LISTEN 501 19541 3987/ora_d000_prod1
tcp 0 0 :::111 :::* LISTEN 0 13400 -
tcp 0 0 :::8080 :::* LISTEN 501 19814 3858/tnslsnr
tcp 0 0 :::1522 :::* LISTEN 501 19034 3858/tnslsnr
tcp 0 0 :::22 :::* LISTEN 0 15495 -
tcp 0 0 ::1:631 :::* LISTEN 0 14483 -
tcp 0 0 ::ffff:127.0.0.1:8005 :::* LISTEN 91 85049 -
tcp 0 0 :::50471 :::* LISTEN 29 13954 -
tcp 0 0 :::8009 :::* LISTEN 91 84985 -
udp 0 0 0.0.0.0:750 0.0.0.0:* 0 13184 -
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 13390 -
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 14487 -
udp 0 0 192.168.245.154:123 0.0.0.0:* 38 55000 -
[oracle@stand ~]$ lsof -i :8080 | grep LISTEN
tnslsnr 3858 oracle 14u IPv6 19814 0t0 TCP *:webcache (LISTEN)
[oracle@stand ~]$ ps -ef|grep 3858
oracle 3858 1 0 14:39 ? 00:00:01 /u04/app/oracle/11g/bin/tnslsnr LISTENER -inherit
oracle 20110 17768 0 18:44 pts/0 00:00:00 grep 3858
tnslsnr 3858 oracle 14u IPv6 19814 0t0 TCP *:webcache (LISTEN)
[oracle@stand ~]$ ps -ef|grep 3858
oracle 3858 1 0 14:39 ? 00:00:01 /u04/app/oracle/11g/bin/tnslsnr LISTENER -inherit
oracle 20110 17768 0 18:44 pts/0 00:00:00 grep 3858
Thanks,
No comments:
Post a Comment