File:  [XINU] / xinu / sys / bpdump.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:39:02 2018 UTC (8 years, 2 months ago) by root
Branches: xinu, MAIN
CVS tags: xinu-19870308, HEAD
Xinu for VAX

/* bpdump.c - bpdump */

#include <conf.h>
#include <kernel.h>
#include <mark.h>
#include <bufpool.h>

/*------------------------------------------------------------------------
 *  bpdump  -  dump the buffer pool table
 *------------------------------------------------------------------------
 */
bpdump()
{
	int	i;
	struct	bpool	*bpptr;

	for (i=0 ; i<NBPOOLS ; i++) {
	    bpptr = &bptab[i];
	    kprintf("Buffer Pool %2d: buf size=%4d, sem=%2d, count=%d\n",
		i, bpptr->bpsize, bpptr->bpsem, scount(bpptr->bpsem));
	}
	return(OK);
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.