From owner-freebsd-hackers@freebsd.org Thu Jan 21 22:18:38 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C38C4A8C017 for ; Thu, 21 Jan 2016 22:18:38 +0000 (UTC) (envelope-from Ed.Batutis@netapp.com) Received: from mx143.netapp.com (mx143.netapp.com [216.240.21.24]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mx141.netapp.com", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A46971979 for ; Thu, 21 Jan 2016 22:18:38 +0000 (UTC) (envelope-from Ed.Batutis@netapp.com) X-IronPort-AV: E=Sophos;i="5.22,327,1449561600"; d="scan'208";a="92382741" Received: from hioexcmbx07-prd.hq.netapp.com ([10.122.105.40]) by mx143-out.netapp.com with ESMTP; 21 Jan 2016 14:13:30 -0800 Received: from HIOEXCMBX08-PRD.hq.netapp.com (10.122.105.41) by hioexcmbx07-prd.hq.netapp.com (10.122.105.40) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Thu, 21 Jan 2016 14:13:30 -0800 Received: from HIOEXCMBX08-PRD.hq.netapp.com ([::1]) by hioexcmbx08-prd.hq.netapp.com ([fe80::6575:4d3c:1907:ddb1%21]) with mapi id 15.00.1130.005; Thu, 21 Jan 2016 14:13:30 -0800 From: "Batutis, Ed" To: Slawa Olhovchenkov CC: "freebsd-hackers@freebsd.org" Subject: RE: get number of open files in a process? Thread-Topic: get number of open files in a process? Thread-Index: AdFT1cxGnzmxie9rRAaN4NJqEtku+wA/l1sAAA8jpIA= Date: Thu, 21 Jan 2016 22:13:21 +0000 Deferred-Delivery: Thu, 21 Jan 2016 22:13:00 +0000 Message-ID: References: <20160121211718.GI88527@zxy.spb.ru> In-Reply-To: <20160121211718.GI88527@zxy.spb.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.122.56.79] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 21 Jan 2016 23:45:55 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2016 22:18:38 -0000 =20 > # df -ki /dev/fd/ > Filesystem 1024-blocks Used Avail Capacity iused ifree %iused Mounted o= n > fdescfs 1 1 0 100% 4 116439 0% /dev/fd > ^^^^^ ^^^^^^ Interesting. But I need this information for a process. Thanks, =3DEd