Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
lsof -i :80
gnome-pan 28597 murat   18u  IPv4 2907888      0t0  TCP ....
gnome-pan 28597 murat   19u  IPv4 2907903      0t0  TCP ....
dropbox   28624 murat   18u  IPv4 2755213      0t0  TCP ...

When i list open files with -i switch i found out that some processes have the same fd's.For example above output, 28597 and 28624 pid's have the same fd's.That means these process can reach the same memory space.What is the reason for this ? How can they reach the same area and why ? Also what's the meaning of u (18u) ? Some fd's are end up with w.

share|improve this question
up vote 3 down vote accepted

That means these process can reach the same memory space.

Why would they want to reach a common memory space? The answer's simple -- to talk to each other!

In your case, dropbox is talking to gnome-panel, which provides the Dropbox status icon.

The libc manual has this to say:

The major use of duplicating a file descriptor is to implement redirection of input or output: that is, to change the file or pipe that a particular file descriptor corresponds to.

The u flag simply means that the FD is read-write; w means write-only, r means read-only.

share|improve this answer
Thanx a lot,i couldn't think like that because i could not relate dropbox and gnome-panel with each other.You simply explained. – myildirim Jul 3 '12 at 8:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.