Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2010 18:02:15 +0000
From:      "Anthony M. Rasat" <anthony.rasat@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Why lsof shows the file as open and fstat doesn't ?
Message-ID:  <1142495683-1266256943-cardhu_decombobulator_blackberry.rim.net-1222674846-@bda049.bisx.prodap.on.blackberry>

next in thread | raw e-mail | index | archive | help
Yuri wrote:
>But when I run "fstat /tmp/dbus-iQmkLjgxD6" 
>it doesn't return anything, like this file isn't 
>open at all.

I'm not sure that this will answer your question but bear with me.

Usually I use lsof to list any listening TCP or UDP ports, with following command:

lsof -P -i -n

The result will clearly show you what application listening to what port. Now this is I'm not really sure if I'm correct: by default Dbus doesn't have any listening port.
 
Hope that would help you.

Regards,

Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Selatan 12210
Indonesia.-
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1142495683-1266256943-cardhu_decombobulator_blackberry.rim.net-1222674846->