summaryrefslogtreecommitdiff
path: root/usr.bin/systat/swap.c
AgeCommit message (Collapse)Author
2011-03-02- use a common FIELD_ADDR macro, instead of rolling 78 identical copies.Jasper Lievisse Adriaanse
ok canacar@
2008-12-07Warning cleanup including unused variables and shadowed namesCan Erkin Acar
2008-06-12New display engine for systat, based on pftop. Adds new views for pfCan Erkin Acar
(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@
2007-09-01malloc(n * m) -> calloc(n, m); from zinovikTheo de Raadt
2007-02-25use the 1 line load line from 'systat vm' on all the other displays, givingTheo de Raadt
them more room. much cleaner, and it is less code too; ok deanna
2006-03-31fairly simple cleanup, lots of testing doneTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-06-18ANSITheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-07move back. pvalchev -- the bug was quite obscureTheo de Raadt
2001-12-07back out latest changes which cause problems on alpha/sparc64 untilPeter Valchev
they are fixed
2001-11-23fix signal races. use sysctl() instead of kvm where possible, and then KNFTheo de Raadt
the hell out of it; checked by miod
1999-05-22Merge for new vmswap code largely from netbsd.Tobias Weingartner
1998-11-22now "Total" column can shrinkkstailey
1997-06-23Cleanup by Theo and myself. CMDLINE changed to long to makeTodd C. Miller
command line work on 64bit platforms. This is somewhat bogus and is really just a temporary workaround (there may be a curses bug).
1997-04-01zap extra XXX if swap goes down; paul@wit387304.student.utwente.nlTheo de Raadt
1997-01-31stop crash from walking off end of malloc'd page. i hunted this bug beforeTheo de Raadt
and didn't find it. fix from paul@wit387304.student.utwente.nl
1996-08-06whoopsTheo de Raadt
1996-08-06avoid buf oflowsTheo de Raadt
1996-06-26rcsidTheo de Raadt
1996-05-22libutilTheo de Raadt
1996-04-19Fix a bit, so it's now compiles.Michael Shalayeff
needs more work to do disk stats the way vmstat do.
1995-10-18initial import of NetBSD treeTheo de Raadt