Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Compensate for "Compensate for header dethreading" by backing it out. | bde | 2001-10-10 | 1 | -2/+0 |
| | |||||
* | Implement __FBSDID() | dillon | 2001-09-16 | 1 | -10/+2 |
| | |||||
* | Change this to support the new way swap device information is exported | tmm | 2001-06-01 | 1 | -77/+66 |
| | | | | via sysctl, and clean up some style and (size_t != int) issues. | ||||
* | Compensate for header dethreading. | markm | 2001-05-01 | 1 | -0/+2 |
| | |||||
* | Adapt libkvm_getswapinfo() to make use of recently committed vm and swap | rwatson | 2001-02-23 | 1 | -60/+254 |
| | | | | | | | | | | | | | | | | sysctls exporting swap information. When running on a live kernel, the sysctl's will now be used instead of kvm_read, allowing consumers of this interface to run without privilege (setgid kmem). Retain the ability to run on coredumps, or on a kernel using kmem if explicitly pointed at one. A side effect of this change is that kvm_getswapinfo() is faster now in the general case. If the SWIF_DUMP_TREE flag is given (pstat -ss does this), the radix tree walker, which still uses kvm_read in any case, is invoked, and therefore does require privilege. Submitted by: Thomas Moestl <tmoestl@gmx.net> Reviewed by: freebsd-audit | ||||
* | Add `_PATH_DEVZERO'. | obrien | 2000-12-09 | 1 | -1/+2 |
| | | | | Use _PATH_* where where possible. | ||||
* | remove unneded sys/ucred.h include | alfred | 2000-11-30 | 1 | -1/+0 |
| | |||||
* | Remove unneeded #include | jlemon | 2000-04-16 | 1 | -1/+0 |
| | |||||
* | -Wall, which caught a real bug where buflen wasn't being set properly. | obrien | 2000-03-27 | 1 | -8/+4 |
| | |||||
* | Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling | peter | 1999-12-27 | 1 | -1/+0 |
| | | | | | | and is module aware. Yes, this means that kvm_nlist(3) will find symbols in loaded modules. The emulation of the nlist struct is pretty crude but seems to work well enough for all the users in the tree that I found. | ||||
* | Report swapdevices as cdevs rather than bdevs. | phk | 1999-11-29 | 1 | -1/+1 |
| | | | | Remove unused dev2budev() function. | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Tidy up references to <sys/rlist.h> and support for the old swap management | peter | 1999-05-11 | 1 | -88/+9 |
| | | | | that went away in January. | ||||
* | From rev. 1.12 of usr.sbin/pstat/pstat.c by phk: | dt | 1999-02-14 | 1 | -3/+6 |
| | | | | | Reflect the fact that we do not swap on the first <dmmax> blocks of a swapdev, to protect disklabels and other such magic stuff. | ||||
* | Handle case where no swap is configured | dillon | 1999-02-06 | 1 | -3/+10 |
| | |||||
* | Removed evil typedef kvm_swap_t and all uses of it (not many). | bde | 1999-01-27 | 1 | -6/+8 |
| | | | | Hoped for by: wollman | ||||
* | Fix swap radix tree dump formatting ( pstat -ss ), it was printing the | dillon | 1999-01-25 | 1 | -4/+4 |
| | | | | wrong radix for recursive subnodes. | ||||
* | Add SWIF_DEV_PREFIX flag to add "/dev/..." to device name. | dillon | 1999-01-22 | 1 | -2/+3 |
| | |||||
* | Implement kvm_getswapinfo() libkvm function. Will be used by | dillon | 1999-01-22 | 1 | -0/+486 |
pstat, top, and systat. |