The lsof tag has no wiki summary.
1
vote
0answers
32 views
Information about the 1630/master app
When I run
$ sudo netstat -a --programs | grep LISTENING | grep 1630
I will get this output. Do you know what good are processes running under this app name? Why they I running on my system and if ...
1
vote
1answer
49 views
How can I monitor if anybody (any process) access is certain file [closed]
Possible Duplicate:
Access history of a file
I know if a file is "being accessed" I can use lsof to see who (which process) is accessing it, but lsof is slow and heavy and I don't think I ...
8
votes
2answers
131 views
lsof - age of file
The *nix command lsof gives you a list of open files. Is anyone aware of a way that would also list how long a particular file has been open? Either by using lsof or any other command. I'm using ...
5
votes
1answer
240 views
lsof and listening ports
I am trying to get all the processes listening for a network connection on Mac OS X. netstat does not have the -p option and I am trying with lsof
lsof -i -sTCP:LISTEN
gives me a fair list of ...
6
votes
3answers
249 views
Faster alternatives to lsof
I want to extract the process id of a certain process in order to shut it down. The process is a local web server using a certain port (localhost:3000), and I am currently doing it like this to ...
7
votes
4answers
377 views
Under AIX, how can I get the full path of a program bound to a port?
Under Linux I can use netstat -tulpnw and ps, like so:
# netstat -tulpnw | grep :53
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1482/named
udp ...
3
votes
3answers
921 views
Alternatives for “lsof” command?
In many cases "lsof" is not installed on the machines that with I have to work, but the "function" of lsof would be needed very much (ex. on AIX). :\
Are there any "lsof" like applications in the ...
13
votes
2answers
1k views
Who's got the other end of this unix socketpair?
I want to determine what process has the other end of a unix socket, that was created with socketpair().
I have a program parent which creates a socketpair(AF_UNIX, SOCK_STREAM, 0, fds), and fork()s. ...
5
votes
5answers
1k views
Determining what process is bound to a port
I know that using the command:
lsof -i TCP
(or some variant of parameters with lsof) I can determine which process is bound to a particular port. This is useful say if I'm trying to start ...
4
votes
3answers
291 views
How do I get a mapping of Pid to Port?
I have a process which I need to run on a specific port. I have started some other process on that port and I need to kill it.
Unfortunately, I don't remember the name/pid of the other process so I ...