From nobody Wed Nov 24 16:11:24 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 4D72718B7F73; Wed, 24 Nov 2021 16:11:26 +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 4HzmGN51C5z3lBs; Wed, 24 Nov 2021 16:11:24 +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 4B7834AF6; Wed, 24 Nov 2021 16:11:24 +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 1AOGBOEd001989; Wed, 24 Nov 2021 16:11:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOGBOVB001987; Wed, 24 Nov 2021 16:11:24 GMT (envelope-from git) Date: Wed, 24 Nov 2021 16:11:24 GMT Message-Id: <202111241611.1AOGBOVB001987@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: 4614bc803462 - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: 4614bc803462366cb64b4a0609989fa2e3205b28 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637770285; 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=I0CPuO/YcMAf2b2fpWX+44MwhJbACeTWYtkTv+7IsTs=; b=rwf0OrhR9eifB33e9lbDSkh7pju1xTzR2dJGwRlHJNgMKyN5/Z3IVSk8DutbeWMKNQdM2p mBGVP+Mlhv6a16awkGcCV4M6Ic/KRdv28+4A2un039uwQgbJn8Iu/Rmb/l7L6SMR3Hj4HP xEVf8+qvG3UUseU7iPOdlf27tDCdcZO7DgVoxl2s7mNCOK28xWku5MDeUqW4FBl1ST1e+S QXMKbrTKdcuwB1dbifFvxLEt8n4pzWPgarFH+Jgh+RDZ97T88L0LSENhCMiR/l1oosn0+2 oIQD27xpmNLllSDyX/3Ywho6ca3O8YI3f6uTMxkCz/WP9plYRRVqfKrYlTs+wA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637770285; a=rsa-sha256; cv=none; b=OW51HblVvckRhrW8JOfgla3EgllPHJepO90HHI3Fy0S9pXZWC4Yb8kdCY3n/o3yjKOYfgk m9JTKN7EOxBunLyRHEBu7VLJJQoYmeFROVqvl+Q7Vi0ktMB0LRYbRCJ687dp/fBZX4MgmE I55SuH8lrBD2jzpAwa4KzyORIkPm6uYTUTqocCn/O3hEH+c40EGm7V+I6xw0PiyGCVfrGF ZI44qY1AmXR5OeDvs/vU50y9MyBJzW4J2xPN0FhW3n+WhQS/sGT4i4OQ5jjxYm5ZuxY9uY F+Lsfy48vHuAzQ7bIG59pClLoIqbdRZJRx7TVrwsT+hZgbqKjTvt7x4UPk63mA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=4614bc803462366cb64b4a0609989fa2e3205b28 commit 4614bc803462366cb64b4a0609989fa2e3205b28 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:10 +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 1f0be330ddc8..deda87a973f0 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 @@ -116,9 +116,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