lsof with "-p" option

Alexander Scherbatiy alexander.scherbatiy at bell-sw.com
Tue Feb 11 12:56:35 UTC 2020


Hello,

I use Alpine Linux 3.11.3 in docker which contains BusyBox v1.31.1

When I call "lsof -p PID" it lists open files for all processes:

------------

/ # echo PID=$$
PID=34
/ # lsof -p $$
1    /bin/busybox    /dev/pts/0
13    /root/mount/boot/jdk-13.0.2/bin/java    /dev/pts/0
34    /bin/busybox    /dev/pts/1
------------

Are there plans to support "-p" option for lsof?

Thanks,

Alexandr.







More information about the busybox mailing list