::: Zany's Homepage ::: Zany Wiki | »çÀÌÆ® ÅëÇÕ °Ë»ö
 
 
 

Æ÷Æ®¸¦ »ç¿ëÇÏ°í ÀÖ´Â ÇÁ·Î¼¼½º ¾Ë¾Æ³»±â

°Ô½ÃÆÇ
Unix/Linux
ÀÛ¼ºÀÚ
helix
ÀÛ¼ºÀÏ
2015-07-20 00:35:28
ÀÐÀº¼ö
2123
ÆòÁ¡
   
Ç¥½Ã¿É¼Ç
HTML»ç¿ë | ÀÚµ¿BRűנ| °ø¹é¹®ÀÚÇã¿ë | °¡¿îµ¥Á¤·Ä | °íÁ¤Æø±Û²Ã | ÀÚµ¿URL¸µÅ© | ¸¶¿ì½º¼±ÅÃ
°ü·Ã¸µÅ©01
http://www.cyberciti.biz/faq/what-process-has-open-linux-port/ 
¡Ø ÀÏ¹Ý »ç¿ëÀÚ °èÁ¤À¸·Î´Â ÀÚ½ÅÀÇ ÇÁ·Î¼¼½º¸¸ È®ÀÎ °¡´ÉÇÏ´Ù.
¡Ø root ·Î ÀÛ¾÷ÇÏ¸é ¸ðµç Æ÷Æ®¿¡ ´ëÇØ ¾î¶² ÇÁ·Î¼¼½º°¡ ÇØ´ç Æ÷Æ®¸¦ »ç¿ëÇÏ°í ÀÖ´ÂÁö È®ÀÎ °¡´ÉÇÏ´Ù.

--------------------------------------------------------------------
¡Ü 9800 Æ÷Æ®¸¦ ¾î¶² ÇÁ·Î¼¼½º°¡ Àâ°í ÀÖ´ÂÁö netstat ¸í·ÉÀ¸·Î È®ÀÎÇÑ´Ù.
--------------------------------------------------------------------

[root@hera ~]# netstat -tulpn | grep 9800
tcp        0      0 :::9800                     :::*                        LISTEN      12692/java          


--------------------------------------------------------------------
¡Ü ls -l /proc/[ÇÁ·Î¼¼½º¹øÈ£]/exe °ú °°ÀÌ ÀÔ·ÂÇϸé ÇØ´ç ÇÁ·Î¼¼½ºÀÇ ½ÇÁ¦ ÆÄÀÏÀ» ¾Æ·¡¿Í °°ÀÌ º¼ ¼ö ÀÖ´Ù.
--------------------------------------------------------------------

[root@hera ~]# ls -l /proc/12692/exe
lrwxrwxrwx 1 zany zany 0 2015-07-20 00:25 /proc/12692/exe -> /home/zany/opt/java/jdk1.8.0_40_x64/bin/java





¡Ø netstat -tulpn ¿É¼Ç¿¡ ´ëÇÑ ¼³¸íÀº ¾Æ·¡¿Í °°´Ù.

   -t, TCP
   -u, UDP
   -l, --listening
       Show only listening sockets.  (These are omitted by default.)
   -p, --program
       Show the PID and name of the program to which each socket belongs.
   --numeric , -n
       Show numerical addresses instead of trying to determine symbolic host, port or user names.

 °Ô½ÃÆÇ ±Û ¸ñ·Ï
No Subject Poster Hits Posted
13488 helix 1779 2016-07-05 19:39:23
13487 helix 3250 2016-07-05 18:44:22
13081 helix 2392 2015-12-30 00:55:40
13079 helix 2209 2015-12-29 12:48:07
12851 helix 1899 2015-11-27 15:34:03
helix 2123 2015-07-20 00:35:28
11004 helix 2553 2015-03-24 02:50:29
10878 helix 3289 2015-03-06 12:32:41
10760 helix 5443 2015-02-16 23:36:31
10369 helix 3702 2015-01-08 21:39:30
9625 helix 6635 2014-10-31 19:16:51
ÄÚ¸àÆ®
ÀÛ¼ºÀÚ
                       
 
zany.kr
  Copyright ¨Ï 2002-2010 Zany's Programming Lab. All Rights Not Reserved.
temporary This Page loads on 0.000 Secs