【lsof】使用lsof獲得打來 1521埠的程式清單
Oracle的預設監聽埠是1521,有沒有方法檢視主機中都有哪些程式開啟了這個埠,答案是肯定的,lsof這個常用命令就能順利的幫上忙。
lsof並不僅限於檢視開啟檔案的程式資訊,更多的命令參考可以參考聯機手冊“man lsof”。
1.羅列一下在這個命令的輸出資訊
sec@secDB /home/oracle$ lsof -i tcp:1521
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
oracle 10792 oracle 17u IPv4 91880706 TCP 127.0.0.1:30993->127.0.0.1:ncube-lm (ESTABLISHED)
oracle 10985 oracle 16u IPv4 99590567 TCP 192.168.193.211:ncube-lm->10.142.8.208:65131 (ESTABLISHED)
oracle 12782 oracle 16u IPv4 99609658 TCP 192.168.193.211:ncube-lm->10.142.8.208:50269 (ESTABLISHED)
oracle 13923 oracle 16u IPv4 99622058 TCP 192.168.193.211:ncube-lm->192.168.193.247:44095 (ESTABLISHED)
oracle 14181 oracle 16u IPv4 99624631 TCP 192.168.193.211:ncube-lm->10.142.8.208:50464 (ESTABLISHED)
oracle 14232 oracle 16u IPv4 99625173 TCP 192.168.193.211:ncube-lm->192.168.193.248:45881 (ESTABLISHED)
oracle 14240 oracle 16u IPv4 99625209 TCP 192.168.193.211:ncube-lm->192.168.193.248:45885 (ESTABLISHED)
oracle 14244 oracle 16u IPv4 99625227 TCP 192.168.193.211:ncube-lm->192.168.193.248:45887 (ESTABLISHED)
oracle 14246 oracle 16u IPv4 99625236 TCP 192.168.193.211:ncube-lm->192.168.193.248:45888 (ESTABLISHED)
oracle 14248 oracle 16u IPv4 99625245 TCP 192.168.193.211:ncube-lm->192.168.193.248:45889 (ESTABLISHED)
oracle 14250 oracle 16u IPv4 99625254 TCP 192.168.193.211:ncube-lm->192.168.193.248:45890 (ESTABLISHED)
oracle 14252 oracle 16u IPv4 99625263 TCP 192.168.193.211:ncube-lm->192.168.193.248:45891 (ESTABLISHED)
oracle 14254 oracle 16u IPv4 99625272 TCP 192.168.193.211:ncube-lm->192.168.193.248:45892 (ESTABLISHED)
oracle 14256 oracle 16u IPv4 99625281 TCP 192.168.193.211:ncube-lm->192.168.193.248:45893 (ESTABLISHED)
oracle 14258 oracle 16u IPv4 99625290 TCP 192.168.193.211:ncube-lm->192.168.193.248:45894 (ESTABLISHED)
oracle 14305 oracle 16u IPv4 99625926 TCP 192.168.193.211:ncube-lm->192.168.193.247:ip-provision (ESTABLISHED)
oracle 14307 oracle 16u IPv4 99625935 TCP 192.168.193.211:ncube-lm->192.168.193.247:43191 (ESTABLISHED)
oracle 14309 oracle 16u IPv4 99625944 TCP 192.168.193.211:ncube-lm->192.168.193.247:43192 (ESTABLISHED)
oracle 14311 oracle 16u IPv4 99625953 TCP 192.168.193.211:ncube-lm->192.168.193.247:43193 (ESTABLISHED)
oracle 14313 oracle 16u IPv4 99625962 TCP 192.168.193.211:ncube-lm->192.168.193.247:43194 (ESTABLISHED)
oracle 14315 oracle 16u IPv4 99625971 TCP 192.168.193.211:ncube-lm->192.168.193.247:43195 (ESTABLISHED)
oracle 14317 oracle 16u IPv4 99625980 TCP 192.168.193.211:ncube-lm->192.168.193.247:43196 (ESTABLISHED)
oracle 14319 oracle 16u IPv4 99625989 TCP 192.168.193.211:ncube-lm->192.168.193.247:43197 (ESTABLISHED)
oracle 14321 oracle 16u IPv4 99625998 TCP 192.168.193.211:ncube-lm->192.168.193.247:43198 (ESTABLISHED)
oracle 14323 oracle 16u IPv4 99626007 TCP 192.168.193.211:ncube-lm->192.168.193.247:43199 (ESTABLISHED)
oracle 14403 oracle 16u IPv4 99626999 TCP 192.168.193.211:ncube-lm->192.168.193.243:55455 (ESTABLISHED)
oracle 14418 oracle 16u IPv4 99627097 TCP 192.168.193.211:ncube-lm->192.168.193.242:46440 (ESTABLISHED)
oracle 14452 oracle 16u IPv4 99627578 TCP 192.168.193.211:ncube-lm->192.168.193.220:35134 (ESTABLISHED)
oracle 14454 oracle 16u IPv4 99627587 TCP 192.168.193.211:ncube-lm->192.168.193.220:35135 (ESTABLISHED)
oracle 14456 oracle 16u IPv4 99627596 TCP 192.168.193.211:ncube-lm->192.168.193.220:35136 (ESTABLISHED)
oracle 14532 oracle 16u IPv4 99628406 TCP 192.168.193.211:ncube-lm->192.168.193.209:33152 (ESTABLISHED)
oracle 14534 oracle 16u IPv4 99628415 TCP 192.168.193.211:ncube-lm->192.168.193.209:33153 (ESTABLISHED)
oracle 14536 oracle 16u IPv4 99628424 TCP 192.168.193.211:ncube-lm->192.168.193.209:33154 (ESTABLISHED)
oracle 14569 oracle 16u IPv4 99628747 TCP 192.168.193.211:ncube-lm->192.168.193.248:39258 (ESTABLISHED)
oracle 14571 oracle 16u IPv4 99628756 TCP 192.168.193.211:ncube-lm->192.168.193.248:39259 (ESTABLISHED)
oracle 14573 oracle 16u IPv4 99628765 TCP 192.168.193.211:ncube-lm->192.168.193.248:39260 (ESTABLISHED)
oracle 14575 oracle 16u IPv4 99628774 TCP 192.168.193.211:ncube-lm->192.168.193.248:39261 (ESTABLISHED)
oracle 14581 oracle 16u IPv4 99628788 TCP 192.168.193.211:ncube-lm->192.168.193.249:53762 (ESTABLISHED)
oracle 14583 oracle 16u IPv4 99628797 TCP 192.168.193.211:ncube-lm->192.168.193.249:53763 (ESTABLISHED)
oracle 14585 oracle 16u IPv4 99628806 TCP 192.168.193.211:ncube-lm->192.168.193.249:53764 (ESTABLISHED)
oracle 14587 oracle 16u IPv4 99628815 TCP 192.168.193.211:ncube-lm->192.168.193.249:53765 (ESTABLISHED)
oracle 14589 oracle 16u IPv4 99628824 TCP 192.168.193.211:ncube-lm->192.168.193.249:53766 (ESTABLISHED)
oracle 14591 oracle 16u IPv4 99628833 TCP 192.168.193.211:ncube-lm->192.168.193.249:53767 (ESTABLISHED)
oracle 14610 oracle 16u IPv4 99628979 TCP 192.168.193.211:ncube-lm->192.168.193.248:39262 (ESTABLISHED)
oracle 14612 oracle 16u IPv4 99628988 TCP 192.168.193.211:ncube-lm->192.168.193.248:39263 (ESTABLISHED)
oracle 14614 oracle 16u IPv4 99628997 TCP 192.168.193.211:ncube-lm->192.168.193.248:39264 (ESTABLISHED)
oracle 14616 oracle 16u IPv4 99629006 TCP 192.168.193.211:ncube-lm->192.168.193.248:39265 (ESTABLISHED)
oracle 14618 oracle 16u IPv4 99629015 TCP 192.168.193.211:ncube-lm->192.168.193.248:39266 (ESTABLISHED)
oracle 14620 oracle 16u IPv4 99629024 TCP 192.168.193.211:ncube-lm->192.168.193.248:39267 (ESTABLISHED)
oracle 14622 oracle 16u IPv4 99629033 TCP 192.168.193.211:ncube-lm->192.168.193.248:39268 (ESTABLISHED)
oracle 14624 oracle 16u IPv4 99629042 TCP 192.168.193.211:ncube-lm->192.168.193.248:39269 (ESTABLISHED)
oracle 14626 oracle 16u IPv4 99629051 TCP 192.168.193.211:ncube-lm->192.168.193.248:39270 (ESTABLISHED)
oracle 14628 oracle 16u IPv4 99629060 TCP 192.168.193.211:ncube-lm->192.168.193.248:39271 (ESTABLISHED)
oracle 14630 oracle 16u IPv4 99629069 TCP 192.168.193.211:ncube-lm->192.168.193.248:39272 (ESTABLISHED)
oracle 14632 oracle 16u IPv4 99629078 TCP 192.168.193.211:ncube-lm->192.168.193.248:39273 (ESTABLISHED)
oracle 14634 oracle 16u IPv4 99629087 TCP 192.168.193.211:ncube-lm->192.168.193.248:39274 (ESTABLISHED)
oracle 14636 oracle 16u IPv4 99629096 TCP 192.168.193.211:ncube-lm->192.168.193.248:39275 (ESTABLISHED)
oracle 14638 oracle 16u IPv4 99629105 TCP 192.168.193.211:ncube-lm->192.168.193.248:39276 (ESTABLISHED)
oracle 14640 oracle 16u IPv4 99629114 TCP 192.168.193.211:ncube-lm->192.168.193.248:39277 (ESTABLISHED)
oracle 14642 oracle 16u IPv4 99629123 TCP 192.168.193.211:ncube-lm->192.168.193.248:39278 (ESTABLISHED)
oracle 14644 oracle 16u IPv4 99629132 TCP 192.168.193.211:ncube-lm->192.168.193.248:39279 (ESTABLISHED)
oracle 14646 oracle 16u IPv4 99629141 TCP 192.168.193.211:ncube-lm->192.168.193.248:39280 (ESTABLISHED)
oracle 14648 oracle 16u IPv4 99629150 TCP 192.168.193.211:ncube-lm->192.168.193.248:39281 (ESTABLISHED)
oracle 14650 oracle 16u IPv4 99629159 TCP 192.168.193.211:ncube-lm->192.168.193.248:39282 (ESTABLISHED)
oracle 14652 oracle 16u IPv4 99629168 TCP 192.168.193.211:ncube-lm->192.168.193.248:39283 (ESTABLISHED)
oracle 14654 oracle 16u IPv4 99629177 TCP 192.168.193.211:ncube-lm->192.168.193.248:39284 (ESTABLISHED)
oracle 14656 oracle 16u IPv4 99629186 TCP 192.168.193.211:ncube-lm->192.168.193.248:39285 (ESTABLISHED)
oracle 14658 oracle 16u IPv4 99629195 TCP 192.168.193.211:ncube-lm->192.168.193.248:39286 (ESTABLISHED)
oracle 14660 oracle 16u IPv4 99629204 TCP 192.168.193.211:ncube-lm->192.168.193.248:39287 (ESTABLISHED)
oracle 14662 oracle 16u IPv4 99629213 TCP 192.168.193.211:ncube-lm->192.168.193.248:39288 (ESTABLISHED)
oracle 14664 oracle 16u IPv4 99629222 TCP 192.168.193.211:ncube-lm->192.168.193.248:39289 (ESTABLISHED)
oracle 14666 oracle 16u IPv4 99629231 TCP 192.168.193.211:ncube-lm->192.168.193.248:39290 (ESTABLISHED)
oracle 14717 oracle 16u IPv4 99630291 TCP 192.168.193.211:ncube-lm->192.168.193.247:35440 (ESTABLISHED)
oracle 14719 oracle 16u IPv4 99630300 TCP 192.168.193.211:ncube-lm->192.168.193.247:35441 (ESTABLISHED)
oracle 14721 oracle 16u IPv4 99630309 TCP 192.168.193.211:ncube-lm->192.168.193.247:35442 (ESTABLISHED)
oracle 14723 oracle 16u IPv4 99630318 TCP 192.168.193.211:ncube-lm->192.168.193.247:35443 (ESTABLISHED)
oracle 14725 oracle 16u IPv4 99630327 TCP 192.168.193.211:ncube-lm->192.168.193.247:35444 (ESTABLISHED)
oracle 14727 oracle 16u IPv4 99630336 TCP 192.168.193.211:ncube-lm->192.168.193.247:35445 (ESTABLISHED)
oracle 14795 oracle 16u IPv4 99631103 TCP 192.168.193.211:ncube-lm->192.168.193.243:35868 (ESTABLISHED)
oracle 14797 oracle 16u IPv4 99631112 TCP 192.168.193.211:ncube-lm->192.168.193.243:35869 (ESTABLISHED)
oracle 14799 oracle 16u IPv4 99631121 TCP 192.168.193.211:ncube-lm->192.168.193.243:35870 (ESTABLISHED)
oracle 14801 oracle 16u IPv4 99631130 TCP 192.168.193.211:ncube-lm->192.168.193.243:35871 (ESTABLISHED)
oracle 14803 oracle 16u IPv4 99631139 TCP 192.168.193.211:ncube-lm->192.168.193.243:35872 (ESTABLISHED)
oracle 14837 oracle 16u IPv4 99631521 TCP 192.168.193.211:ncube-lm->192.168.193.242:47709 (ESTABLISHED)
oracle 14839 oracle 16u IPv4 99631530 TCP 192.168.193.211:ncube-lm->192.168.193.242:47710 (ESTABLISHED)
oracle 14841 oracle 16u IPv4 99631539 TCP 192.168.193.211:ncube-lm->192.168.193.242:47711 (ESTABLISHED)
oracle 14843 oracle 16u IPv4 99631548 TCP 192.168.193.211:ncube-lm->192.168.193.242:47712 (ESTABLISHED)
oracle 14845 oracle 16u IPv4 99631557 TCP 192.168.193.211:ncube-lm->192.168.193.242:47713 (ESTABLISHED)
oracle 14852 oracle 16u IPv4 99631618 TCP 192.168.193.211:ncube-lm->192.168.193.198:35878 (ESTABLISHED)
oracle 14854 oracle 16u IPv4 99631627 TCP 192.168.193.211:ncube-lm->192.168.193.198:35879 (ESTABLISHED)
oracle 14856 oracle 16u IPv4 99631636 TCP 192.168.193.211:ncube-lm->192.168.193.198:35880 (ESTABLISHED)
oracle 14859 oracle 16u IPv4 99631648 TCP 192.168.193.211:ncube-lm->192.168.193.220:38719 (ESTABLISHED)
oracle 14861 oracle 16u IPv4 99631657 TCP 192.168.193.211:ncube-lm->192.168.193.220:38720 (ESTABLISHED)
oracle 14863 oracle 16u IPv4 99631666 TCP 192.168.193.211:ncube-lm->192.168.193.220:38721 (ESTABLISHED)
oracle 14865 oracle 16u IPv4 99631675 TCP 192.168.193.211:ncube-lm->192.168.193.220:38722 (ESTABLISHED)
oracle 14896 oracle 16u IPv4 99632194 TCP 192.168.193.211:ncube-lm->192.168.193.220:38723 (ESTABLISHED)
oracle 14898 oracle 16u IPv4 99632203 TCP 192.168.193.211:ncube-lm->192.168.193.220:38724 (ESTABLISHED)
oracle 14900 oracle 16u IPv4 99632212 TCP 192.168.193.211:ncube-lm->192.168.193.220:38725 (ESTABLISHED)
oracle 14902 oracle 16u IPv4 99632221 TCP 192.168.193.211:ncube-lm->192.168.193.220:38726 (ESTABLISHED)
oracle 14904 oracle 16u IPv4 99632230 TCP 192.168.193.211:ncube-lm->192.168.193.220:38727 (ESTABLISHED)
oracle 14976 oracle 16u IPv4 99632990 TCP 192.168.193.211:ncube-lm->192.168.193.248:38516 (ESTABLISHED)
oracle 14978 oracle 16u IPv4 99632999 TCP 192.168.193.211:ncube-lm->192.168.193.249:43923 (ESTABLISHED)
oracle 14980 oracle 16u IPv4 99633008 TCP 192.168.193.211:ncube-lm->192.168.193.249:43924 (ESTABLISHED)
oracle 14982 oracle 16u IPv4 99633017 TCP 192.168.193.211:ncube-lm->192.168.193.249:43925 (ESTABLISHED)
oracle 14984 oracle 16u IPv4 99633026 TCP 192.168.193.211:ncube-lm->192.168.193.249:43926 (ESTABLISHED)
oracle 14986 oracle 16u IPv4 99633035 TCP 192.168.193.211:ncube-lm->192.168.193.249:43927 (ESTABLISHED)
oracle 14988 oracle 16u IPv4 99633044 TCP 192.168.193.211:ncube-lm->192.168.193.249:43928 (ESTABLISHED)
oracle 15025 oracle 16u IPv4 99633498 TCP 192.168.193.211:ncube-lm->192.168.193.248:43586 (ESTABLISHED)
oracle 15027 oracle 16u IPv4 99633507 TCP 192.168.193.211:ncube-lm->192.168.193.248:43587 (ESTABLISHED)
oracle 15029 oracle 16u IPv4 99633516 TCP 192.168.193.211:ncube-lm->192.168.193.248:43588 (ESTABLISHED)
oracle 15031 oracle 16u IPv4 99633525 TCP 192.168.193.211:ncube-lm->192.168.193.248:43589 (ESTABLISHED)
oracle 15033 oracle 16u IPv4 99633534 TCP 192.168.193.211:ncube-lm->192.168.193.248:43590 (ESTABLISHED)
oracle 15035 oracle 16u IPv4 99633543 TCP 192.168.193.211:ncube-lm->192.168.193.248:43591 (ESTABLISHED)
oracle 15037 oracle 16u IPv4 99633552 TCP 192.168.193.211:ncube-lm->192.168.193.248:43592 (ESTABLISHED)
oracle 15039 oracle 16u IPv4 99633561 TCP 192.168.193.211:ncube-lm->192.168.193.248:43593 (ESTABLISHED)
oracle 15041 oracle 16u IPv4 99633570 TCP 192.168.193.211:ncube-lm->192.168.193.248:43594 (ESTABLISHED)
oracle 15043 oracle 16u IPv4 99633579 TCP 192.168.193.211:ncube-lm->192.168.193.248:43595 (ESTABLISHED)
oracle 15045 oracle 16u IPv4 99633588 TCP 192.168.193.211:ncube-lm->192.168.193.248:43596 (ESTABLISHED)
oracle 15047 oracle 16u IPv4 99633597 TCP 192.168.193.211:ncube-lm->192.168.193.248:43597 (ESTABLISHED)
oracle 15049 oracle 16u IPv4 99633606 TCP 192.168.193.211:ncube-lm->192.168.193.248:43598 (ESTABLISHED)
oracle 15051 oracle 16u IPv4 99633615 TCP 192.168.193.211:ncube-lm->192.168.193.248:43599 (ESTABLISHED)
oracle 15053 oracle 16u IPv4 99633624 TCP 192.168.193.211:ncube-lm->192.168.193.248:43600 (ESTABLISHED)
oracle 15055 oracle 16u IPv4 99633633 TCP 192.168.193.211:ncube-lm->192.168.193.248:43601 (ESTABLISHED)
oracle 15057 oracle 16u IPv4 99633642 TCP 192.168.193.211:ncube-lm->192.168.193.248:43602 (ESTABLISHED)
oracle 15059 oracle 16u IPv4 99633651 TCP 192.168.193.211:ncube-lm->192.168.193.248:43603 (ESTABLISHED)
oracle 15061 oracle 16u IPv4 99633660 TCP 192.168.193.211:ncube-lm->192.168.193.248:43604 (ESTABLISHED)
oracle 15063 oracle 16u IPv4 99633669 TCP 192.168.193.211:ncube-lm->192.168.193.248:43605 (ESTABLISHED)
oracle 15065 oracle 16u IPv4 99633678 TCP 192.168.193.211:ncube-lm->192.168.193.248:43606 (ESTABLISHED)
oracle 15067 oracle 16u IPv4 99633687 TCP 192.168.193.211:ncube-lm->192.168.193.248:43607 (ESTABLISHED)
oracle 15069 oracle 16u IPv4 99633696 TCP 192.168.193.211:ncube-lm->192.168.193.248:43608 (ESTABLISHED)
oracle 15071 oracle 16u IPv4 99633705 TCP 192.168.193.211:ncube-lm->192.168.193.248:43609 (ESTABLISHED)
oracle 15073 oracle 16u IPv4 99633714 TCP 192.168.193.211:ncube-lm->192.168.193.248:43610 (ESTABLISHED)
oracle 15075 oracle 16u IPv4 99633723 TCP 192.168.193.211:ncube-lm->192.168.193.248:43611 (ESTABLISHED)
oracle 15077 oracle 16u IPv4 99633732 TCP 192.168.193.211:ncube-lm->192.168.193.248:43612 (ESTABLISHED)
oracle 15079 oracle 16u IPv4 99633741 TCP 192.168.193.211:ncube-lm->192.168.193.248:43613 (ESTABLISHED)
oracle 15081 oracle 16u IPv4 99633750 TCP 192.168.193.211:ncube-lm->192.168.193.248:43614 (ESTABLISHED)
oracle 15083 oracle 16u IPv4 99633759 TCP 192.168.193.211:ncube-lm->192.168.193.248:43615 (ESTABLISHED)
oracle 15085 oracle 16u IPv4 99633768 TCP 192.168.193.211:ncube-lm->192.168.193.248:43616 (ESTABLISHED)
oracle 15124 oracle 16u IPv4 99634664 TCP 192.168.193.211:ncube-lm->192.168.193.247:37267 (ESTABLISHED)
oracle 15126 oracle 16u IPv4 99634673 TCP 192.168.193.211:ncube-lm->192.168.193.247:37268 (ESTABLISHED)
oracle 15128 oracle 16u IPv4 99634682 TCP 192.168.193.211:ncube-lm->192.168.193.247:37269 (ESTABLISHED)
oracle 15130 oracle 16u IPv4 99634691 TCP 192.168.193.211:ncube-lm->192.168.193.247:37270 (ESTABLISHED)
oracle 15132 oracle 16u IPv4 99634700 TCP 192.168.193.211:ncube-lm->192.168.193.247:37271 (ESTABLISHED)
oracle 15134 oracle 16u IPv4 99634709 TCP 192.168.193.211:ncube-lm->192.168.193.247:37272 (ESTABLISHED)
oracle 15206 oracle 16u IPv4 99635520 TCP 192.168.193.211:ncube-lm->192.168.193.243:39536 (ESTABLISHED)
oracle 15208 oracle 16u IPv4 99635529 TCP 192.168.193.211:ncube-lm->192.168.193.243:39537 (ESTABLISHED)
oracle 15210 oracle 16u IPv4 99635538 TCP 192.168.193.211:ncube-lm->192.168.193.243:39538 (ESTABLISHED)
oracle 15212 oracle 16u IPv4 99635547 TCP 192.168.193.211:ncube-lm->192.168.193.243:39539 (ESTABLISHED)
oracle 15214 oracle 16u IPv4 99635556 TCP 192.168.193.211:ncube-lm->192.168.193.243:39540 (ESTABLISHED)
oracle 15216 oracle 16u IPv4 99635565 TCP 192.168.193.211:ncube-lm->192.168.193.243:39541 (ESTABLISHED)
oracle 15263 oracle 16u IPv4 99635844 TCP 192.168.193.211:ncube-lm->192.168.193.242:33490 (ESTABLISHED)
oracle 15265 oracle 16u IPv4 99635853 TCP 192.168.193.211:ncube-lm->192.168.193.242:33491 (ESTABLISHED)
oracle 15267 oracle 16u IPv4 99635862 TCP 192.168.193.211:ncube-lm->192.168.193.242:33492 (ESTABLISHED)
oracle 15269 oracle 16u IPv4 99635871 TCP 192.168.193.211:ncube-lm->192.168.193.242:33493 (ESTABLISHED)
oracle 15271 oracle 16u IPv4 99635881 TCP 192.168.193.211:ncube-lm->192.168.193.242:33494 (ESTABLISHED)
oracle 15273 oracle 16u IPv4 99635890 TCP 192.168.193.211:ncube-lm->192.168.193.242:33495 (ESTABLISHED)
oracle 15538 oracle 16u IPv4 95665057 TCP 192.168.193.211:ncube-lm->192.168.193.247:54174 (ESTABLISHED)
oracle 15548 oracle 16u IPv4 95665102 TCP 192.168.193.211:ncube-lm->192.168.193.247:54179 (ESTABLISHED)
oracle 20835 oracle 16u IPv4 95721334 TCP 192.168.193.211:ncube-lm->192.168.193.248:41437 (ESTABLISHED)
oracle 20839 oracle 16u IPv4 95721352 TCP 192.168.193.211:ncube-lm->192.168.193.248:41439 (ESTABLISHED)
tnslsnr 28568 oracle 8u IPv4 91878910 TCP *:ncube-lm (LISTEN)
tnslsnr 28568 oracle 13u IPv4 91879101 TCP 127.0.0.1:ncube-lm->127.0.0.1:60727 (ESTABLISHED)
tnslsnr 28568 oracle 14u IPv4 95155877 TCP 127.0.0.1:ncube-lm->127.0.0.1:32796 (ESTABLISHED)
tnslsnr 28568 oracle 15u IPv4 91880707 TCP 127.0.0.1:ncube-lm->127.0.0.1:30993 (ESTABLISHED)
oracle 28582 oracle 17u IPv4 91879100 TCP 127.0.0.1:60727->127.0.0.1:ncube-lm (ESTABLISHED)
oracle 31710 oracle 17u IPv4 95155876 TCP 127.0.0.1:32796->127.0.0.1:ncube-lm (ESTABLISHED)
2.命令引數解釋
lsof -i tcp:1521
這裡的tcp也可以替換為udp,可以根據具體的協議的不同檢視。
3.小結
問題驅動型處理方法——就是自己給自己設定諸多的問題,然後透過實踐和嘗試逐一處理和解決。這樣對處理問題能的提高是有幫助的。
希望這樣的方法對大家有幫助。
Good luck.
secooler
10.07.04
-- The End --
lsof並不僅限於檢視開啟檔案的程式資訊,更多的命令參考可以參考聯機手冊“man lsof”。
1.羅列一下在這個命令的輸出資訊
sec@secDB /home/oracle$ lsof -i tcp:1521
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
oracle 10792 oracle 17u IPv4 91880706 TCP 127.0.0.1:30993->127.0.0.1:ncube-lm (ESTABLISHED)
oracle 10985 oracle 16u IPv4 99590567 TCP 192.168.193.211:ncube-lm->10.142.8.208:65131 (ESTABLISHED)
oracle 12782 oracle 16u IPv4 99609658 TCP 192.168.193.211:ncube-lm->10.142.8.208:50269 (ESTABLISHED)
oracle 13923 oracle 16u IPv4 99622058 TCP 192.168.193.211:ncube-lm->192.168.193.247:44095 (ESTABLISHED)
oracle 14181 oracle 16u IPv4 99624631 TCP 192.168.193.211:ncube-lm->10.142.8.208:50464 (ESTABLISHED)
oracle 14232 oracle 16u IPv4 99625173 TCP 192.168.193.211:ncube-lm->192.168.193.248:45881 (ESTABLISHED)
oracle 14240 oracle 16u IPv4 99625209 TCP 192.168.193.211:ncube-lm->192.168.193.248:45885 (ESTABLISHED)
oracle 14244 oracle 16u IPv4 99625227 TCP 192.168.193.211:ncube-lm->192.168.193.248:45887 (ESTABLISHED)
oracle 14246 oracle 16u IPv4 99625236 TCP 192.168.193.211:ncube-lm->192.168.193.248:45888 (ESTABLISHED)
oracle 14248 oracle 16u IPv4 99625245 TCP 192.168.193.211:ncube-lm->192.168.193.248:45889 (ESTABLISHED)
oracle 14250 oracle 16u IPv4 99625254 TCP 192.168.193.211:ncube-lm->192.168.193.248:45890 (ESTABLISHED)
oracle 14252 oracle 16u IPv4 99625263 TCP 192.168.193.211:ncube-lm->192.168.193.248:45891 (ESTABLISHED)
oracle 14254 oracle 16u IPv4 99625272 TCP 192.168.193.211:ncube-lm->192.168.193.248:45892 (ESTABLISHED)
oracle 14256 oracle 16u IPv4 99625281 TCP 192.168.193.211:ncube-lm->192.168.193.248:45893 (ESTABLISHED)
oracle 14258 oracle 16u IPv4 99625290 TCP 192.168.193.211:ncube-lm->192.168.193.248:45894 (ESTABLISHED)
oracle 14305 oracle 16u IPv4 99625926 TCP 192.168.193.211:ncube-lm->192.168.193.247:ip-provision (ESTABLISHED)
oracle 14307 oracle 16u IPv4 99625935 TCP 192.168.193.211:ncube-lm->192.168.193.247:43191 (ESTABLISHED)
oracle 14309 oracle 16u IPv4 99625944 TCP 192.168.193.211:ncube-lm->192.168.193.247:43192 (ESTABLISHED)
oracle 14311 oracle 16u IPv4 99625953 TCP 192.168.193.211:ncube-lm->192.168.193.247:43193 (ESTABLISHED)
oracle 14313 oracle 16u IPv4 99625962 TCP 192.168.193.211:ncube-lm->192.168.193.247:43194 (ESTABLISHED)
oracle 14315 oracle 16u IPv4 99625971 TCP 192.168.193.211:ncube-lm->192.168.193.247:43195 (ESTABLISHED)
oracle 14317 oracle 16u IPv4 99625980 TCP 192.168.193.211:ncube-lm->192.168.193.247:43196 (ESTABLISHED)
oracle 14319 oracle 16u IPv4 99625989 TCP 192.168.193.211:ncube-lm->192.168.193.247:43197 (ESTABLISHED)
oracle 14321 oracle 16u IPv4 99625998 TCP 192.168.193.211:ncube-lm->192.168.193.247:43198 (ESTABLISHED)
oracle 14323 oracle 16u IPv4 99626007 TCP 192.168.193.211:ncube-lm->192.168.193.247:43199 (ESTABLISHED)
oracle 14403 oracle 16u IPv4 99626999 TCP 192.168.193.211:ncube-lm->192.168.193.243:55455 (ESTABLISHED)
oracle 14418 oracle 16u IPv4 99627097 TCP 192.168.193.211:ncube-lm->192.168.193.242:46440 (ESTABLISHED)
oracle 14452 oracle 16u IPv4 99627578 TCP 192.168.193.211:ncube-lm->192.168.193.220:35134 (ESTABLISHED)
oracle 14454 oracle 16u IPv4 99627587 TCP 192.168.193.211:ncube-lm->192.168.193.220:35135 (ESTABLISHED)
oracle 14456 oracle 16u IPv4 99627596 TCP 192.168.193.211:ncube-lm->192.168.193.220:35136 (ESTABLISHED)
oracle 14532 oracle 16u IPv4 99628406 TCP 192.168.193.211:ncube-lm->192.168.193.209:33152 (ESTABLISHED)
oracle 14534 oracle 16u IPv4 99628415 TCP 192.168.193.211:ncube-lm->192.168.193.209:33153 (ESTABLISHED)
oracle 14536 oracle 16u IPv4 99628424 TCP 192.168.193.211:ncube-lm->192.168.193.209:33154 (ESTABLISHED)
oracle 14569 oracle 16u IPv4 99628747 TCP 192.168.193.211:ncube-lm->192.168.193.248:39258 (ESTABLISHED)
oracle 14571 oracle 16u IPv4 99628756 TCP 192.168.193.211:ncube-lm->192.168.193.248:39259 (ESTABLISHED)
oracle 14573 oracle 16u IPv4 99628765 TCP 192.168.193.211:ncube-lm->192.168.193.248:39260 (ESTABLISHED)
oracle 14575 oracle 16u IPv4 99628774 TCP 192.168.193.211:ncube-lm->192.168.193.248:39261 (ESTABLISHED)
oracle 14581 oracle 16u IPv4 99628788 TCP 192.168.193.211:ncube-lm->192.168.193.249:53762 (ESTABLISHED)
oracle 14583 oracle 16u IPv4 99628797 TCP 192.168.193.211:ncube-lm->192.168.193.249:53763 (ESTABLISHED)
oracle 14585 oracle 16u IPv4 99628806 TCP 192.168.193.211:ncube-lm->192.168.193.249:53764 (ESTABLISHED)
oracle 14587 oracle 16u IPv4 99628815 TCP 192.168.193.211:ncube-lm->192.168.193.249:53765 (ESTABLISHED)
oracle 14589 oracle 16u IPv4 99628824 TCP 192.168.193.211:ncube-lm->192.168.193.249:53766 (ESTABLISHED)
oracle 14591 oracle 16u IPv4 99628833 TCP 192.168.193.211:ncube-lm->192.168.193.249:53767 (ESTABLISHED)
oracle 14610 oracle 16u IPv4 99628979 TCP 192.168.193.211:ncube-lm->192.168.193.248:39262 (ESTABLISHED)
oracle 14612 oracle 16u IPv4 99628988 TCP 192.168.193.211:ncube-lm->192.168.193.248:39263 (ESTABLISHED)
oracle 14614 oracle 16u IPv4 99628997 TCP 192.168.193.211:ncube-lm->192.168.193.248:39264 (ESTABLISHED)
oracle 14616 oracle 16u IPv4 99629006 TCP 192.168.193.211:ncube-lm->192.168.193.248:39265 (ESTABLISHED)
oracle 14618 oracle 16u IPv4 99629015 TCP 192.168.193.211:ncube-lm->192.168.193.248:39266 (ESTABLISHED)
oracle 14620 oracle 16u IPv4 99629024 TCP 192.168.193.211:ncube-lm->192.168.193.248:39267 (ESTABLISHED)
oracle 14622 oracle 16u IPv4 99629033 TCP 192.168.193.211:ncube-lm->192.168.193.248:39268 (ESTABLISHED)
oracle 14624 oracle 16u IPv4 99629042 TCP 192.168.193.211:ncube-lm->192.168.193.248:39269 (ESTABLISHED)
oracle 14626 oracle 16u IPv4 99629051 TCP 192.168.193.211:ncube-lm->192.168.193.248:39270 (ESTABLISHED)
oracle 14628 oracle 16u IPv4 99629060 TCP 192.168.193.211:ncube-lm->192.168.193.248:39271 (ESTABLISHED)
oracle 14630 oracle 16u IPv4 99629069 TCP 192.168.193.211:ncube-lm->192.168.193.248:39272 (ESTABLISHED)
oracle 14632 oracle 16u IPv4 99629078 TCP 192.168.193.211:ncube-lm->192.168.193.248:39273 (ESTABLISHED)
oracle 14634 oracle 16u IPv4 99629087 TCP 192.168.193.211:ncube-lm->192.168.193.248:39274 (ESTABLISHED)
oracle 14636 oracle 16u IPv4 99629096 TCP 192.168.193.211:ncube-lm->192.168.193.248:39275 (ESTABLISHED)
oracle 14638 oracle 16u IPv4 99629105 TCP 192.168.193.211:ncube-lm->192.168.193.248:39276 (ESTABLISHED)
oracle 14640 oracle 16u IPv4 99629114 TCP 192.168.193.211:ncube-lm->192.168.193.248:39277 (ESTABLISHED)
oracle 14642 oracle 16u IPv4 99629123 TCP 192.168.193.211:ncube-lm->192.168.193.248:39278 (ESTABLISHED)
oracle 14644 oracle 16u IPv4 99629132 TCP 192.168.193.211:ncube-lm->192.168.193.248:39279 (ESTABLISHED)
oracle 14646 oracle 16u IPv4 99629141 TCP 192.168.193.211:ncube-lm->192.168.193.248:39280 (ESTABLISHED)
oracle 14648 oracle 16u IPv4 99629150 TCP 192.168.193.211:ncube-lm->192.168.193.248:39281 (ESTABLISHED)
oracle 14650 oracle 16u IPv4 99629159 TCP 192.168.193.211:ncube-lm->192.168.193.248:39282 (ESTABLISHED)
oracle 14652 oracle 16u IPv4 99629168 TCP 192.168.193.211:ncube-lm->192.168.193.248:39283 (ESTABLISHED)
oracle 14654 oracle 16u IPv4 99629177 TCP 192.168.193.211:ncube-lm->192.168.193.248:39284 (ESTABLISHED)
oracle 14656 oracle 16u IPv4 99629186 TCP 192.168.193.211:ncube-lm->192.168.193.248:39285 (ESTABLISHED)
oracle 14658 oracle 16u IPv4 99629195 TCP 192.168.193.211:ncube-lm->192.168.193.248:39286 (ESTABLISHED)
oracle 14660 oracle 16u IPv4 99629204 TCP 192.168.193.211:ncube-lm->192.168.193.248:39287 (ESTABLISHED)
oracle 14662 oracle 16u IPv4 99629213 TCP 192.168.193.211:ncube-lm->192.168.193.248:39288 (ESTABLISHED)
oracle 14664 oracle 16u IPv4 99629222 TCP 192.168.193.211:ncube-lm->192.168.193.248:39289 (ESTABLISHED)
oracle 14666 oracle 16u IPv4 99629231 TCP 192.168.193.211:ncube-lm->192.168.193.248:39290 (ESTABLISHED)
oracle 14717 oracle 16u IPv4 99630291 TCP 192.168.193.211:ncube-lm->192.168.193.247:35440 (ESTABLISHED)
oracle 14719 oracle 16u IPv4 99630300 TCP 192.168.193.211:ncube-lm->192.168.193.247:35441 (ESTABLISHED)
oracle 14721 oracle 16u IPv4 99630309 TCP 192.168.193.211:ncube-lm->192.168.193.247:35442 (ESTABLISHED)
oracle 14723 oracle 16u IPv4 99630318 TCP 192.168.193.211:ncube-lm->192.168.193.247:35443 (ESTABLISHED)
oracle 14725 oracle 16u IPv4 99630327 TCP 192.168.193.211:ncube-lm->192.168.193.247:35444 (ESTABLISHED)
oracle 14727 oracle 16u IPv4 99630336 TCP 192.168.193.211:ncube-lm->192.168.193.247:35445 (ESTABLISHED)
oracle 14795 oracle 16u IPv4 99631103 TCP 192.168.193.211:ncube-lm->192.168.193.243:35868 (ESTABLISHED)
oracle 14797 oracle 16u IPv4 99631112 TCP 192.168.193.211:ncube-lm->192.168.193.243:35869 (ESTABLISHED)
oracle 14799 oracle 16u IPv4 99631121 TCP 192.168.193.211:ncube-lm->192.168.193.243:35870 (ESTABLISHED)
oracle 14801 oracle 16u IPv4 99631130 TCP 192.168.193.211:ncube-lm->192.168.193.243:35871 (ESTABLISHED)
oracle 14803 oracle 16u IPv4 99631139 TCP 192.168.193.211:ncube-lm->192.168.193.243:35872 (ESTABLISHED)
oracle 14837 oracle 16u IPv4 99631521 TCP 192.168.193.211:ncube-lm->192.168.193.242:47709 (ESTABLISHED)
oracle 14839 oracle 16u IPv4 99631530 TCP 192.168.193.211:ncube-lm->192.168.193.242:47710 (ESTABLISHED)
oracle 14841 oracle 16u IPv4 99631539 TCP 192.168.193.211:ncube-lm->192.168.193.242:47711 (ESTABLISHED)
oracle 14843 oracle 16u IPv4 99631548 TCP 192.168.193.211:ncube-lm->192.168.193.242:47712 (ESTABLISHED)
oracle 14845 oracle 16u IPv4 99631557 TCP 192.168.193.211:ncube-lm->192.168.193.242:47713 (ESTABLISHED)
oracle 14852 oracle 16u IPv4 99631618 TCP 192.168.193.211:ncube-lm->192.168.193.198:35878 (ESTABLISHED)
oracle 14854 oracle 16u IPv4 99631627 TCP 192.168.193.211:ncube-lm->192.168.193.198:35879 (ESTABLISHED)
oracle 14856 oracle 16u IPv4 99631636 TCP 192.168.193.211:ncube-lm->192.168.193.198:35880 (ESTABLISHED)
oracle 14859 oracle 16u IPv4 99631648 TCP 192.168.193.211:ncube-lm->192.168.193.220:38719 (ESTABLISHED)
oracle 14861 oracle 16u IPv4 99631657 TCP 192.168.193.211:ncube-lm->192.168.193.220:38720 (ESTABLISHED)
oracle 14863 oracle 16u IPv4 99631666 TCP 192.168.193.211:ncube-lm->192.168.193.220:38721 (ESTABLISHED)
oracle 14865 oracle 16u IPv4 99631675 TCP 192.168.193.211:ncube-lm->192.168.193.220:38722 (ESTABLISHED)
oracle 14896 oracle 16u IPv4 99632194 TCP 192.168.193.211:ncube-lm->192.168.193.220:38723 (ESTABLISHED)
oracle 14898 oracle 16u IPv4 99632203 TCP 192.168.193.211:ncube-lm->192.168.193.220:38724 (ESTABLISHED)
oracle 14900 oracle 16u IPv4 99632212 TCP 192.168.193.211:ncube-lm->192.168.193.220:38725 (ESTABLISHED)
oracle 14902 oracle 16u IPv4 99632221 TCP 192.168.193.211:ncube-lm->192.168.193.220:38726 (ESTABLISHED)
oracle 14904 oracle 16u IPv4 99632230 TCP 192.168.193.211:ncube-lm->192.168.193.220:38727 (ESTABLISHED)
oracle 14976 oracle 16u IPv4 99632990 TCP 192.168.193.211:ncube-lm->192.168.193.248:38516 (ESTABLISHED)
oracle 14978 oracle 16u IPv4 99632999 TCP 192.168.193.211:ncube-lm->192.168.193.249:43923 (ESTABLISHED)
oracle 14980 oracle 16u IPv4 99633008 TCP 192.168.193.211:ncube-lm->192.168.193.249:43924 (ESTABLISHED)
oracle 14982 oracle 16u IPv4 99633017 TCP 192.168.193.211:ncube-lm->192.168.193.249:43925 (ESTABLISHED)
oracle 14984 oracle 16u IPv4 99633026 TCP 192.168.193.211:ncube-lm->192.168.193.249:43926 (ESTABLISHED)
oracle 14986 oracle 16u IPv4 99633035 TCP 192.168.193.211:ncube-lm->192.168.193.249:43927 (ESTABLISHED)
oracle 14988 oracle 16u IPv4 99633044 TCP 192.168.193.211:ncube-lm->192.168.193.249:43928 (ESTABLISHED)
oracle 15025 oracle 16u IPv4 99633498 TCP 192.168.193.211:ncube-lm->192.168.193.248:43586 (ESTABLISHED)
oracle 15027 oracle 16u IPv4 99633507 TCP 192.168.193.211:ncube-lm->192.168.193.248:43587 (ESTABLISHED)
oracle 15029 oracle 16u IPv4 99633516 TCP 192.168.193.211:ncube-lm->192.168.193.248:43588 (ESTABLISHED)
oracle 15031 oracle 16u IPv4 99633525 TCP 192.168.193.211:ncube-lm->192.168.193.248:43589 (ESTABLISHED)
oracle 15033 oracle 16u IPv4 99633534 TCP 192.168.193.211:ncube-lm->192.168.193.248:43590 (ESTABLISHED)
oracle 15035 oracle 16u IPv4 99633543 TCP 192.168.193.211:ncube-lm->192.168.193.248:43591 (ESTABLISHED)
oracle 15037 oracle 16u IPv4 99633552 TCP 192.168.193.211:ncube-lm->192.168.193.248:43592 (ESTABLISHED)
oracle 15039 oracle 16u IPv4 99633561 TCP 192.168.193.211:ncube-lm->192.168.193.248:43593 (ESTABLISHED)
oracle 15041 oracle 16u IPv4 99633570 TCP 192.168.193.211:ncube-lm->192.168.193.248:43594 (ESTABLISHED)
oracle 15043 oracle 16u IPv4 99633579 TCP 192.168.193.211:ncube-lm->192.168.193.248:43595 (ESTABLISHED)
oracle 15045 oracle 16u IPv4 99633588 TCP 192.168.193.211:ncube-lm->192.168.193.248:43596 (ESTABLISHED)
oracle 15047 oracle 16u IPv4 99633597 TCP 192.168.193.211:ncube-lm->192.168.193.248:43597 (ESTABLISHED)
oracle 15049 oracle 16u IPv4 99633606 TCP 192.168.193.211:ncube-lm->192.168.193.248:43598 (ESTABLISHED)
oracle 15051 oracle 16u IPv4 99633615 TCP 192.168.193.211:ncube-lm->192.168.193.248:43599 (ESTABLISHED)
oracle 15053 oracle 16u IPv4 99633624 TCP 192.168.193.211:ncube-lm->192.168.193.248:43600 (ESTABLISHED)
oracle 15055 oracle 16u IPv4 99633633 TCP 192.168.193.211:ncube-lm->192.168.193.248:43601 (ESTABLISHED)
oracle 15057 oracle 16u IPv4 99633642 TCP 192.168.193.211:ncube-lm->192.168.193.248:43602 (ESTABLISHED)
oracle 15059 oracle 16u IPv4 99633651 TCP 192.168.193.211:ncube-lm->192.168.193.248:43603 (ESTABLISHED)
oracle 15061 oracle 16u IPv4 99633660 TCP 192.168.193.211:ncube-lm->192.168.193.248:43604 (ESTABLISHED)
oracle 15063 oracle 16u IPv4 99633669 TCP 192.168.193.211:ncube-lm->192.168.193.248:43605 (ESTABLISHED)
oracle 15065 oracle 16u IPv4 99633678 TCP 192.168.193.211:ncube-lm->192.168.193.248:43606 (ESTABLISHED)
oracle 15067 oracle 16u IPv4 99633687 TCP 192.168.193.211:ncube-lm->192.168.193.248:43607 (ESTABLISHED)
oracle 15069 oracle 16u IPv4 99633696 TCP 192.168.193.211:ncube-lm->192.168.193.248:43608 (ESTABLISHED)
oracle 15071 oracle 16u IPv4 99633705 TCP 192.168.193.211:ncube-lm->192.168.193.248:43609 (ESTABLISHED)
oracle 15073 oracle 16u IPv4 99633714 TCP 192.168.193.211:ncube-lm->192.168.193.248:43610 (ESTABLISHED)
oracle 15075 oracle 16u IPv4 99633723 TCP 192.168.193.211:ncube-lm->192.168.193.248:43611 (ESTABLISHED)
oracle 15077 oracle 16u IPv4 99633732 TCP 192.168.193.211:ncube-lm->192.168.193.248:43612 (ESTABLISHED)
oracle 15079 oracle 16u IPv4 99633741 TCP 192.168.193.211:ncube-lm->192.168.193.248:43613 (ESTABLISHED)
oracle 15081 oracle 16u IPv4 99633750 TCP 192.168.193.211:ncube-lm->192.168.193.248:43614 (ESTABLISHED)
oracle 15083 oracle 16u IPv4 99633759 TCP 192.168.193.211:ncube-lm->192.168.193.248:43615 (ESTABLISHED)
oracle 15085 oracle 16u IPv4 99633768 TCP 192.168.193.211:ncube-lm->192.168.193.248:43616 (ESTABLISHED)
oracle 15124 oracle 16u IPv4 99634664 TCP 192.168.193.211:ncube-lm->192.168.193.247:37267 (ESTABLISHED)
oracle 15126 oracle 16u IPv4 99634673 TCP 192.168.193.211:ncube-lm->192.168.193.247:37268 (ESTABLISHED)
oracle 15128 oracle 16u IPv4 99634682 TCP 192.168.193.211:ncube-lm->192.168.193.247:37269 (ESTABLISHED)
oracle 15130 oracle 16u IPv4 99634691 TCP 192.168.193.211:ncube-lm->192.168.193.247:37270 (ESTABLISHED)
oracle 15132 oracle 16u IPv4 99634700 TCP 192.168.193.211:ncube-lm->192.168.193.247:37271 (ESTABLISHED)
oracle 15134 oracle 16u IPv4 99634709 TCP 192.168.193.211:ncube-lm->192.168.193.247:37272 (ESTABLISHED)
oracle 15206 oracle 16u IPv4 99635520 TCP 192.168.193.211:ncube-lm->192.168.193.243:39536 (ESTABLISHED)
oracle 15208 oracle 16u IPv4 99635529 TCP 192.168.193.211:ncube-lm->192.168.193.243:39537 (ESTABLISHED)
oracle 15210 oracle 16u IPv4 99635538 TCP 192.168.193.211:ncube-lm->192.168.193.243:39538 (ESTABLISHED)
oracle 15212 oracle 16u IPv4 99635547 TCP 192.168.193.211:ncube-lm->192.168.193.243:39539 (ESTABLISHED)
oracle 15214 oracle 16u IPv4 99635556 TCP 192.168.193.211:ncube-lm->192.168.193.243:39540 (ESTABLISHED)
oracle 15216 oracle 16u IPv4 99635565 TCP 192.168.193.211:ncube-lm->192.168.193.243:39541 (ESTABLISHED)
oracle 15263 oracle 16u IPv4 99635844 TCP 192.168.193.211:ncube-lm->192.168.193.242:33490 (ESTABLISHED)
oracle 15265 oracle 16u IPv4 99635853 TCP 192.168.193.211:ncube-lm->192.168.193.242:33491 (ESTABLISHED)
oracle 15267 oracle 16u IPv4 99635862 TCP 192.168.193.211:ncube-lm->192.168.193.242:33492 (ESTABLISHED)
oracle 15269 oracle 16u IPv4 99635871 TCP 192.168.193.211:ncube-lm->192.168.193.242:33493 (ESTABLISHED)
oracle 15271 oracle 16u IPv4 99635881 TCP 192.168.193.211:ncube-lm->192.168.193.242:33494 (ESTABLISHED)
oracle 15273 oracle 16u IPv4 99635890 TCP 192.168.193.211:ncube-lm->192.168.193.242:33495 (ESTABLISHED)
oracle 15538 oracle 16u IPv4 95665057 TCP 192.168.193.211:ncube-lm->192.168.193.247:54174 (ESTABLISHED)
oracle 15548 oracle 16u IPv4 95665102 TCP 192.168.193.211:ncube-lm->192.168.193.247:54179 (ESTABLISHED)
oracle 20835 oracle 16u IPv4 95721334 TCP 192.168.193.211:ncube-lm->192.168.193.248:41437 (ESTABLISHED)
oracle 20839 oracle 16u IPv4 95721352 TCP 192.168.193.211:ncube-lm->192.168.193.248:41439 (ESTABLISHED)
tnslsnr 28568 oracle 8u IPv4 91878910 TCP *:ncube-lm (LISTEN)
tnslsnr 28568 oracle 13u IPv4 91879101 TCP 127.0.0.1:ncube-lm->127.0.0.1:60727 (ESTABLISHED)
tnslsnr 28568 oracle 14u IPv4 95155877 TCP 127.0.0.1:ncube-lm->127.0.0.1:32796 (ESTABLISHED)
tnslsnr 28568 oracle 15u IPv4 91880707 TCP 127.0.0.1:ncube-lm->127.0.0.1:30993 (ESTABLISHED)
oracle 28582 oracle 17u IPv4 91879100 TCP 127.0.0.1:60727->127.0.0.1:ncube-lm (ESTABLISHED)
oracle 31710 oracle 17u IPv4 95155876 TCP 127.0.0.1:32796->127.0.0.1:ncube-lm (ESTABLISHED)
2.命令引數解釋
lsof -i tcp:1521
這裡的tcp也可以替換為udp,可以根據具體的協議的不同檢視。
3.小結
問題驅動型處理方法——就是自己給自己設定諸多的問題,然後透過實踐和嘗試逐一處理和解決。這樣對處理問題能的提高是有幫助的。
希望這樣的方法對大家有幫助。
Good luck.
secooler
10.07.04
-- The End --
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/519536/viewspace-667199/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【工具】lsof 的使用
- linux下檢視埠命令lsofLinux
- linux檢視埠及與使用埠程式相關命令_netstat_lsofLinux
- lsof 命令
- lsof命令
- lsof 詳解
- lsof簡介
- fuser與lsof命令使用簡介
- Linux命令--lsofLinux
- lsof命令簡介
- lsof命令詳解
- lsof命令小結
- Linux下用 lsof 命令查詢指定埠被哪個程式佔用Linux
- 使用lsof恢復誤刪除的檔案
- 使用 lsof 查詢開啟的檔案(轉)
- Linux lsof詳解Linux
- lsof命令功能說明
- lsof for aix下載地址AI
- Linux lsof命令解析Linux
- 每天進步一點點- lsof 命令查詢指定使用者、程式、埠開啟的檔案
- 還在佔用儲存的程式lsof grep deleted;delete
- 使用 lsof 查詢開啟的檔案 (ibm)IBM
- solaris下使用lsof恢復刪除的檔案
- ZT:使用lsof恢復誤刪除的檔案
- lsof命令學習筆記筆記
- linux沒有lsof命令Linux
- 每日Linux命令(4):lsofLinux
- 【系統】lsof命令簡介
- linux lsof命令詳解Linux
- 【系統】lsof 命令簡介
- Linux lsof 命令簡介Linux
- lsof恢復誤刪的檔案
- Unix除錯的瑞士軍刀:lsof除錯
- Linux 有用的命令之 - lsof(轉)Linux
- Linux下使用lsof恢復刪除的檔案Linux
- linux每日命令(39):lsof命令Linux
- Linux-lsof命令詳解Linux
- Linux lsof命令如何使用?其作用是什麼?Linux