From nobody Wed Nov 24 16:11:23 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E4DE2189007A; Wed, 24 Nov 2021 16:11:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HzmGM2zFTz3lQn; Wed, 24 Nov 2021 16:11:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 27B474C70; Wed, 24 Nov 2021 16:11:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AOGBNPW001932; Wed, 24 Nov 2021 16:11:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOGBNrY001925; Wed, 24 Nov 2021 16:11:23 GMT (envelope-from git) Date: Wed, 24 Nov 2021 16:11:23 GMT Message-Id: <202111241611.1AOGBNrY001925@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 745ffe0ee867 - stable/13 - top.1: Improve description of -m List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 745ffe0ee86751541867e90af262ac355d061827 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637770283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U1rnFK7SZKs3XuFi+uLUNLTzUwE176arptBBtZhEmp0=; b=XENs9Ik2VjHjM4BW/T2ObFkEuHPGw4XMy8JqZoPss60ns2P+rcZvMTiF+Se62/AA9gvD9L eeSKoIXazfURYz6l8N4MqAf4iDSeOxYtJtbx1YrvfGvgnk8IqN0kDZJZ7veRBg19SMyaFC 0LOPUCfjDUk2G36mUT34qevTF8HI8/kIivdJYPKvFBXi/5fgv2NxkW8kVqWUKh68QAqeql ep87QBcPja8sLxQ1rih0prxBXaMs+vw1QBn1Sipzumr8GBEqh+bC39QMtIqTVSKXhdkEYX umBeW4apGWqhfFHQkGPobX8+GTAfNy7OnV2iyKKnZe1oiHlHfXrExoQLWnZXkQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637770283; a=rsa-sha256; cv=none; b=lE8rsfBwBH94iaNBAuQqXO36fNmrxcHuI2O1qFlDhcpbZOwAkU22OrvQsiDmsRfgaNk5FW hGjNSp3L5tSQgYMy/zGZbjj7Y62FR0SQHrfKzlb/SHE43Yyg23ohXS88XnUAYBd052n0UK xRqgBqSklVNmJG3VHtk1HdyaTC65G4mvetw1u/u0s0fFFWvcFBX4bpcyqUNRi3cIyFtWtj unXGgnueHPOm5JHB67aq9G98T0WA0dObZUc1ld288l1hJ10YHNR979S0hDSkW2l8DH03ge S1N92u5Ex0wuFBOpGrwQMhd2UmFa4a6A7PB4l1ouN4zeJ0otff7lBlVTf+yeqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=745ffe0ee86751541867e90af262ac355d061827 commit 745ffe0ee86751541867e90af262ac355d061827 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-11-18 14:31:48 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-11-24 16:10:04 +0000 top.1: Improve description of -m Describe -m argument as "mode" instead of "display". MFC after: 3 days (cherry picked from commit c947fc5fae31c5935a57abcaa76f40fc8950ce59) --- usr.bin/top/top.1 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/usr.bin/top/top.1 b/usr.bin/top/top.1 index 5989831fe8a9..892ee8307e27 100644 --- a/usr.bin/top/top.1 +++ b/usr.bin/top/top.1 @@ -10,7 +10,7 @@ .Op Fl abCHIijnPpqSTtuvxz .Op Fl d Ar count .Op Fl J Ar jail -.Op Fl m Ar cpu|io +.Op Fl m Ar mode .Op Fl o Ar field .Op Fl p Ar pid .Op Fl s Ar time @@ -119,9 +119,15 @@ Using this option implies Display the .Xr jail 8 ID. -.It Fl m Ar display -Display either 'cpu' or 'io' statistics. -Default is 'cpu'. +.It Fl m Ar mode +Display statistics in the specified +.Ar mode . +Available modes are +.Cm cpu +and +.Cm io . +Default is +.Cm cpu . .It Fl n Use \*(lqnon-interactive\*(rq mode. This is identical to \*(lqbatch\*(rq