[hp-ux] tusc and lsof => system call 분석
작성자 관리자 작성시간 2017-06-29 20:49:28
 

출처: target=_blank>http://forusone.tistory.com/entry/HP-tusc-and-lsof-example



1. tusc -w all -r all -p PID  ( tusc -l -r all -p PID, tusc -lu -p PID, tusc -l -w all -r all -p PID )
[25396] read(10, "905 82\0f288d2\.....
[25396] write(10, "905 82\0f288d2\.....

=> fd값이 10에 데이터를 쓰고 있음 (nid = native id)

2. lsof -p 25396

clh  25396 tmax 10u unix 0x65f1c580 ............

3. lsof |grep 0x65f1c580


목록 | 입력 | 수정 | 답변 | 삭제