git: 70774c637b87 - main - procfs: Document as deprecated

From: Edward Tomasz Napierala <trasz_at_FreeBSD.org>
Date: Sun, 17 Oct 2021 12:47:00 UTC
The branch main has been updated by trasz:

URL: https://cgit.FreeBSD.org/src/commit/?id=70774c637b87eac1d9a94bb960e6f5242dad9e43

commit 70774c637b87eac1d9a94bb960e6f5242dad9e43
Author:     Edward Tomasz Napierala <trasz@FreeBSD.org>
AuthorDate: 2021-10-17 12:44:19 +0000
Commit:     Edward Tomasz Napierala <trasz@FreeBSD.org>
CommitDate: 2021-10-17 12:46:00 +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
---
 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.