|
Lines 330-336
Link Here
|
| 330 |
GETSYSCTL("vm.stats.vm.v_swappgsin", nspgsin); |
330 |
GETSYSCTL("vm.stats.vm.v_swappgsin", nspgsin); |
| 331 |
GETSYSCTL("vm.stats.vm.v_swappgsout", nspgsout); |
331 |
GETSYSCTL("vm.stats.vm.v_swappgsout", nspgsout); |
| 332 |
/* convert memory stats to Kbytes */ |
332 |
/* convert memory stats to Kbytes */ |
|
|
333 |
memory_stats[0] = pagetok(memory_stats[0]); |
| 334 |
memory_stats[1] = pagetok(memory_stats[1]); |
| 335 |
memory_stats[2] = pagetok(memory_stats[2]); |
| 336 |
memory_stats[3] = pagetok(memory_stats[3]); |
| 333 |
memory_stats[4] = bufspace / 1024; |
337 |
memory_stats[4] = bufspace / 1024; |
|
|
338 |
memory_stats[5] = pagetok(memory_stats[5]); |
| 334 |
memory_stats[6] = -1; |
339 |
memory_stats[6] = -1; |
| 335 |
|
340 |
|
| 336 |
/* first interval */ |
341 |
/* first interval */ |