summaryrefslogtreecommitdiffstats
path: root/bin/ps
Commit message (Collapse)AuthorAgeFilesLines
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1410-10/+10
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* -Wall cleaning.steve1996-12-146-15/+15
|
* Remove unneeded #include <sys/proc.h>.hsu1996-11-101-2/+1
|
* Implement a -c option to ps to display the short command name instead ofpeter1996-10-214-11/+24
| | | | | | | | | the full argument vector. I've bumped into a few things that expected this switch to be present, the most recent was the snmp package in ports. I'm not 100% sure of the origins of this, but Linux has it, so does the "BSD-compatable" version of ps on our SVR4 systems (so I assume SunOS has it too).
* Updated to match kernel changes for timer/run queue.dg1996-07-311-2/+2
|
* The default swap device is /dev/drum, not /dev/swapmpp1996-07-031-2/+2
| | | | | | as ps.1 states. Submitted by: Zahemszhky Gabor <zgabor@code.hu>
* Make %CPU add up closer to 100%.. At least, it now agrees with top.. :-)peter1996-06-291-3/+4
| | | | Pointed out by: bde
* Fix (I think) the %MEM count in 'ps -u'. It was bogusly taking thepeter1996-06-291-2/+2
| | | | | vm_rssize (in pages, not bytes), then dividing (bogusly) by the page size, then using that as a fraction of the total pages.
* CLSIZE -> getpagesize()phk1996-05-021-2/+2
|
* Replace NBPG with getpagesize()phk1996-05-021-3/+3
|
* Fix up the badly out of date struct proc's p_flags.smpatel1996-04-191-39/+22
| | | | Flags aren't printed in hexadecimal, as documented.
* Correct some cross references and some path names.mpp1996-04-061-2/+2
|
* Fix some incorrect locations in the FILES sections of some man pages.mpp1996-02-021-3/+3
|
* Use the correct buffer size from limits.h for the error buffermpp1996-01-201-2/+3
| | | | | | passed to kvm_open. Closes PR# 476. Submitted by: Jeffrey Hsu <hsu@freebsd.org>
* oops. I forgot to add the "[-U username]" option to the usage string.peter1996-01-121-2/+2
|
* Small man page tweaks:joerg1995-12-301-2/+12
| | | | | | | . mention the need for procfs . make it clear that default sorting is first by ctty, then by PID Submitted by: schweikh@ito.uni-stuttgart.de (Jens Schweikhardt)
* Implement a new option to ps.. `-U username'. This allows you topeter1995-12-262-4/+19
| | | | | | list the processes belonging to a particular user without having to use `-u' and grepping for the username. Basically you can now get a short `ps -x' like list (with more space for the command) for other users.
* I add #include <sys/user.h>phk1995-10-282-2/+4
|
* Change local to LC_ALL, there is no bitmaskache1995-10-261-2/+3
|
* fix bad dependencies (LIBMATH -> LIBM)torstenb1995-10-251-2/+2
|
* Add setlocale LC_CTYPE|LC_TIMEache1995-10-231-1/+3
|
* Remove unneded ctype.hache1995-10-231-2/+1
|
* Correct the alignment of the tty column, which was affected by my change topeter1995-09-262-5/+5
| | | | | | | | allow more than two tty characters. David Greenman pointed out that when a process that had been revoked from it's controlling tty, the "-" sign was detached from any two-character names.
* Increase the tty column width from 2 to 3 characters.peter1995-09-042-5/+5
| | | | | | | | This gives us more room to breath with tty names, especially with drivers that support large numbers of ports.. eg: specialix and digiboard. This does not actually change the current tty names, it just allows room for reporting more characters if the drivers use them.
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-4/+3
| | | | which is no longer bogusly installed in /usr/include.
* Remove trailing whitespace.rgrimes1995-05-302-5/+5
| | | | Reviewed by: phk
* Install with default BINOWN (as it once used to be).dg1995-04-151-2/+1
|
* Install setgid kmem rather than setuid root. The problem with procfs thatdg1995-04-151-2/+3
| | | | was breaking this before has been fixed.
* You will find enclosed some changes to make gcc -Wall more happy injoerg1995-03-192-9/+10
| | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
* Fix previous fix that removes an unnecessary space; the output is nowdg1995-03-091-3/+6
| | | | just like it was in 1.1.5.
* Re-apply an old patchkit days fix of mine for mempages:dg1994-11-241-1/+2
| | | | | | | | | * PATCHES MAGIC LEVEL PATCH THAT GOT US HERE * -------------------- ----- ---------------------- * CURRENT PATCH LEVEL: 1 00051 * -------------------- ----- ---------------------- * * 14 Aug 92 David Greenman Fixed NEWVM mempages calculation
* Fix an error to prevent some core dumps from ps.ats1994-11-101-2/+3
| | | | | | | | You can get ps easily to core dump, if you are running a "make depend" on a kernel in one window and a "ps -auxww" in another. The ww will try to give you the full argument list of the command that can now be 64Kb large, but ps expected only 4Kb large arg arrays and doesn't check for overflows.
* Use kvm_uread instead of kvm_read to access the upages.dg1994-10-181-2/+3
|
* Skip 'cua' 3 chars like 'tty' 3 charsache1994-10-021-2/+3
|
* On second thought...back out previous commit.dg1994-10-024-9/+5
|
* Include rtprio.hdg1994-10-024-5/+9
|
* Added $Id$dg1994-09-2410-0/+16
|
* Added rtprio option/field.dg1994-09-012-0/+4
| | | | Submitted by: Henrik Vestergaard Draboel
* Got rid of extra space between args and (command).dg1994-08-181-1/+1
|
* Make `ps' set-uid root so that it can read the same set of argumentswollman1994-08-111-2/+2
| | | | | | | that old `ps'es did. I'm not too thrilled about this, but I'm not enough of an FS person to hack procfs so that /proc/xxx/mem is readable by members of group `kmem'. If this is done, then `ps' can go back to being set-gid kmem.
* Converted 'vmunix' to 'kernel'.dg1994-08-051-4/+4
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-2610-0/+2616
OpenPOWER on IntegriCloud