Lines Matching refs:this

40  *  The contents of this file are subject to the terms of the
42 * (the "License"). You may not use this file except in compliance
54 * 11-Jun-2005 Brendan Gregg Created this.
67 this->ani_max = `k_anoninfo.ani_max;
68 this->ani_phys_resv = `k_anoninfo.ani_phys_resv;
69 this->ani_mem_resv = `k_anoninfo.ani_mem_resv;
70 this->ani_locked = `k_anoninfo.ani_locked_swap;
71 this->availrmem = `availrmem;
74 this->ram_total = `physinstalled;
75 this->unusable = `physinstalled - `physmem;
76 this->locked = `pages_locked;
77 this->ram_used = `availrmem - `freemem;
78 this->freemem = `freemem;
79 this->kernel = `physmem - `pages_locked - `availrmem;
82 this->disk_total = `k_anoninfo.ani_max;
83 this->disk_resv = `k_anoninfo.ani_phys_resv;
84 this->disk_avail = this->disk_total - this->disk_resv;
87 this->minfree = `swapfs_minfree;
88 this->reserve = `swapfs_reserve;
89 /* this is TOTAL_AVAILABLE_SWAP from /usr/include/vm/anon.h, */
90 this->swap_total = `k_anoninfo.ani_max +
93 /* this is CURRENT_TOTAL_AVAILABLE_SWAP from /usr/include/vm/anon.h, */
94 this->swap_avail = `k_anoninfo.ani_max - `k_anoninfo.ani_phys_resv +
97 this->swap_resv = this->swap_total - this->swap_avail;
100 this->ani_phys_resv *= `_pagesize; this->ani_phys_resv /= 1048576;
101 this->ani_mem_resv *= `_pagesize; this->ani_mem_resv /= 1048576;
102 this->ani_locked *= `_pagesize; this->ani_locked /= 1048576;
103 this->ani_max *= `_pagesize; this->ani_max /= 1048576;
104 this->availrmem *= `_pagesize; this->availrmem /= 1048576;
105 this->ram_total *= `_pagesize; this->ram_total /= 1048576;
106 this->unusable *= `_pagesize; this->unusable /= 1048576;
107 this->kernel *= `_pagesize; this->kernel /= 1048576;
108 this->locked *= `_pagesize; this->locked /= 1048576;
109 this->ram_used *= `_pagesize; this->ram_used /= 1048576;
110 this->freemem *= `_pagesize; this->freemem /= 1048576;
111 this->disk_total *= `_pagesize; this->disk_total /= 1048576;
112 this->disk_resv *= `_pagesize; this->disk_resv /= 1048576;
113 this->disk_avail *= `_pagesize; this->disk_avail /= 1048576;
114 this->swap_total *= `_pagesize; this->swap_total /= 1048576;
115 this->swap_avail *= `_pagesize; this->swap_avail /= 1048576;
116 this->swap_resv *= `_pagesize; this->swap_resv /= 1048576;
117 this->minfree *= `_pagesize; this->minfree /= 1048576;
118 this->reserve *= `_pagesize; this->reserve /= 1048576;
121 DEBUG ? printf("DEBUG availrmem %5d MB\n", this->availrmem) : 1;
122 DEBUG ? printf("DEBUG freemem %5d MB\n", this->freemem) : 1;
123 DEBUG ? printf("DEBUG ani_max %5d MB\n", this->ani_max) : 1;
124 DEBUG ? printf("DEBUG ani_phys_re %5d MB\n", this->ani_phys_resv) : 1;
125 DEBUG ? printf("DEBUG ani_mem_re %5d MB\n", this->ani_mem_resv) : 1;
126 DEBUG ? printf("DEBUG ani_locked %5d MB\n", this->ani_locked) : 1;
127 DEBUG ? printf("DEBUG reserve %5d MB\n", this->reserve) : 1;
131 printf("RAM _______Total %5d MB\n", this->ram_total);
132 printf("RAM Unusable %5d MB\n", this->unusable);
133 printf("RAM Kernel %5d MB\n", this->kernel);
134 printf("RAM Locked %5d MB\n", this->locked);
135 printf("RAM Used %5d MB\n", this->ram_used);
136 printf("RAM Free %5d MB\n", this->freemem);
138 printf("Disk _______Total %5d MB\n", this->disk_total);
139 printf("Disk Resv %5d MB\n", this->disk_resv);
140 printf("Disk Avail %5d MB\n", this->disk_avail);
142 printf("Swap _______Total %5d MB\n", this->swap_total);
143 printf("Swap Resv %5d MB\n", this->swap_resv);
144 printf("Swap Avail %5d MB\n", this->swap_avail);
145 printf("Swap (Minfree) %5d MB\n", this->minfree);