From nobody Mon Apr 7 01:29:02 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 4ZWBSb45bZz5sNXt; Mon, 07 Apr 2025 01:29:03 +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 4ZWBSZ3Rr8z3wJ2; Mon, 07 Apr 2025 01:29:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743989342; 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=O80WNHUKKtrySG2fLUrAyl8vuvdiIo0gb3Wg67rxz+Y=; b=SjQ/J04LDqOwRtACba8s7Y7AWWHRxJNRzOiPZJEj2KZFbKqz7FmXrkzYA3A9jIuXid+Jx/ Ouexfaun5+61WdI3MscMxpHlMv7q/OqG9+CdIRIlKNwHE5USOLcvDNI2e0wPT3HklXHieS x20pLQbuDkW1+7C1lopINtwkYcIsUA+8tH7Sp5NvQyP0zj35vb3k0c3j+7m/OCfvSj7FUX woaR3DRMVBYG8dtSCiCFLCL9XTiY9D/p34e2lN+gpAS9OHmzfenXGaeHTAuW0q5L9Qnd3K MoEAzJV80ljsHvUzv0PlgTiB2CNoRnvpzau/TQLUBOI1+i9+Q2Th0lJli98p9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743989342; a=rsa-sha256; cv=none; b=CcSm9LB0+xmzbZ0IlIBYGrMPTorruwF1O6Ix266D7aTm9iUotcGaLLakx7RZcQRf4pQmZ8 BPgeiHXuyEeM5J/tLzcIUXLqPh1xGGbLsA+zG9/19te9eQI7fd1H7z6KwponVwFHVTLxPg i0roKXyF2eHHASEkexL2uobxm/IGH/DokW6qEag6GyfJNpobIsznCqMs6OJYuxTCiipdiA f6uxXwp5GYCqPTBec2oojmL6cgcWo6ztFUIb6TRiP0dn5GMykSrykS10d9bPlV6rYeqAbb j26OhW9Tnrp81i1yiWcfC2lw571Wb2hnSDPUe2eneIsnWmmqHTLFKl7JqGa42g== 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=1743989342; 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=O80WNHUKKtrySG2fLUrAyl8vuvdiIo0gb3Wg67rxz+Y=; b=f4xmQk4v4IxUs07s9iaZ1QQIkRIsuNMu7bIvtIjBg0onvbDVNyJMfMANrFv6rwxGkZlV7F aAhyfac7ox5epJWqMKGA7zaA6Xn0nOafq/h6A3Iq8i5ygY986YD2hjbmE0xAcCfw+zImSf AJ01rGa0PEbPsO6iSbHgbbGnhjlaaiKNwMstlJb5pNg2i0koDlrc2BdC6/ouJ+QMsjRYOp ov86tRYvlDW8LvBRXZacpw6EUH83uvxGtSVduIywfp3meZknKffrj5JjSm8fskmNTxdEbF Xg9HZkiSE/xAyjeTfBSnfiAaW8kmIVEypsYFDH8beqeXxOAu+gBcK8PBlPEx3A== 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 4ZWBSZ2KwHz9V4; Mon, 07 Apr 2025 01:29:02 +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 5371T25r062977; Mon, 7 Apr 2025 01:29:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5371T2pr062974; Mon, 7 Apr 2025 01:29:02 GMT (envelope-from git) Date: Mon, 7 Apr 2025 01:29:02 GMT Message-Id: <202504070129.5371T2pr062974@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: 451fca2e9f91 - stable/14 - procstat.1: document kqueues 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: 451fca2e9f9132ce726959864dbacc1c6184da8e Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=451fca2e9f9132ce726959864dbacc1c6184da8e commit 451fca2e9f9132ce726959864dbacc1c6184da8e Author: Konstantin Belousov AuthorDate: 2025-03-09 16:32:10 +0000 Commit: Konstantin Belousov CommitDate: 2025-04-07 01:28:21 +0000 procstat.1: document kqueues (cherry picked from commit d76a31ca74cffda4aea63b1276f92c039ca76053) --- usr.bin/procstat/procstat.1 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/usr.bin/procstat/procstat.1 b/usr.bin/procstat/procstat.1 index 273d8339c42e..4813f112a725 100644 --- a/usr.bin/procstat/procstat.1 +++ b/usr.bin/procstat/procstat.1 @@ -187,6 +187,47 @@ Display file descriptor information for the process. If the .Fl C subcommand flag is used then additional capability information is printed. +.It Ar kqueue(s) Op Fl v +Display the events registered in the process kqueues. +The filter name, filter-specific identifier, flags, filter-specific flags, +system and user data, and event status are displayed. +If the +.Fl v +verbose flag is provided to the subcommand, the values of the ext array +are displayed as well. +.Pp +For flags, a string is printed consisting of the following symbols +corresponding to set flags: +.Bl -tag -width X -compact +.It O +.Va EV_ONESHOT +.It C +.Va EV_CLEAR +.It R +.Va EV_RECEIPT +.It D +.Va EV_DISPATCH +.It d +.Va EV_DROP +.It 1 +.Va EV_FLAG1 +.It 2 +.Va EV_FLAG2 +.El +.Pp +For status: +.Bl -tag -width X -compact +.It A +.Va KNOTE_STATUS_ACTIVE +.It Q +.Va KNOTE_STATUS_QUEUED +.It D +.Va KNOTE_STATUS_DISABLED +.It d +.Va KNOTE_STATUS_DETACHED +.It K +.Va KNOTE_STATUS_KQUEUE +.El .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.