# | Line 65 | Line 65 | char *get_page_stats(){ | |
---|---|---|
65 | continue; | |
66 | } | |
67 | } | |
68 | < | |
68 | > | if((kstat_close(kc)) != 0){ |
69 | > | errf("Failed to close kstat control structure (%m)"); |
70 | > | return NULL; |
71 | > | } |
72 | swap_pageins=(cs.cpu_vminfo.pgswapin-swapin)/WAIT_TIME_IN_SECS; | |
73 | swap_pageouts=(cs.cpu_vminfo.pgswapout-swapout)/WAIT_TIME_IN_SECS; | |
74 | #endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |