From nobody Thu Mar 20 03:14:17 2025 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 4ZJ9fL3ygXz5rB68; Thu, 20 Mar 2025 03:14:18 +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 4ZJ9fK6gtQz3wJW; Thu, 20 Mar 2025 03:14:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742440458; 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=TxKq7l7AGirmZWUvD0/QhES2+zY8dVOmJXubx5c0pMM=; b=umGiu/Jsu8MH9wAh4Vvt119iOXn2Nsi0wN4l9t5jdJI3FR/IZ+szroYOP2cLLZiuAssSHC 6rlLuzcgDazbf+n2nQCfv2hpH9rscUnw8xaRT0n/H8DQh7RwCvmOWLjgZmz+Q3R2VbVDiF aZlVmjqaW93+k541mwmke1DjwbI7KnHsSc8/wtu0GGqSAyP+FqwTpyTJhR4Jr2j1lxTfJc CQRZcLGhKzNf7xDdQ/ofTbERU0ake0k/UgARuxv7+HATvAW+kpp5Jh5S5Dq4HEyJpDbTqZ MxY9fxWopsyRdzaITmC6p1mO84QdG3wo4P6u7JQECcph16z+t/83ZpA8Un3LZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742440458; a=rsa-sha256; cv=none; b=Ot8IopWsZWubnJ0fxOgFwwPb6L3WGKl+7WG27a1pTI1KDgL1ZKo/EHTlPV1N5S+G41kQCH O9aK7VnI9SCBtdLIu5MCtDJb5qz4Gi3xe9Lj+iIVkwbT3QNlYbaFl5eRr3qogr43gwCW2j orBhiud04KDR7D9k9BVgUMsj38WHVkXRMOYD8D4Q3y2VlPzRiBjohKphAEi+GLNOymPPE6 ILaQrasRXukarnnYyY4ioKhvxiMed3W157N//8UaKQbHbGUv5/7EKuZltKXcnyuE0L08+3 of3GYolfdXdmZhTNUaiXWbTw8gm4t2+VqEzWvzUnewXBV6VBKHsKM+SLWoVAVQ== 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=1742440458; 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=TxKq7l7AGirmZWUvD0/QhES2+zY8dVOmJXubx5c0pMM=; b=fiYQfJycoaRILsplMYeK1JiUBItvCR0u/5OSDEdkyCoCHjCe/7AekM76f5hCZK7IxbiqmK cYl03BKHrhQB/PbUASrogq9O5/4eB0a2tG6tQxBVslv0uSeKMg8iY7lT4t4e+j4bjdItI9 Qq28TuCacPiQZmcqd6HP7PTwt1SvG4m9Jl04VE9iifRRbRJJ3JZF0dDJnniSUh2963g5AE gYpZjm6JN4+pCTzrUdEvi8gVeIqCOSYkcth2XV5Noinuk1qld5IYz5mv/seRsu4EfWkOd0 +WEkdpMWrknMk5JksR62EOkSQ28khZxZZshGNxMGTTDAbyvRvtPrAZcvcSniTQ== 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 4ZJ9fK48SFznsq; Thu, 20 Mar 2025 03:14:17 +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 52K3EHbZ086628; Thu, 20 Mar 2025 03:14:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52K3EHPI086625; Thu, 20 Mar 2025 03:14:17 GMT (envelope-from git) Date: Thu, 20 Mar 2025 03:14:17 GMT Message-Id: <202503200314.52K3EHPI086625@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: d9b7d0a54846 - stable/14 - procstat.1: sort subcommands 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: d9b7d0a54846bbc7b922982df08659fcc3c6b92e Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d9b7d0a54846bbc7b922982df08659fcc3c6b92e commit d9b7d0a54846bbc7b922982df08659fcc3c6b92e Author: Konstantin Belousov AuthorDate: 2025-03-01 21:43:40 +0000 Commit: Konstantin Belousov CommitDate: 2025-03-20 03:13:38 +0000 procstat.1: sort subcommands (cherry picked from commit 0832381247d7e6e93ae9ba1639d07f33a6f07882) --- 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