summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/swap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopederaadt2015-08-201-2/+2
| | | | ok krw millert
* first batch of programs adapting to the namespace cleanupderaadt2015-01-161-2/+3
| | | | | (pfvar.h nameser.h proc.h ucred.h) ok guenther millert, and some review from doug as well.
* <sys/buf.h> isn't actually needed hereguenther2014-11-231-2/+1
| | | | ok tedu@
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-051-2/+1
| | | | ok guenther millert kettenis
* - use a common FIELD_ADDR macro, instead of rolling 78 identical copies.jasper2011-03-021-7/+5
| | | | ok canacar@
* Warning cleanup including unused variables and shadowed namescanacar2008-12-071-12/+12
|
* New display engine for systat, based on pftop. Adds new views for pfcanacar2008-06-121-81/+131
| | | | | | | | (status, state, rule, queue). While all displays work, some keyboard comands are not implemented yet. Other features include better handling of display resize and scrolling for long views. Committing now to fix the remaining issues in the tree. Testing and comments by otto@ and harding@, ok deraadt@
* malloc(n * m) -> calloc(n, m); from zinovikderaadt2007-09-011-3/+3
|
* use the 1 line load line from 'systat vm' on all the other displays, givingderaadt2007-02-251-3/+3
| | | | them more room. much cleaner, and it is less code too; ok deanna
* fairly simple cleanup, lots of testing donederaadt2006-03-311-4/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* ANSIderaadt2002-06-181-9/+9
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-3/+3
|
* move back. pvalchev -- the bug was quite obscurederaadt2001-12-071-3/+2
|
* back out latest changes which cause problems on alpha/sparc64 untilpvalchev2001-12-071-2/+3
| | | | they are fixed
* fix signal races. use sysctl() instead of kvm where possible, and then KNFderaadt2001-11-231-3/+2
| | | | the hell out of it; checked by miod
* Merge for new vmswap code largely from netbsd.weingart1999-05-221-156/+69
|
* now "Total" column can shrinkkstailey1998-11-221-2/+3
|
* Cleanup by Theo and myself. CMDLINE changed to long to makemillert1997-06-231-4/+5
| | | | | command line work on 64bit platforms. This is somewhat bogus and is really just a temporary workaround (there may be a curses bug).
* zap extra XXX if swap goes down; paul@wit387304.student.utwente.nlderaadt1997-04-011-2/+3
|
* stop crash from walking off end of malloc'd page. i hunted this bug beforederaadt1997-01-311-5/+7
| | | | and didn't find it. fix from paul@wit387304.student.utwente.nl
* whoopsderaadt1996-08-061-3/+3
|
* avoid buf oflowsderaadt1996-08-061-2/+5
|
* rcsidderaadt1996-06-261-1/+2
|
* libutilderaadt1996-05-221-4/+2
|
* Fix a bit, so it's now compiles.mickey1996-04-191-1/+1
| | | | needs more work to do disk stats the way vmstat do.
* initial import of NetBSD treederaadt1995-10-181-0/+262