ru
d5be7de9fe
Removed bitrot.
2004-11-13 17:12:22 +00:00
gad
ceceffc9d5
Document the fact that matching against a process command-name will
...
only work on the first MAXCOMLEN (19) characters of that name.
Noticed by: Peter Holm
2004-08-16 04:49:43 +00:00
stefanf
e3ed14c7c1
Don't forget the arguments for -M and -N in the DESCRIPTION section.
2004-07-18 23:05:31 +00:00
tjr
a2ba9d448d
Respect locale settings from the environment.
2004-07-15 08:13:56 +00:00
phk
40dd98a3bd
Second half of the dev_t cleanup.
...
The big lines are:
NODEV -> NULL
NOUDEV -> NODEV
udev_t -> dev_t
udev2dev() -> findcdev()
Various minor adjustments including handling of userland access to kernel
space struct cdev etc.
2004-06-17 17:16:53 +00:00
ru
197b6179fc
Added pgrep to the SYNOPSIS.
...
Fixed SYNOPSIS.
Fixed markup nits.
2004-05-19 10:46:56 +00:00
gad
44647935be
Use KERN_PROC_PROC instead of KERN_PROC_ALL on the call to kvm_getprocs(),
...
so we get one line per process instead of one for each kernel-thread.
Noticed by: ache & tjr
2004-03-30 15:10:50 +00:00
gad
0544a9076c
bde also tells me that he is confident that P_SYSTEM will not work
...
any better on 4.x than it does on 5.2. If that's true then there
is no point to the __FreeBSD_version check that I had added.
2004-03-27 06:49:57 +00:00
gad
6f505f861a
Some style(9)-ish improvements, courtesy of bde.
...
Noticed by: bde
2004-03-27 05:40:31 +00:00
gad
b44e46cbe7
Remove the _PATH_DEVNULL setting for "swapf". From the kvm_open(3)
...
man page: The swapfile argument is currently unused.
Noticed by: ru
2004-03-26 19:29:57 +00:00
gad
c68ce6b369
Remove the NEED_KMEM support meant for FreeBSD 3.x. This base-system
...
version isn't going to be committed to that branch...
Noticed by: des
2004-03-26 18:02:40 +00:00
gad
56527d5cca
Switch to checking P_KTHREAD instead of P_SYSTEM when deciding what
...
"system processes" to always ignore. Based on my testing with `-D',
I am pretty sure this is what we want for 5.x-current. If my thinking
is wrong, this also makes it easier to switch to a different check.
2004-03-26 17:51:49 +00:00
ru
e07a59b2f0
Avoid the manpage layering violation and low-level implementation
...
details of libkvm, and just tell what the getbootfile(3) function
will return, by using the text from netstat(1) and dmesg(8).
2004-03-26 08:54:27 +00:00
ru
f969fd5d33
Correct the description of options -N and -M to match reality.
2004-03-26 08:47:01 +00:00
ru
96600648f5
Apply style.Makefile(5).
2004-03-26 07:44:49 +00:00
gad
287db31bb7
Send those -Debug messages to stderr, not stdout...
2004-03-26 02:20:52 +00:00
gad
571652e41d
Add a debugging option, as I don't understand something that I'm seeing.
...
(this is a probably temporary option, and is not to be documented)
2004-03-26 01:43:19 +00:00
gad
15a643c5a9
Remove a redundant check against mypid (the check is done later, in
...
the "Take the appropriate action" section).
Obtained from: the sysutils/pkill port
2004-03-26 01:30:15 +00:00
gad
cdcabcc058
Add a cast to get this to compile with WARNS=5 on sparc64. This is
...
needed because off_t == __int64_t, while size_t == __uint64_t. This
also compiles with WARNS=5 on amd64, but I haven't tested the other
platforms yet.
2004-03-26 00:36:27 +00:00
gad
f1cfebc0c5
Fixes so this will compile with WARNS=5 on i386.
2004-03-26 00:15:20 +00:00
gad
76e43dfda7
Fix two cosmetic style(9) issues.
2004-03-25 23:35:14 +00:00
gad
3efbac5f39
Add a comment for when these utilities were added to FreeBSD, and add
...
a cross-reference to killall(1).
2004-03-25 23:32:12 +00:00
gad
a932a157f4
Add -M' and
-N' options to pkill' and
pgrep', similar to
...
what are supported in `ps':
-M Extract values associated with the name list from the
specified core instead of the default /dev/kmem.
-N Extract the name list from the specified system instead
of the default /kernel.
Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port
2004-03-25 23:19:16 +00:00
gad
6db55881ec
Use the correct type for some casts, thus avoiding a few warning messages
...
when compiling with WARNS=3
Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port
2004-03-25 22:08:52 +00:00
gad
4200a71a9f
Change some routine and variable names to match the FreeBSD system.
...
Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port
2004-03-25 21:58:56 +00:00
gad
efe93d08ec
Add the pkill' and
pgrep' commands from NetBSD. This is the source
...
straight from NetBSD (except to add the RCS-ID lines for FreeBSD).
These will probably require a few updates before they are added to
the FreeBSD buildworld. I might MFC these to 4.x-stable after 4.10.
Discussed on: freebsd-arch
Obtained from: NetBSD (and OpenBSD also has these)
2004-03-25 19:08:48 +00:00