23 lines
620 B
C
23 lines
620 B
C
/*
|
|
* Copyright (c) 1982, 1986 Regents of the University of California.
|
|
* All rights reserved. The Berkeley software License Agreement
|
|
* specifies the terms and conditions for redistribution.
|
|
*/
|
|
|
|
/*
|
|
* CTL_VM identifiers
|
|
*/
|
|
#define VM_METER 1 /* struct vmmeter */
|
|
#define VM_LOADAVG 2 /* struct loadavg */
|
|
#define VM_SWAPMAP 3 /* struct mapent _swapmap[] */
|
|
#define VM_MAXID 5 /* number of valid vm ids */
|
|
|
|
#ifndef KERNEL
|
|
#define CTL_VM_NAMES { \
|
|
{ 0, 0 }, \
|
|
{ "vmmeter", CTLTYPE_STRUCT }, \
|
|
{ "loadavg", CTLTYPE_STRUCT }, \
|
|
{ "swapmap", CTLTYPE_STRUCT }, \
|
|
}
|
|
#endif
|