Home
last modified time | relevance | path

Searched refs:swap_stats (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.bin/top/
H A Dmachine.c150 static int swap_stats[nitems(swapnames)]; variable
513 swap_stats[4] = 0; in get_system_info()
514 swap_stats[5] = 0; in get_system_info()
519 swap_stats[4] = pagetok(((nspgsin - swappgsin))); in get_system_info()
520 swap_stats[5] = pagetok(((nspgsout - swappgsout))); in get_system_info()
527 if (swap_stats[4] > 0 || swap_stats[5] > 0 || swap_delay == 0) { in get_system_info()
528 swap_stats[3] = swapmode(&swapavail, &swapfree); in get_system_info()
529 swap_stats[0] = swapavail; in get_system_info()
530 swap_stats[1] = swapavail - swapfree; in get_system_info()
531 swap_stats[2] = swapfree; in get_system_info()
[all …]