Đặng Thị Mỹ Linh
New member
How check file handles Linux?
Answer
In Linux you can check
/proc/
<pid>
/fd directory
</pid> – for every open fd there will be a file, named as handle. I’m almost sure this way is non-portable. Alternatively you can use lsof – available for Linux, AIX, FreeBSD and NetBSD, according to man lsof .
Answer
In Linux you can check
/proc/
<pid>
/fd directory
</pid> – for every open fd there will be a file, named as handle. I’m almost sure this way is non-portable. Alternatively you can use lsof – available for Linux, AIX, FreeBSD and NetBSD, according to man lsof .