vim diff 옵션 www.vim.org에 가면 많은 정보들이 있는데 그중에서 재밌는것들이 보이면이곳에 정리하려고 함. VIM의 DIFF 기능 (창이 분할되서 보이는데 편함)사용법은 아래처럼 단순하다. (둘중에 아무거나 편한걸 사용하면 됨) vimdiff file1 file2 [file3 [file4]] vim -d file1 file2 [file3 [file4]] 예를들어서 vim -d main.c main1.c main2.c 명령을 수행하면 아래같이 나옴. 엔지니어 2013.06.20
파일사이즈구하기 예제 (c언어 linux) 파일의 크기를 구하기 위해서 stat 함수를 이용해서 구현이 가능 --- #include #include #include #include #include "sys/stat.h" static size_t get_file_size (const char * file_name) { struct stat sb; if (stat (file_name, & sb) != 0) { fprintf (stderr, "'stat' failed for '%s': %s.\n", file_name, strerror (errno)); exit (EXIT_FAILURE); } return sb.st_size; } int main (int argc, char ** argv) { int i; const char * file_name; si.. 엔지니어 2013.06.18
타이머 기능 요약 2.1 Timer ServiceThe Timer Service provides a mechanism by which client processes get notifiedwhen a timer expires. A timer is a logical object that is dynamically created and representseither absolute time or a duration.The Timer Service provides two types of timers: single event timers and periodic timers.Single event timers will expire once and are deleted after notification. Periodictimers w.. 엔지니어 2013.06.12
Naming 기능 요약 2.1 Naming ServiceThe Naming Service provides a mechanism by which human-friendly names areassociated with (‘bound to’) objects so that these objects can be looked up given their names. The objects typically represent service access points, communication endpointsand other resources that provide some sort of service.The Naming Service imposes neither a specific layout nor a convention on either .. 엔지니어 2013.06.12
잠금 기능 요약 2.1 Lock ServiceThe Lock Service is a distributed lock service, which is intended for use in a cluster where processes in different nodes1 might compete with each other for access to a shared resource.The Lock Service provides entities called lock resources, which application processes use to coordinate access to shared resources.The Lock Service provides a simple lock model supporting two locki.. 엔지니어 2013.06.12
체크 포인트 기능 요약 2.1 Checkpoint ServiceThe Checkpoint Service provides a facility for processes to record checkpoint dataincrementally, which can be used to protect an application against failures. When recovering from fail-over or switch-over situations, the checkpoint data can be retrieved, and execution can be resumed from the state recorded before the failure.Checkpoints are cluster-wide entities that are de.. 엔지니어 2013.06.12
이벤트 처리 기능 요약 2.1 Event ServiceThe Event Service is a publish/subscribe multipoint-to-multipoint communicationmechanism that is based on the concept of event channels. One or more publisherscommunicate asynchronously with one or more subscribers by means of events overa cluster-wide entity named event channel.Events consist of a standard header and zero or more bytes of publisher event data.Multiple publisher.. 엔지니어 2013.06.11
알림 기능 요약 2.1 Users of the Notification Service LibraryUsers of the Notification Service library run on cluster nodes as defined by the ClusterMembership Service (see [4]).2.1.1 ProducerA notification producer generates notifications (using the Producer API of the NotificationService).2.1.2 ConsumerA consumer consumes notifications that were generated by producers. If a consumeris not interested in all no.. 엔지니어 2013.06.11
메시지 기능 요약 2 OverviewThis specification defines the Message Service within the Application Interface Specification(AIS). 2.1 Message ServiceThe Message Service specifies a buffered message-passing system based on theconcept of a message queue for processes on the same or on different nodes1. Messagesare written to message queues and read from them. A single message queuepermits a multipoint-to-point commun.. 엔지니어 2013.06.11
ipv6에서 scope id가 필요한 이유(미완성, 내용없음) 멀티프로토콜 Border Gateway Protocol+ IPv6에서의 멀티프로토콜 BGP는 IPv4의 멀티프로토콜 BGP와 같은 기능 및 혜택을 제공합니다. RFC 2858,Multiprotocol Extensions for BGP-4는 BGP4를 위한 멀티프로토콜 확장자를 새로운 속성으로 정의하고 있습니다.RFC 2545, Use of BGP-4 Multiprotocol Extensions for IPv6 Interdomain Routing은 멀티프로토콜 BGP의 개선사항에 IPv6 주소군과 Network Layer Reachability Information(NLRI) 그리고 next hop(목적지로의 경로 상에 있는 다음 라우터) 속성에 대한 지원 등이 포함되어 있다고 설명하고 있습니다. 이 속성.. 엔지니어 2013.03.27