From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F1048A054D; Wed, 17 Feb 2021 14:57:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6DD9A40690; Wed, 17 Feb 2021 14:57:26 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 0289F4067A for ; Wed, 17 Feb 2021 14:57:24 +0100 (CET) IronPort-SDR: 4Yevj8RK6Tpyzvduvin0N01gVez1AW69CP37Bg2AUZR20C3qWkYuqIXlP1UmAzzlOM3IvPEOLV 04BIKMVv6vOA== X-IronPort-AV: E=McAfee;i="6000,8403,9897"; a="183268464" X-IronPort-AV: E=Sophos;i="5.81,184,1610438400"; d="scan'208";a="183268464" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2021 05:57:23 -0800 IronPort-SDR: BnWo9UJTWoXSCHtcJbxZMCbqHqSHbLZZfqB4JCqKAUkSTWKNpaalJk80ubsEANJO2qyMo+B+pJ 5uP1DNXSJN6Q== X-IronPort-AV: E=Sophos;i="5.81,184,1610438400"; d="scan'208";a="399958851" Received: from klaatz-mobl1.ger.corp.intel.com (HELO [10.213.232.163]) ([10.213.232.163]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2021 05:57:22 -0800 To: Bruce Richardson , dev@dpdk.org Cc: anatoly.burakov@intel.com References: <20210216094415.28000-1-bruce.richardson@intel.com> <20210216113921.28725-1-bruce.richardson@intel.com> From: Kevin Laatz Message-ID: Date: Wed, 17 Feb 2021 13:57:20 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210216113921.28725-1-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [dpdk-dev] [PATCH v2] usertools/dpdk-telemetry: print name of app when connected X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 16/02/2021 11:39, Bruce Richardson wrote: > When the dpdk-telemetry client connects to a DPDK instance, we can use the > PID provided in the initial connection message to query from /proc the name > of the process we are connected to, and display that to the user. We use > the "cmdline" procfs entry for the query since that is available on both > Linux and FreeBSD (assuming procfs is mounted on the BSD instance). > > Signed-off-by: Bruce Richardson > Acked-by: Kevin Laatz