From nobody Thu Mar 13 16:10:11 2025 X-Original-To: dev-commits-src-main@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 4ZDCBq4y8cz5qsHg; Thu, 13 Mar 2025 16:10:11 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZDCBq35pPz3Wrf; Thu, 13 Mar 2025 16:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741882211; 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=kDj6y8Zs6NdpikpRf+poHRvcCBaXIbyw/d3l6df+L5w=; b=VxXcQol/3gaG0hTF/JmjmedCary6vIdagSVdCKhIBkzGnpe4smXozoWsijMJKKjPnVGhLv 9hPyQOtdsG8eSq+KXRd8zv5UHnyjgVZHxS8RKpXgpkNRBHSplLTU1/xYjoFt4ettH2mtu0 W2mb58CCTTfkv9hBhPVLJlhoUFAcLGJXP4GyT+9qOpw/4/mcZfKccJPQD4HBiw3F2NvnUx l6bjaqipRTxwigp48InnRONgA4pqMu8g9SOFZteg0SmTy5hYhNdYiwud/cHIZwp6yQ/jyG oCV2oqO63dSxYESEBTJEiKwv/YxaXTe45P7tKi7yvglVo7NFZWBVCQP8K5SNSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1741882211; a=rsa-sha256; cv=none; b=jpQCuOnlhuHII4eB3jLtV2kwtDN8oXtFhWk0rcZhEbxHL5TQoijZBlIs8klzjcEwdhOH4E VAdVdInwlEZ4sqFoaTSKlvXa72zZ8WB2jg+CWxcDegktq1Li+D+xv+wb+mbGWPAPOgCRoE fE4Gq4FHeeag7JpZXtlpwUdR3Fu5kj8H+wpt5euXk7Jvow9bnzXcs49OXIyB2qEniEccgj YrolUT5qx0doKEIN6C1cLdgNlJYaUGv1WCaiQIv9NXcKI+sFN0KAhnLsXt2SmIfvcNOCQs +H9t453DU78Xz8OYTGi5Py/+N5nUM01m8iOQ/UHOrG2JyFk5mOSS+dO7tEuLzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741882211; 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=kDj6y8Zs6NdpikpRf+poHRvcCBaXIbyw/d3l6df+L5w=; b=D+JpLTQ86XaRWV2yJqs8edbf+JcVZHQtnRQZfoXvf+2RE6zsilDkPXRqPzUEp6k6kaEXN5 EizgGmA/R0DNBbCn0MW1k3pLAhbPH3So5NSOsGDGdJENbDX2yCSx1u9qLyoSpuMEI7ZnyD VjiDi7MjX90S5os10SuhSU70OL/3Yu8MyWga3We1logekAww0GBYYZ5MtmW0k2qRlgGRQn 3OCdcVrwogZFKGb6PWXTiKtdQk69cuUxpQZnJ7An0BhR0uU+uEdN7fiKVI7jVlbrG8Taom V16IQAd+lqFd+1XTbErLzggktA3FEDOT/AiPo8TmErWFLoSNd6Bw6+WRCNGK2g== 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 4ZDCBq1tDPz14BW; Thu, 13 Mar 2025 16:10:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52DGABp5056093; Thu, 13 Mar 2025 16:10:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52DGABR2056082; Thu, 13 Mar 2025 16:10:11 GMT (envelope-from git) Date: Thu, 13 Mar 2025 16:10:11 GMT Message-Id: <202503131610.52DGABR2056082@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 0832381247d7 - main - procstat.1: sort subcommands List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0832381247d7e6e93ae9ba1639d07f33a6f07882 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0832381247d7e6e93ae9ba1639d07f33a6f07882 commit 0832381247d7e6e93ae9ba1639d07f33a6f07882 Author: Konstantin Belousov AuthorDate: 2025-03-01 21:43:40 +0000 Commit: Konstantin Belousov CommitDate: 2025-03-13 16:09:35 +0000 procstat.1: sort subcommands Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D49163 --- usr.bin/procstat/procstat.1 | 68 ++++++++++++++++++++++----------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/usr.bin/procstat/procstat.1 b/usr.bin/procstat/procstat.1 index aa7f503259f4..96e8860b8213 100644 --- a/usr.bin/procstat/procstat.1 +++ b/usr.bin/procstat/procstat.1 @@ -159,16 +159,24 @@ option nor .Va pid list can be used to limit the display of the locks, mostly because some types of locks do not have local (or any) owning processes. +.It Ar argument(s) | Fl c +Display command line arguments for the process. +.Pp +Substring commands are accepted. +.It Ar auxv | Fl x +Display ELF auxiliary vector for the process. .It Ar basic Print basic process statistics (this is the default). .It Ar binary | Fl b Display binary information for the process. .Pp Substring commands are accepted. -.It Ar argument(s) | Fl c -Display command line arguments for the process. +.It Ar credential(s) | Fl s +Display security credential information for the process. .Pp Substring commands are accepted. +.It Ar cpuset | Ar cs | Fl S +Display the cpuset information for the thread. .It Ar environment | Fl e Display environment variables for the process. .Pp @@ -179,24 +187,6 @@ Display file descriptor information for the process. If the .Fl C subcommand flag is used then additional capability information is printed. -.It Ar signal(s) | Fl i -Display signal pending and disposition information for the process. -.Pp -If the -.Fl n -subcommand option is used, the signal numbers are shown instead of signal -names. -.Pp -Substring commands are accepted. -.It Ar tsignal(s) | Fl j -Display signal pending and blocked information for the process's threads. -.Pp -If the -.Fl n -subcommand option is used, the signal numbers are shown instead of signal -names. -.Pp -Substring commands are accepted. .It Ar kstack | Fl k Display the stacks of kernel threads in the process, excluding stacks of threads currently running on a CPU and threads with stacks swapped to disk. @@ -205,10 +195,16 @@ If the .Fl v subcommand option is used (or the command flag is repeated), function offsets as well as function names are printed. -.It Ar rlimit | Fl l -Display resource limits for the process. +.It Ar pargs +Display arguments for the process. +.It Ar penv +Display environment variables for the process. .It Ar ptlwpinfo | Fl L Display LWP info for the process pertaining to its signal driven exit. +.It Ar pwdx +Display current working directory for the process. +.It Ar rlimit | Fl l +Display resource limits for the process. .It Ar rusage | Fl r Display resource usage information for the process. .Pp @@ -220,24 +216,28 @@ is used then per-thread statistics are printed, rather than per-process statistics. The second field in the table will list the thread ID to which the row of information corresponds. -.It Ar credential(s) | Fl s -Display security credential information for the process. +.It Ar signal(s) | Fl i +Display signal pending and disposition information for the process. +.Pp +If the +.Fl n +subcommand option is used, the signal numbers are shown instead of signal +names. .Pp Substring commands are accepted. -.It Ar cpuset | Ar cs | Fl S -Display the cpuset information for the thread. .It Ar thread(s) | Fl t Display thread information for the process. +.It Ar tsignal(s) | Fl j +Display signal pending and blocked information for the process's threads. +.Pp +If the +.Fl n +subcommand option is used, the signal numbers are shown instead of signal +names. +.Pp +Substring commands are accepted. .It Ar vm | Fl v Display virtual memory mappings for the process. -.It Ar auxv | Fl x -Display ELF auxiliary vector for the process. -.It Ar pargs -Display arguments for the process. -.It Ar penv -Display environment variables for the process. -.It Ar pwdx -Display current working directory for the process. .El .Pp All options generate output in the format of a table, the first field of