summaryrefslogtreecommitdiffstats
path: root/bin/ps
Commit message (Collapse)AuthorAgeFilesLines
* 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 '-'.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Remove obsolete /dev/drum referencesjedgar2000-10-291-3/+2
| | | | Reviewed by: alex, asmodai, billf
* No need to work around SCCS variable expansion any more.kris2000-09-281-6/+2
|
* Support multiple (comma separated) names as arguments to -Ubrian2000-09-262-15/+73
| | | | PR: 11051
* Major update to the way synchronization is done in the kernel. Highlightsjasone2000-09-071-1/+9
| | | | | | | | | | | | | | | include: * Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The alpha port is still in transition and currently uses both.) * Per-CPU idle processes. * Interrupts are run in their own separate kernel threads and can be preempted (i386 only). Partially contributed by: BSDi (BSD/OS) Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh
* Fix the exit code for the case where nentries == 0; if a PID doesn't exist,will2000-07-081-1/+1
| | | | | | | | | ps(1) should not be returning a success code (0), it should return an error code (1). This was fixed on OpenBSD over 3 years ago. PR: 19069 Submitted by: Jim Sloan <odinn@atlantabiker.net> Reviewed by: rwatson
OpenPOWER on IntegriCloud