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 50D5A46130; Fri, 24 Jan 2025 19:04:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 27A6C410FA; Fri, 24 Jan 2025 19:04:21 +0100 (CET) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mails.dpdk.org (Postfix) with ESMTP id B03E4402CE for ; Fri, 24 Jan 2025 19:04:19 +0100 (CET) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2162c0f6a39so66586135ad.0 for ; Fri, 24 Jan 2025 10:04:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1737741859; x=1738346659; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Y9sXwCFHL/TVXsnSx+RcKv4mk28+/XG5f7CiEnaJy5M=; b=Tdqiygw0dS6RFKeKKaljk3YAC/poZ5b0fpaSg6Rref2TU1XMmgoAoF/eD6aKQF6xjz R3rA5kDabcIn5w5CEHA8LBoGMrH+n0iUdAIV+/AkZLbWZTX+BhErLgR4vihObgPuOspM X5zfguGUePeNC1U7Qmp4/r5wrfk/1nvK1/YSibSjaNVkp951+RA195unFYjjTDAJjpJw yYKADkRdtYJK7QQeEJHvS58RXC24e4+vqtklq5/uVhh5DOcmdSF4cVPHIgnZEhv+o1xS u+7VH870NYheKTCADwaTIi/PjgruS6q5P1fUmyhKElG646o/M2By+djC0FW7NMqE+Ehr XvuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737741859; x=1738346659; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y9sXwCFHL/TVXsnSx+RcKv4mk28+/XG5f7CiEnaJy5M=; b=F3Jn+qAkdTHJB94RP6gmUOChtr8Q4rKoTaOVaxDrHIwcktsEKcgcc7phlM9aNakuzd ivoe7OVOTwx4+qt8yvoHcb1A5/gJeeCf49lTNjHQoRMXru8EZYdzcwTIq26bn7xmsYOb NM/z0C7o0mOL9SfGuNDIbI92Oxx+R9mQCzyU6cx3oKSY89ILbC52sHg2AAYCXCpt0+rB sD9qBpgqFcF5mjoqRA/TXYP2xameZR3vflBlkOm1YWeMIKhlP6n2MQWkrgW4Bmfrhq2k SSAW6kwPWNghoCZowCrBIA++jSzmkKMGKgkCzIU3SS0xJwct17zjHGD8SIXxDzq1tEoE GRZg== X-Gm-Message-State: AOJu0YxXgNSe17L09ZKc9OiEeP9MGvmGNlJPopnV9RWvlzplv8ySm+VH +AMf9WYbSY/l5Yaqy9Z7mc+06WIRmykJowMKA+J9oedq+JcEdEklPHwZcU5DnFA= X-Gm-Gg: ASbGncuiz4PWiskHqQBv09nSZD2bRZRkYn26zKUipMOjNwWP1+GaMYz09L5GlU7q9Pj BUuMzrPu3Kbw7XjrmKRlxV7E8kK3uHa3BWXN3KdrsqemEV/cj/xAsWk9Rg2ay0aK5VuQ8ZD0xvs x7vZaaw4WUDCAx4boIA6i+chTutlyLnlTdKMxAnEmR+b8wYsLz11D/i/qXiMoN9Q5jw25HZDIjT gkT5ORA8Cyu6awJdsBhFNzVLp/4PIH3ySn4dSJBk+r/nrJwKNbvL1ZJotGyDEnfDolMad61EHGQ jUE1Jj4eCZAGP7RpwE9FxpZbHGMSPO7Ya0hsaIX2T1ID8bh8ZB7QjT4RAg== X-Google-Smtp-Source: AGHT+IEfZEY1hCw+ad4qvh3yzXd8hq/ZZOeWvl5NsdjGvThZcxa/4te+uP214J87F2qrGpfCpZtulQ== X-Received: by 2002:a05:6a00:ac4:b0:725:d9b6:3952 with SMTP id d2e1a72fcca58-72f7d1d9573mr14589953b3a.3.1737741857779; Fri, 24 Jan 2025 10:04:17 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72f8a77c969sm2165863b3a.150.2025.01.24.10.04.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 10:04:17 -0800 (PST) Date: Fri, 24 Jan 2025 10:04:15 -0800 From: Stephen Hemminger To: Dengdui Huang Cc: , , , , , Subject: Re: [PATCH] app/procinfo: add xstats parameter to hide zero Message-ID: <20250124100415.1e258258@hermes.local> In-Reply-To: <20250124100032.3497253-1-huangdengdui@huawei.com> References: <20250124100032.3497253-1-huangdengdui@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Fri, 24 Jan 2025 18:00:32 +0800 Dengdui Huang wrote: > The number of xstats may be large, after the hide zero parameter to > hide zero only non-zero values can be displayed. > > So display xstats with hide zero: > dpdk-proc-info --proc-type=secondary -- --xstats > and without hide zero: > dpdk-proc-info --proc-type=secondary -- --xstats=hide_zero > > Signed-off-by: Dengdui Huang > Acked-by: Chengwen Feng Acked-by: Stephen Hemminger