리눅스에서 일반 유저가 사용하지 못하는 0~1023 포트를 시스템(system)포트 또는 잘 알려진(well-known)  포트 라 한다.

1024 포트부터는 등록된(registered) 포트라 한다.




그리고 통신 프로그래밍(http)에서처럼 잠깐 쓰는 포트를 임시(ephemeral) 포트라 한다.




https://en.wikipedia.org/wiki/Port_(computer_networking)


The well-known ports (also known as system ports) are those from 0 through 1023.


The registered ports are those from 1024 through 49151.



https://en.wikipedia.org/wiki/Ephemeral_port


An ephemeral port is a short-lived transport protocol port for Internet Protocol (IP) communications.


'영어앤영문권' 카테고리의 다른 글

BYOD  (0) 2018.07.28
생성자(constructor)를 짧게 영어로 하면..  (0) 2018.07.27
=> 를 영어로 어떻게 발음할까?  (0) 2017.11.24
언커링: dual transformation/double transformation  (0) 2017.11.21
feature toggle 용어  (0) 2017.05.20
Posted by '김용환'
,



python에서 옵션(매개 변수)를 받고, 공백(white space)가 있으면 처리해준다.



from optparse import OptionParser

import re


parser = OptionParser()

parser.add_option("--exclude_host", help="excluded host", type="string", default='')

..

exclude_host = re.split("^\s+|\s*,\s*|\s+$", options.exclude_host)




이외에 배열에 대해 A-B 같은 substract 같은 연산을 하고 싶으면 다음 예시를 참조한다.


..

if options.exclude_host is not '':

    fqdn_list = [item for item in fqdn_list if item not in exclude_host ]


Posted by '김용환'
,

grafana solo

web 2018. 7. 4. 18:19



http://docs.grafana.org/reference/sharing/



grafana 대시보드를 iframe으로 연동하면 dashboard의 이름이 dashboard-solo가 된다.



<iframe src="https://snapshot.raintank.io/dashboard-solo/snapshot/y7zwi2bZ7FcoTlB93WN7yWO4aMiz3pZb?from=1493369923321&to=1493377123321&panelId=4" width="650" height="300" frameborder="0"></iframe>


Posted by '김용환'
,