본문 바로가기
반응형

프로...Linux43

[svn] 일반 [svn] 일반파일 이동> mvsvn mv [src] [dst][svn] revision (-r)이전 버전으로 회귀> svn -r REV_NO filefile 변경후 ( 변경하지 않으면 Check-In 안됨 ) svn ci file 2019. 3. 14.
[GDB] 자주 사용하는 것들 [GDB] 자주 사용하는 것들 [Thread 관련] https://sourceware.org/gdb/onlinedocs/gdb/Threads.html(gdb) info threads 모든 스레드들의 호출 스택 보기(gdb) thread apply all bt(gdb) thread apply thread-id-list bt 디버거가 붙어 있는 스레드 변경하기(gdb) thread 스레드의 호출 스택 보기(gdb) bt 스레드 이벤트(gdb) set print thread-events Path(gdb) set libthread-db-search-path path’ [Process 관련]gdb -p [Print 관련] https://manime.tistory.com/entry/gdb%EC%9D%98-print.. 2019. 3. 14.
[IPC] Inter-Process Communications [IPC] Inter-Process Communicationsipcs -m 으로 확인시 key가 0x0000 이고 ID는 정상적인 것을 볼 때가 있다.- 여러 프로세스가 Running중에 공유메모리를 사용중인 상태에서 . 해당 메모리를 삭제하면 해당 증상이 나타나며. ipcrm으로 Key / Id 형식으로 삭제하려고 해도 삭제되지 않는다.-> 나머지 프로세스가 종료되면 해당 메모리도 없어진다. 확인 방법>ipcsipcs -m (Share Memory만)ipcs -s (Semapho만) status 중 "dest" 는 .... "marked to be destroyed on the system." 삭제 방법>ipcrm -M shm_keyipcrm -m shm_id # ipcs -m ------ Shared.. 2019. 3. 14.
[압축] Linux 압축 관련 [압축] Linux 압축 관련 tar> Optionsx : 묶음을 해제c : 파일을 묶음v : 묶음/해제 과정을 화면에 표시z : gunzip을 사용f : 파일 이름을 지정p : 권한(permission)을 원본과 동일하게 유지 tar> 예제tar cvfz tared.tgz targettar tvfz tared.tgztar xvfz tared.tgz 2019. 2. 26.
반응형