Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/pkill Note these tools use kvm(3) and not procfs as ...



details:   https://anonhg.NetBSD.org/src/rev/346363f33a9c
branches:  trunk
changeset: 446381:346363f33a9c
user:      sevan <sevan%NetBSD.org@localhost>
date:      Mon Dec 03 17:03:44 2018 +0000

description:
Note these tools use kvm(3) and not procfs as in Solaris.

diffstat:

 usr.bin/pkill/pkill.1 |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r a71f7feabef1 -r 346363f33a9c usr.bin/pkill/pkill.1
--- a/usr.bin/pkill/pkill.1     Mon Dec 03 10:53:29 2018 +0000
+++ b/usr.bin/pkill/pkill.1     Mon Dec 03 17:03:44 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pkill.1,v 1.28 2017/10/22 17:45:46 abhinav Exp $
+.\"    $NetBSD: pkill.1,v 1.29 2018/12/03 17:03:44 sevan Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 22, 2016
+.Dd December 3, 2018
 .Dt PKILL 1
 .Os
 .Sh NAME
@@ -191,6 +191,11 @@
 .Nm prenice
 process will never consider itself or system processes (kernel threads) as
 a potential match.
+.Sh IMPLEMENTATION NOTES
+The Sun Solaris implemenation utilised procfs to obtain process information.
+This implementation utilises
+.Xr kvm 3
+instead.
 .Sh EXIT STATUS
 .Nm pgrep ,
 .Nm pkill ,
@@ -212,6 +217,7 @@
 .Xr kill 1 ,
 .Xr ps 1 ,
 .Xr kill 2 ,
+.Xr kvm 3 ,
 .Xr sigaction 2 ,
 .Xr re_format 7 ,
 .Xr signal 7 ,



Home | Main Index | Thread Index | Old Index