lsof
Socket not listed in lsof but is listed in netstat
When I do \"lsof -n开发者_如何学Pythonl | egrep \"TCP|UDP\" \" in order to see socket states, I notice that the sockets that I expected to be listed are not at all, but when I do a \"netstat --tcp\",[详细]
2023-03-17 19:03 分类:问答lsof not giving o/p for bash built in read
When I do find / on a terminal and then do on another terminal lsof -a -d 0-2 -c fin I see o/p listed from execution of lsof command.[详细]
2023-03-14 01:50 分类:问答How to clean up after subprocess.Popen?
I have a long-running python script with a perl 开发者_Python百科worker subprocess.Data is sent in and out of the child proc through its stdin and stdout. Periodically, the child must be restarted.[详细]
2023-02-11 07:24 分类:问答Different result when executed from Crontab
I am trying to get the number of open files periodically through crontab using lsof|wc -l. It always returns zero. It is giving correct result when i run it directly.Any idea about this strange behavi[详细]
2023-02-07 02:23 分类:问答Outgoing TCP port matches listening port
I\'ve encountered a weird happenstance where the results of my lsof | grep 40006 produced java29722appsrv54uIPv6711357550t0TCP localhost:40006->localhost:40006 (ESTABLISHED)[详细]
2023-01-29 08:06 分类:问答Why doesn't lsof show that libstdc++ is loaded on Mac OS X?
I have an application that I know uses libstdc++, but even as the super user, I cannot see /usr/lib/libstdc++.6.0.9.dylib on my Mac OS X 10.6 Snow Leopard system?[详细]
2023-01-24 10:21 分类:问答What's the fastest way using lsof to find a single open file?
I\'m trying to test a single file if it is open using lsof.Is there a faster way than this? $result = exec(\'lsof | grep filename | wc -l\');[详细]
2022-12-24 02:39 分类:问答Is it possible to control which libraries apache uses?
Okay, so I had an earlier problem with PIL that is still unresolved. Someone else had this problem and had success by removing the old JPEG library. I can\'t really do that on my machine, however, as[详细]
2022-12-18 21:23 分类:问答How to debug a connection failure between Jboss and eclipse debugger
I have setup eclipse to attach开发者_开发问答 to a local JVM. But when I try to do the same for a machine over the network I get \"connection timed out exception\".[详细]
2022-12-14 09:04 分类:问答