summaryrefslogtreecommitdiffstats
path: root/bin/ps/nlist.c
Commit message (Collapse)AuthorAgeFilesLines
* Display elapsed time (-o etime) using [[dd-]hh:]mm:ss, which according tocharnier2003-02-051-0/+1
| | | | | | Solaris man page is the POSIX way. Reviewed by: jmallett
* The hw.availpages sysctl has an unsigned long value now, fix the retrievaltmm2002-11-011-1/+1
| | | | to match that.
* Consistently use FBSDIDobrien2002-06-301-4/+2
|
* sysctlbyname(3) returns -1 on failure, not any other value < 0.jmallett2002-06-061-3/+3
|
* WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extramarkm2002-02-031-4/+8
| | | | cleanup courtesy of automatic checking (lint).
* o __P has been reovedimp2002-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.
* 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
|
* Fixed breakage of %CPU and %MEM in the previous commit. sysctlbyname()bde1998-09-101-5/+11
| | | | | | was called with wrong args so it always failed. PR: 7881
* Pick up kernel variables/constants using sysctl rather than through /dev/memphk1998-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.
* Correct use of .Nm. Add rcsid.charnier1998-05-151-3/+5
|
* Kill #ifndef NEWVM etc. It affected a lot of other things besidespeter1997-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.
* 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
|
* 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
* 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
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+136
OpenPOWER on IntegriCloud