summaryrefslogtreecommitdiffstats
path: root/usr.bin/pkill
Commit message (Collapse)AuthorAgeFilesLines
* Don't forget the arguments for -M and -N in the DESCRIPTION section.stefanf2004-07-181-2/+2
|
* Respect locale settings from the environment.tjr2004-07-151-0/+3
|
* Second half of the dev_t cleanup.phk2004-06-171-1/+1
| | | | | | | | | | | 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.
* Added pgrep to the SYNOPSIS.ru2004-05-191-14/+21
| | | | | Fixed SYNOPSIS. Fixed markup nits.
* Use KERN_PROC_PROC instead of KERN_PROC_ALL on the call to kvm_getprocs(),gad2004-03-301-1/+5
| | | | | | so we get one line per process instead of one for each kernel-thread. Noticed by: ache & tjr
* bde also tells me that he is confident that P_SYSTEM will not workgad2004-03-271-8/+1
| | | | | 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.
* Some style(9)-ish improvements, courtesy of bde.gad2004-03-271-6/+6
| | | | Noticed by: bde
* Remove the _PATH_DEVNULL setting for "swapf". From the kvm_open(3)gad2004-03-261-3/+3
| | | | | | man page: The swapfile argument is currently unused. Noticed by: ru
* Remove the NEED_KMEM support meant for FreeBSD 3.x. This base-systemgad2004-03-261-9/+1
| | | | | | version isn't going to be committed to that branch... Noticed by: des
* Switch to checking P_KTHREAD instead of P_SYSTEM when deciding whatgad2004-03-261-3/+10
| | | | | | "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.
* Avoid the manpage layering violation and low-level implementationru2004-03-261-3/+2
| | | | | details of libkvm, and just tell what the getbootfile(3) function will return, by using the text from netstat(1) and dmesg(8).
* Correct the description of options -N and -M to match reality.ru2004-03-261-4/+4
|
* Apply style.Makefile(5).ru2004-03-261-6/+4
|
* Send those -Debug messages to stderr, not stdout...gad2004-03-261-2/+2
|
* Add a debugging option, as I don't understand something that I'm seeing.gad2004-03-261-2/+18
| | | | (this is a probably temporary option, and is not to be documented)
* Remove a redundant check against mypid (the check is done later, ingad2004-03-261-1/+1
| | | | | | the "Take the appropriate action" section). Obtained from: the sysutils/pkill port
* Add a cast to get this to compile with WARNS=5 on sparc64. This isgad2004-03-262-2/+3
| | | | | | 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.
* Fixes so this will compile with WARNS=5 on i386.gad2004-03-261-19/+22
|
* Fix two cosmetic style(9) issues.gad2004-03-251-2/+2
|
* Add a comment for when these utilities were added to FreeBSD, and addgad2004-03-251-0/+3
| | | | a cross-reference to killall(1).
* Add `-M' and `-N' options to `pkill' and `pgrep', similar togad2004-03-252-6/+35
| | | | | | | | | | | | 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
* Use the correct type for some casts, thus avoiding a few warning messagesgad2004-03-251-4/+4
| | | | | | | when compiling with WARNS=3 Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> Obtained from: the sysutils/pkill port
* Change some routine and variable names to match the FreeBSD system.gad2004-03-252-35/+55
| | | | | Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> Obtained from: the sysutils/pkill port
* Add the `pkill' and `pgrep' commands from NetBSD. This is the sourcegad2004-03-253-0/+752
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)
OpenPOWER on IntegriCloud