summaryrefslogtreecommitdiffstats
path: root/bin/ps
Commit message (Collapse)AuthorAgeFilesLines
* Fixed unsorting.bde2002-02-231-6/+6
|
* ANSIfy.markm2002-02-221-1/+1
|
* Revert wchan functionality. Add 'mwchan' to supply new duel mutex/msleepdillon2002-02-215-3/+34
| | | | | | functionality and make it the default. With additional improvements by: Mark Peek <mp@FreeBSD.org>
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-191-0/+2
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* When blocked on a mutex, display the mutex name via the wchan string fielddillon2002-02-161-1/+4
| | | | | so we can at least tell the difference between being blocked in Giant and being blocked in some other mutex.
* Document the 'M' state.des2002-02-161-0/+2
|
* Correct inadvertent style botches in previous commit.kris2002-02-041-3/+2
|
* Lock down with WFORMAT=1 except those directories with unfixed warnings.kris2002-02-041-0/+2
| | | | Tested on i386 and alpha.
* WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extramarkm2002-02-0310-235/+239
| | | | cleanup courtesy of automatic checking (lint).
* o __P has been reovedimp2002-02-028-184/+109
| | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
* Remove a stray `:' after `v' in the getopt() call.ru2002-01-281-2/+2
| | | | Submitted by: bde
* GC the -W option. kvm(3) doesn't read swap for almost 10 years.ru2002-01-282-21/+7
| | | | | | PR: docs/34134 Reviewed by: bde, peter MFC after: 1 month
* Prevent overflowing the buffer that stores the command arguments.mikeh2002-01-201-4/+8
| | | | | | PR: bin/19422 Not objected to by: -audit MFC after: 3 weeks
* Add missed includes.sobomax2002-01-153-0/+3
| | | | Reviewed by: md5
* Put the "mtxname" keyword in alphabetical order (t comes after s) sopeter2002-01-051-1/+1
| | | | that the keyword is recognized.
* mdoc(7) police: s/LKM/KLD/, sort xrefs.ru2001-12-041-2/+4
|
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-0/+1
| | | | | | set WARNS=0. Reviewed by: mike
* Add LOMAC options (the "Z" flag in both cases) to display extra informationgreen2001-11-268-4/+187
| | | | | | in ls(1) and ps(1). Sponsored by: DARPA, NAI Labs
* KSE Milestone 2julian2001-09-121-2/+3
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* UPAGES as a constant is gone in KSE. We are going to have to trustpeter2001-09-101-3/+1
| | | | and/or fix ki_rssize.
* On today's kernels masking with ~KERNBASE is turning out to be lesspeter2001-08-242-4/+4
| | | | | | 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".
* Handle kvm_getprocs() returning nothing. Dont pass -1 to a sizepeter2001-08-241-1/+1
| | | | for malloc().
* Only capitalise the last `t' in ps's first argument when it'sbrian2001-08-161-1/+5
| | | | | | | actually part of an option argument. Submitted by: Chris Costello <chris@calldei.com> MFC after: 6 weeks
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Check for the PS_SINTR flag in the right field of struct kinfo_proctegge2001-06-161-1/+1
| | | | (ki_sflag).
* Correct a typo.dd2001-06-081-1/+1
| | | | Submitted by: Alexey V. Neyman <avn@any.ru>
* Mention the kern.ps_showallprocs sysctl.dd2001-06-021-0/+4
| | | | | PR: 24804 Submitted by: Mike Meyer <mwm@mired.org>
* Use PATH_MAX rather than MAXPATHLEN.imp2001-05-301-1/+1
|
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-181-1/+1
|
* Depollute headers now that the VM headers DTRT.markm2001-05-033-3/+0
|
* Compensate for header dethreading.markm2001-05-013-0/+3
|
* Correct some markupbrian2001-04-121-2/+4
| | | | Submitted by: bde
* Introduce -osid and -otsidbrian2001-04-112-0/+8
| | | | Submitted by: dd
* Remove tsess for now.brian2001-04-071-2/+0
| | | | This (and sess) may come back shortly.
* Update documentation in line with what the code doesbrian2001-04-071-9/+1
| | | | | | PR: 25435 Submitted by: dd Forgotten by: mckusick
* The sess column went away last December with v1.26 of keyword.cbrian2001-04-071-1/+1
| | | | | | Remove it from ``jfmt''. Forgotten by: mckusick
* Small optimization: set use_ampm only when neededache2001-03-033-4/+6
|
* Use AM/PM time only when available in localeache2001-03-023-4/+9
|
* Fix style bug I introduced with rev 1.13 (rcsid after includes).obrien2001-02-281-5/+7
| | | | | | Along with CSRG id lossage in rev 1.11. Submitted by: bde
* Add rcsid.obrien2001-02-271-0/+6
|
* 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-123-17/+18
|
* Use decimal point from localeache2001-02-111-1/+5
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* - Catch up to new proc flags.jhb2001-01-242-7/+8
|
* 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>
* Prepare for mdoc(7)NG.ru2000-12-151-2/+3
|
* Change the proc information returned from the kernel so that itmckusick2000-12-125-169/+103
| | | | | | | | | | | | 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.
* Document the mtxname keyword.jhb2000-11-301-2/+13
| | | | Reviewed by: sheldonh
* Introduce a 'mtxname' keyword that displays the current mutex that ajhb2000-11-293-0/+20
| | | | process is blocked on or '-'.
OpenPOWER on IntegriCloud