I'm fighting some ridiculous no-so-eeasy to debug case with my cryptsetup/LUKS encrypted home directory. The setup: I have partition that is dedicate ...
I'm fighting some ridiculous no-so-eeasy to debug case with my cryptsetup/LUKS encrypted home directory. The setup: I have partition that is dedicate ...
I have two very simple apps listening on TCP HTTP 4466. Both use Jersey 2.X but one is a native-image and the other is a java UncompiledMain.java proc ...
I am trying to remove a directory /path/to/dir using the rm -rf command. Unfortunately I get the error After a little bit of research, I realized t ...
I have a program that occasionally fails to start because an IP/port that it wants to connect to is already in use. How can I programatically check wh ...
I was wondering if it would be possible to list all running docker-compose files with a bash function? Something like docker ps or docker container ls ...
Google said I have the following output The second line is my process (listening on 8018) What does it mean -> and ESTABLISED? ...
When I run the command lsof from a terminal, it will show a detail list of all file descriptor with a header is FD. And FD column numbers like 1u is a ...
The program is a standard flask program, and it does some cleanup as part of the initialization. In the cleanup() procedure, using os.remove("abc.txt" ...
Suppose I have something like .PHONY: kill-server kill-server: kill -9 $(lsof -t -i :9000) Why it doesn't work and how do I fix this? ...
I launched a program that listens at 127.0.0.1:3000 on a CentOS server. I haven't sent any message to the program but it keeps receiving data. I want ...
We have one system which is generating files and I want to check which files out of many files are completed and also not been modified from past two ...
Using Shell Script like below: if [[timeout 60 | wsof -l]]; then echo "thread sleeping for 60 seconds" exit else echo "timeout failed" exit fi But g ...
My app, running within its own docker container, needs to check if a file located on a mounted filesystem/volume is still open by another process on t ...
I am a newbie to connections. I ran the following command on my ubuntu server: lsof -nP -iTCP -sTCP:LISTEN and this came up, among other connections: ...
I need to discover what processes are using a specific disk. This is a multipath disk but I cannot find a way of setting up a way to record to a log f ...
When I open a file in a Python Program And then run following: If I just open output.txt via a text editor and run same command as above i get n ...
I am using lsof to find out all processes which have /var/ in the description. I am now trying to kill all these processes using the following comm ...
I'm trying to figure out whether I have a leak in file descriptors using lsof. The -c option to lsof is defined as: Selects the listing of files f ...
I am working on a Python Server application that runs on 127.0.0.1 : 555 and I am trying to show the port 555 on lsof, or netstat. My system is macOS ...
I have a process running on port 3200, which communicates with other processes on other ports. I know I can kill a process on a given port by doing k ...