summaryrefslogtreecommitdiffstats
path: root/bin/ps/keyword.c
Commit message (Collapse)AuthorAgeFilesLines
* On today's kernels masking with ~KERNBASE is turning out to be lesspeter2001-08-241-2/+2
| | | | | | than useful. It still hits at least 8 digits. Adjust for reality. This is still not satisfactory for the alpha if you add "-O paddr".
* Depollute headers now that the VM headers DTRT.markm2001-05-031-1/+0
|
* Compensate for header dethreading.markm2001-05-011-0/+1
|
* Introduce -osid and -otsidbrian2001-04-111-0/+4
| | | | Submitted by: dd
* Do not coredump if no options are supplied. (ps -o,)jlemon2001-02-141-1/+1
| | | | | Submitted by: rgrimes Obtained from: NetBSD
* Catch up to new priority interface.jake2001-02-121-2/+3
|
* Restore the rss (-u) keyword that got deleted in my somewhat over-zealousmckusick2000-12-161-0/+1
| | | | | | cleanup effort. Submitted by: Mark Peek <mark@whistle.com>
* Change the proc information returned from the kernel so that itmckusick2000-12-121-38/+27
| | | | | | | | | | | | no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced.
* Introduce a 'mtxname' keyword that displays the current mutex that ajhb2000-11-291-0/+1
| | | | process is blocked on or '-'.
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Enable Linux threads support by default.julian1999-01-261-8/+1
| | | | | | | | | This takes the conditionals out of the code that has been tested by various people for a while. ps and friends (libkvm) will need a recompile as some proc structure changes are made. Submitted by: "Richard Seaman, Jr." <dick@tar.com>
* Re-enable the options in ps(1) that were disabled with the Linuxjulian1999-01-131-1/+6
| | | | | | threads support. Submitted by: "Richard Seaman, Jr." <dick@tar.com>
* Reviewed by: Luoqi Chen, Jordan Hubbardjulian1998-12-191-1/+3
| | | | | | | | | | | | Submitted by: "Richard Seaman, Jr." <lists@tar.com> Obtained from: linux :-) Code to allow Linux Threads to run under FreeBSD. By default not enabled This code is dependent on the conditional COMPAT_LINUX_THREADS (suggested by Garret) This is not yet a 'real' option but will be within some number of hours.
* Portability fixes when sizeof(int) != sizeof(long).dfr1998-09-141-36/+36
|
* If no value is present for the login name set it to '-'.steve1998-05-251-2/+2
| | | | | | | Also pretty-up the display of 'ps -Ortprio'. PR: 4947 Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
* Oops, add #include's (forgotten in last commit) to make thissteve1997-08-111-1/+4
| | | | compile again.
* Remove #ifdef NEWVM code and remove extra "key.name = p" line.steve1997-08-111-125/+6
|
* Fix seg fault when invalid keywords are used.steve1997-08-111-3/+2
| | | | | PR: bin/4253 Submitted by: Jesse Rosenstock <jmr@ugcs.caltech.edu>
* Dynamically adjust size of displayed username to the longest username whichjkh1997-04-291-137/+177
| | | | | | | appears, not the longest _maximum_ username (this should probably also go into 2.2, for the day when we bump up the username length there too). Submitted-By: Terry Lambert <terry@lambert.org>
* Big usernames fixesache1997-03-041-4/+5
|
* Use MAXLOGNAME-1 for width because MAXLOGNAME includes NULache1997-03-031-3/+3
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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-141-2/+2
|
* Updated to match kernel changes for timer/run queue.dg1996-07-311-2/+2
|
* I add #include <sys/user.h>phk1995-10-281-1/+2
|
* Correct the alignment of the tty column, which was affected by my change topeter1995-09-261-2/+2
| | | | | | | | 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-041-3/+3
| | | | | | | | 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.
* On second thought...back out previous commit.dg1994-10-021-2/+1
|
* Include rtprio.hdg1994-10-021-1/+2
|
* Added $Id$dg1994-09-241-0/+2
|
* Added rtprio option/field.dg1994-09-011-0/+2
| | | | Submitted by: Henrik Vestergaard Draboel
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+354
OpenPOWER on IntegriCloud