tusc => lsof
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2017-07-04 15:51:14
 

Ãâó: target=_blank>http://forusone.tistory.com/entry/HP-tusc-and-lsof-example


** ¿ÍÀ̾î»þÅ©¸¦ È°¿ëÇÑ ½ÇÀü ÆÐŶ ºÐ¼®
tcp.port == 53322

** strace -fF -t -p PID

1. tusc -w all -r all -p PID

[25396] read(104, "905 82\0f288d2\.....
[25396] send (104, "905 82\0f288d2\.....

=> fd°ªÀÌ 104¿¡ µ¥ÀÌÅ͸¦ º¸³»°í ÀÖÀ½

2. lsof -p 25396

.....
java 25396 jeus 104u IPv4 0xe0000007a88f3c40  TCP localhost:53320 -> localhost:19950 (ESTABLISHED)
.....

3. lsof |grep 104u
java 25396 jeus 10u IPv4 0xe0000007a88f3c40  TCP localhost:53320 -> localhost:19950 (ESTABLISHED)