From nobody Mon Oct 21 03:55:52 2024 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 4XX1gX5Nrxz5b8Vd; Mon, 21 Oct 2024 03:55:52 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XX1gX4wBfz4DmK; Mon, 21 Oct 2024 03:55:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729482952; 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=PyB6LeVOrOFpo0Wq9yHHyrj+0vlBcWXnWpq1bMNP/l4=; b=P40SSfD8ouCBwTjLgHObFXHUPuDF+A9JhjuhE2kYr5xww+YLLpsyysvuKe51RnBPwpd5Mx 2fUA6e2Jc0oZ+ZHZFbfvqvrKMKEe6oCZj5gle6dMYQSDsJDMB+oa6Ou6d75OvR+O1sYcCK ThBuDt2RLSuysvEe5TiRs+6DDwT044QbmD0L0P6p+FD3SD8q7H40YOmmx06mM0kZIJDXv2 Bm6Jo1X2Deb2ZodrmZ1iwcOxiHA4LM+G0wyQHt5taUhOs65DIQgZsrCs9bxhrDBmEIEzn9 AjMsBZ2euWZA9g+ZpOVvfn3n1GpRVeX7eFVAfE77BQBBKzkhyf3b9ko9b9tG9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729482952; 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=PyB6LeVOrOFpo0Wq9yHHyrj+0vlBcWXnWpq1bMNP/l4=; b=gihaaGjW+wQKDpuMr6MPCmO1/vLxvY58RSj9HI6dho5aBBEKOB5/lSGK/Imr158RPYa5n/ /NmV/pJNa2UdRyGcJYgs56PEciXq/2WsmGDkPdFPfNCCSNdA/nn0ok/px3a2JR2Lw6JOfc F8PaBzamNL7P3lIgEPcwSAWqsdkzKWmnWlie9KmOHSoBZJJ5hFCSd701R02Bn3lbHgs9tf QCFhFL5SW2mQjvmIjVlq0bTmWOC1bgcBtCFs+LlCfY0KUqvGrSp336GPcUdA4rz6vk70GS 0TnRLWZ8yKJuDMoGM4OzTGT9N7Du/B/K29qvUJugxwsM0jffF1yrXKXctD3PQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729482952; a=rsa-sha256; cv=none; b=IE/MYifGtn2z8RuOlDkp33Kb3Vw2ZTYEKUJqh1ORYiC0ISsaCvYItZWOYo3f4B861vmo55 17BagPhx+/ayn+o/J+3RXRO34q33kHtJd1BHQpn1/CNa6mDnEqhKjh3ePfVD3nPjcAe74T alUP9fSyFDTL1HzdIKxqLbDfk8Cav05i5Zhc1GMCLSPo2ROzwLI59h5KA11bs028i/ogs3 lO3HkNKWtw7RO47AtPAbNlkEgHLGFW2tv86A2Z5lgNdWV8/4JNCyTWTneTGjmJubFPf3D6 qx5mWersx4tCy4Vi7D7sJPj0K68pmxBl3NlHcEb3NuuVsku1RdnkICknVvhTVw== 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 4XX1gX4NVJzDmD; Mon, 21 Oct 2024 03:55:52 +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 49L3tqDM099769; Mon, 21 Oct 2024 03:55:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49L3tqgI099766; Mon, 21 Oct 2024 03:55:52 GMT (envelope-from git) Date: Mon, 21 Oct 2024 03:55:52 GMT Message-Id: <202410210355.49L3tqgI099766@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Li-Wen Hsu Subject: git: 9ce6e243d62a - stable/14 - fstat(1): Fix typo 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: lwhsu X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 9ce6e243d62a231dff1619dc3a7663cb9ee4e209 Auto-Submitted: auto-generated The branch stable/14 has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=9ce6e243d62a231dff1619dc3a7663cb9ee4e209 commit 9ce6e243d62a231dff1619dc3a7663cb9ee4e209 Author: Yu-Hsun Chen AuthorDate: 2023-12-13 08:42:22 +0000 Commit: Li-Wen Hsu CommitDate: 2024-10-21 03:55:41 +0000 fstat(1): Fix typo This is from the Advanced UNIX Programming Course (Fall’23) at NTHU. MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/929 (cherry picked from commit 0ba51e3b638424597add4212958524c9b750dd7b) --- usr.bin/fstat/fstat.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/fstat/fstat.1 b/usr.bin/fstat/fstat.1 index 62307c7d51bf..313454c2a9ef 100644 --- a/usr.bin/fstat/fstat.1 +++ b/usr.bin/fstat/fstat.1 @@ -312,7 +312,7 @@ $ fstat . | awk 'NR > 1 {printf "%d%s(%s) ", $3, $4, $1;}' 2133wd(alice) 2132wd(alice) 1991wd(alice) .Ed .Pp -Create a list of processes sorted by number of opened files in desdencing order: +Create a list of processes sorted by number of opened files in descending order: .Bd -literal -offset indent $ fstat | awk 'NR > 1 {print $2;}' | sort | uniq -c | sort -r 728 firefox