version 1.3, 1996/06/26 05:37:23 |
version 1.4, 1997/06/29 20:18:01 |
|
|
printf("\t%u mbufs allocated to <mbuf type %d>\n", |
printf("\t%u mbufs allocated to <mbuf type %d>\n", |
mbstat.m_mtypes[i], i); |
mbstat.m_mtypes[i], i); |
} |
} |
printf("%u/%u mapped pages in use\n", |
printf("%lu/%lu mapped pages in use\n", |
mbstat.m_clusters - mbstat.m_clfree, mbstat.m_clusters); |
mbstat.m_clusters - mbstat.m_clfree, mbstat.m_clusters); |
totmem = totmbufs * MSIZE + mbstat.m_clusters * MCLBYTES; |
totmem = totmbufs * MSIZE + mbstat.m_clusters * MCLBYTES; |
totfree = mbstat.m_clfree * MCLBYTES; |
totfree = mbstat.m_clfree * MCLBYTES; |
printf("%u Kbytes allocated to network (%d%% in use)\n", |
printf("%u Kbytes allocated to network (%d%% in use)\n", |
totmem / 1024, (totmem - totfree) * 100 / totmem); |
totmem / 1024, (totmem - totfree) * 100 / totmem); |
printf("%u requests for memory denied\n", mbstat.m_drops); |
printf("%lu requests for memory denied\n", mbstat.m_drops); |
printf("%u requests for memory delayed\n", mbstat.m_wait); |
printf("%lu requests for memory delayed\n", mbstat.m_wait); |
printf("%u calls to protocol drain routines\n", mbstat.m_drain); |
printf("%lu calls to protocol drain routines\n", mbstat.m_drain); |
} |
} |