Ace-T's Blog 내 검색 [네이버 커넥트 이웃 합니다~^-^/ 요청 大 환영~~]

리눅스 명령어 netstat -altunp

OS/Linux&Unix 2012.09.10 11:38
[Good Comment!!, Good Discussion!!, Good Contens!!]
[ If you think that is useful, please click the finger on the bottom~^-^good~ ]
by ace-T

열려있는 포트를 알아 볼 때 사용 한다. 매우 유용하다^-^good~
netstat -altunp

옵션 : 
아래의 옵션은 man netstat 를 통해서 발췌한 내용이다.
 --verbose , -v
       Tell the user what is going on by being verbose. Especially print  some
       useful information about unconfigured address families.

--numeric , -n
       Show  numerical addresses instead of trying to determine symbolic host,
       port or user names.

       shows numerical host addresses but does not affect  the  resolution  of
       port or user names.

       shows numerical port numbers but does not affect the resolution of host
       or user names.

       shows numerical user IDs but does not affect the resolution of host  or
       port names.

   --protocol=family , -A
       Specifies  the  address families (perhaps better described as low level
       protocols) for which connections are to be shown.  family  is  a  comma
       (’,’)  separated  list of address family keywords like inet, unix, ipx,
       ax25, netrom, and ddp.  This has the same effect as using  the  --inet,
       --unix (-x), --ipx, --ax25, --netrom, and --ddp options.

       The address family inet includes raw, udp and tcp protocol sockets.

   -c, --continuous
       This  will cause netstat to print the selected information every second

   -e, --extend
       Display additional information.  Use  this  option  twice  for  maximum

   -o, --timers
       Include information related to networking timers.

-p, --program
       Show the PID and name of the program to which each socket belongs.

 -l, --listening
       Show only listening sockets.  (These are omitted by default.)

 -a, --all
       Show  both  listening and non-listening sockets.  With the --interfaces
       option, show interfaces that are not marked

       Print routing information from the FIB.  (This is the default.)

       Print routing information from the route cache.

   -Z --context
       If SELinux enabled print SELinux context.

   -T --notrim
       Stop trimming long addresses.

       Netstat will cycle printing through  statistics  every  delay  seconds.

 netstat {--statistics|-s} [--tcp|-t] [--udp|-u] [--raw|-w] [delay]

'OS > Linux&Unix' 카테고리의 다른 글

tar.gz 사용법  (0) 2012.09.24
[명령어] nohup  (0) 2012.09.10
리눅스 명령어 netstat -altunp  (0) 2012.09.10
[리눅스] 이클립스 라이브러리 경로가 변경 안될 때  (0) 2012.06.19
GNU/Linux / ubuntu  (0) 2012.06.18
리눅스 zip 압축 및 해제  (0) 2012.06.08

acet 박태하가 추천하는 readtrend 추천글!




:::: facebook을 이용하시는 분들은 로그인 후 아래에 코멘트를 남겨주세요 ::::

티스토리 툴바