Skip to main content

Questions tagged [lsof]

lsof is a tool to list open files of processes

4 votes
2 answers
525 views

Suppose you have this script, on an Ubuntu machine: #!/bin/env python3 import sys import time try: i = 1 while True: print(i) i += 1 except Exception as e: sys.stderr.write(f"We ...
eftshift0's user avatar
  • 785
0 votes
1 answer
62 views

My VMs IPv6 address occasionally get on a blocklist. Their "evidence" is that they claim something is making outbound connections to port 25 and issuing an EHLO of an IP address, not a ...
John Oliver's user avatar
0 votes
1 answer
37 views

I'm working an issue with ZeroMQ using XSub-XPub. I did lsof on bind in port and see: lsof -i :5556 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME python 475590 codespace 45u IPv4 ...
davetapley's user avatar
0 votes
2 answers
338 views

I keep having lsof -w -l +d /var/lib/php5 eating up my CPU I want to know who is triggering it and what does it have with php5 ...
Aleksandar Pavić's user avatar
2 votes
2 answers
434 views

In my example, the wc program is trying to open the test FIFO or named pipe. These in-progress open syscalls seem not to be shown by fuser or lsof: mknod /tmp/testpipe p wc /tmp/testpipe & timeout ...
Juergen's user avatar
  • 754
4 votes
1 answer
157 views

When I run lsof I see the output java 1752736 user 9995u sock 0,8 0t0 1432559505 protocol: TCPv6 java 1752736 ...
lfmunoz's user avatar
  • 398
2 votes
1 answer
260 views

Per the EXAMPLES section in the lsof(8) man page on manpages.ubuntu.com, I should be able to run a command/take action if a process has a file open: To take action only if a process has /u/abe/foo ...
Bink's user avatar
  • 306
0 votes
1 answer
546 views

Using lsof command I would like to print out TCP connections with ESTABLISHED state but ignoring the ones with localhost. I tried: lsof -itcp@^127.0.0.1 -stcp:established lsof -itcp@(^127.0.0.1) -stcp:...
downtheroad's user avatar

15 30 50 per page
1
2 3 4 5
16