How to list a process opened file

First use ps command to find the pid of the process you would like to monitor.

Then use

sudo lsof -p pid -P

猜你喜欢

转载自www.cnblogs.com/zhaofeng-shu33/p/12187341.html