티스토리 뷰
1. ldd file_name
ldd(1): print shared library dependencies - Linux man page
ldd(1) - Linux man page Name ldd - print shared library dependencies Synopsis ldd [OPTION]... FILE... Description ldd prints the shared libraries required by each program or shared library specified on the command line. Security In the usual case, ldd invo
linux.die.net
2. lsof -p processid
man7.org/linux/man-pages/man8/lsof.8.html
lsof(8) - Linux manual page
lsof(8) — Linux manual page LSOF(8) System Manager's Manual LSOF(8) NAME top lsof - list open files SYNOPSIS top lsof [ -?abChlnNOPRtUvVX ] [ -A A ] [ -c c ] [ +c c ] [ +|-d d ] [ +|-D D ] [ +|-e s ] [ +|-E ] [ +|-f [cfgGn] ] [ -F
man7.org
1) 프로그램 실행;
2) ps aux | grep 프로그램이름
3) lsof -p pid
엄밀히 말하면 lsof 는 사용하고 있는 파일명을 찾아주는 것이다. 그런데 리눅스는 파일이 모든 것이라서^^ 파일명만 찾으면 된다.
'linux kernel' 카테고리의 다른 글
Mac OS X Catalina VMWare Screen Blackout 현상 처리 (0) | 2020.03.02 |
---|---|
Linux Kernel을 다운 받고 나면 Linux Kernel Compile이죠 (0) | 2019.04.12 |
Linux Kernel Download - 2. git download (0) | 2019.04.12 |
Linux Kernel download - 1. kernel.org에서 직접 받기 (0) | 2019.04.12 |
자 이제 내가 본 커널코드에 내 이름을 넣어볼까? 우선 kconfig에 추가하자^^ 커널에 config 정도 넣어봐야지.. (0) | 2019.04.08 |