git: 45fb3e74d2b9 - stable/13 - procfs: Document as deprecated

From: Edward Tomasz Napierala <trasz_at_FreeBSD.org>
Date: Fri, 18 Feb 2022 15:10:21 UTC
The branch stable/13 has been updated by trasz:

URL: https://cgit.FreeBSD.org/src/commit/?id=45fb3e74d2b9eb5f6d8f7a7864df25b1f6183d10

commit 45fb3e74d2b9eb5f6d8f7a7864df25b1f6183d10
Author:     Edward Tomasz Napierala <trasz@FreeBSD.org>
AuthorDate: 2021-10-17 12:44:19 +0000
Commit:     Edward Tomasz Napierala <trasz@FreeBSD.org>
CommitDate: 2022-02-14 19:28:47 +0000

    procfs: Document as deprecated
    
    Update the procfs(5) man page to clarify that it's deprecated.
    
    Reviewed By:    bcr, 0mp (earlier version)
    Sponsored By:   EPSRC
    Differential Revision: https://reviews.freebsd.org/D22275
    
    (cherry picked from commit 70774c637b87eac1d9a94bb960e6f5242dad9e43)
---
 share/man/man5/procfs.5 | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/share/man/man5/procfs.5 b/share/man/man5/procfs.5
index 8532762a154e..37da9cf82e4b 100644
--- a/share/man/man5/procfs.5
+++ b/share/man/man5/procfs.5
@@ -2,7 +2,7 @@
 .\" Written by Garrett Wollman
 .\" This file is in the public domain.
 .\"
-.Dd March 4, 2017
+.Dd October 17, 2021
 .Dt PROCFS 5
 .Os
 .Sh NAME
@@ -13,6 +13,15 @@
 proc		/proc	procfs	rw 0 0
 .Ed
 .Sh DESCRIPTION
+.Bf -symbolic
+This functionality is deprecated.
+Users are advised to use
+.Xr libprocstat 3
+and
+.Xr kvm 3
+instead.
+.Ef
+.Pp
 The process file system, or
 .Nm ,
 implements a view of the system process table inside the file system.