From owner-freebsd-questions@FreeBSD.ORG Mon Feb 15 18:02:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9527B106566C for ; Mon, 15 Feb 2010 18:02:47 +0000 (UTC) (envelope-from anthony.rasat@gmail.com) Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191]) by mx1.freebsd.org (Postfix) with ESMTP id 2B0DB8FC08 for ; Mon, 15 Feb 2010 18:02:46 +0000 (UTC) Received: by qyk29 with SMTP id 29so2960787qyk.13 for ; Mon, 15 Feb 2010 10:02:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:x-rim-org-msg-ref-id :return-receipt-to:message-id:reply-to:x-priority:sensitivity :importance:to:subject:from:date:content-type:mime-version; bh=UneQByI6W3LX2vStJGMWzwiz+2sKLzhEl4jQxIsRW/8=; b=Pf1PGGz3Ofu/5jy9EoeA4TGbFeXHxEkAiPbx7gcd2WysD2snjMjpxs7pAjODqCD0P8 oXk7Mp2vpj0RIXFC9sJGObqO6O+d6HUo+p67urYpj8CP13V+NlwFvcBvsMO8Io2vLSlf +SXGSeeoykbXBUmPIyBYSS284k/bKc4r/5wv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-rim-org-msg-ref-id:return-receipt-to:message-id:reply-to :x-priority:sensitivity:importance:to:subject:from:date:content-type :mime-version; b=I/1VgsX4r021uEu9Wjk/Tij2eqWto1c3JXFW16Vemjt/pQlGtvuoBhxHpXWS0rbztl HPVpFo0WayOjnCCsjsowOG32f8I4C9FmZ8bXDgAEpVh98qJalMC+XbWbHa9DmvKUt4/5 RakcqtFpIrRsV7/oz42mzEieuD033CNzfjV6w= Received: by 10.224.72.163 with SMTP id m35mr138071qaj.73.1266256946625; Mon, 15 Feb 2010 10:02:26 -0800 (PST) Received: from bda2010.bisx.prodap.on.blackberry (bda-206-53-150-209.bise.na.blackberry.com [206.53.150.209]) by mx.google.com with ESMTPS id 21sm4436368qyk.0.2010.02.15.10.02.25 (version=SSLv3 cipher=RC4-MD5); Mon, 15 Feb 2010 10:02:25 -0800 (PST) X-rim-org-msg-ref-id: 1142495683 Message-ID: <1142495683-1266256943-cardhu_decombobulator_blackberry.rim.net-1222674846-@bda049.bisx.prodap.on.blackberry> X-Priority: Normal Sensitivity: Normal Importance: Normal To: freebsd-questions@freebsd.org From: "Anthony M. Rasat" Date: Mon, 15 Feb 2010 18:02:15 +0000 Content-Type: text/plain MIME-Version: 1.0 Subject: Re: Why lsof shows the file as open and fstat doesn't ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: anthony.rasat@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2010 18:02:47 -0000 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