Top "Lsof" questions

Unix command that lists the files, sockets, and other file-descriptors that processes have open.

How to clean up after subprocess.Popen?

I have a long-running python script with a perl worker subprocess. Data is sent in and out of the child …

python subprocess pipe popen lsof
how to check open file without lsof

In linux, I use lsof to check the file is opened by which process. I have an android device, but …

android lsof
How to find out which process is using localhost:80?

I'm using linux mint xfce edition, my localhost:80 was used by some program but I don't which one, when I …

linux port lsof
What are the number of open files for a user on linux and system wide for linux?

Sorry, this question has several layers but all deal with the number of open files. I'm getting a "Too many …

linux unix lsof
Address already in use but nothing in netstat or lsof

I try to start the Python SimpleHTTPServer on port 7054 : $ sudo python -m SimpleHTTPServer 7054 ... socket.error: [Errno 98] Address already in use …

python linux port netstat lsof
How to check if a file is opened in Linux?

The thing is, I want to track if a user tries to open a file on a shared account. I'm …

linux file gedit lsof
Troubleshooting 'Too many files open' with lsof

I have a Java application running on Linux with PID 25426. When running lsof -p 25426, I noticed: java 25426 uid 420w FIFO 0,8 0…

java ioexception lsof
Check for open files with Python in Linux

I'm looking for a way to determine which files are open in my whole system (Linux) using Python. I can't …

python linux lsof
Alternative to lsof - to detect locked file

A file is locked with either a fcntl (non-blocking) or some custom way. So I'm using lsof and checking if …

lsof
Can lsof show open ports on alpine linux?

I have a spring boot app running in alpine linux listening on port 8080. However, when I do: $ lsof $ lsof -i 8080 …

linux networking port alpine lsof