aboutsummaryrefslogtreecommitdiff
path: root/bin/ps/nlist.c
Commit message (Collapse)AuthorAgeFilesLines
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Display elapsed time (-o etime) using [[dd-]hh:]mm:ss, which according toPhilippe Charnier2003-02-051-0/+1
| | | | | | | | | Solaris man page is the POSIX way. Reviewed by: jmallett Notes: svn path=/head/; revision=110391
* The hw.availpages sysctl has an unsigned long value now, fix the retrievalThomas Moestl2002-11-011-1/+1
| | | | | | | to match that. Notes: svn path=/head/; revision=106318
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-4/+2
| | | | Notes: svn path=/head/; revision=99110
* sysctlbyname(3) returns -1 on failure, not any other value < 0.Juli Mallett2002-06-061-3/+3
| | | | Notes: svn path=/head/; revision=97964
* WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extraMark Murray2002-02-031-4/+8
| | | | | | | cleanup courtesy of automatic checking (lint). Notes: svn path=/head/; revision=90143
* o __P has been reovedWarner Losh2002-02-021-1/+1
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=90110
* Fix style bug I introduced with rev 1.13 (rcsid after includes).David E. O'Brien2001-02-281-5/+7
| | | | | | | | | Along with CSRG id lossage in rev 1.11. Submitted by: bde Notes: svn path=/head/; revision=73219
* Add rcsid.David E. O'Brien2001-02-271-0/+6
| | | | Notes: svn path=/head/; revision=73143
* Fixed breakage of %CPU and %MEM in the previous commit. sysctlbyname()Bruce Evans1998-09-101-5/+11
| | | | | | | | | was called with wrong args so it always failed. PR: 7881 Notes: svn path=/head/; revision=39053
* Pick up kernel variables/constants using sysctl rather than through /dev/memPoul-Henning Kamp1998-06-301-76/+7
| | | | | | | | | | | Use /dev/null for opening the kvm library, we don't need access to /dev/mem anymore. ps can now run without the setgid(kmem) bit. If it does it will not be able to show argv/envp for another uid's processes unless you are root. Notes: svn path=/head/; revision=37317
* Correct use of .Nm. Add rcsid.Philippe Charnier1998-05-151-3/+5
| | | | Notes: svn path=/head/; revision=36049
* Kill #ifndef NEWVM etc. It affected a lot of other things besidesPeter Wemm1997-08-031-19/+1
| | | | | | | | | | VM structure (eg: credentials etc) and it's highly unlikely we'll ever get to see the "tainted" BSD<=4.3 VM code in public use. Although it indicated the way some things used to be done, it obfuscates things too much. Notes: svn path=/head/; revision=27856
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* -Wall cleaning.Steve Price1996-12-141-2/+2
| | | | Notes: svn path=/head/; revision=20420
* Re-apply an old patchkit days fix of mine for mempages:David Greenman1994-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 Notes: svn path=/head/; revision=4794
* On second thought...back out previous commit.David Greenman1994-10-021-2/+1
| | | | Notes: svn path=/head/; revision=3296
* Include rtprio.hDavid Greenman1994-10-021-1/+2
| | | | Notes: svn path=/head/; revision=3295
* Added $Id$David Greenman1994-09-241-0/+2
| | | | Notes: svn path=/head/; revision=3044
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-261-0/+136
Notes: svn path=/head/; revision=1556