02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

memPartShow( )<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

memPartShow( ) – show partition blocks and statistics<br />

STATUS memPartShow<br />

(<br />

PART_ID partId, /* partition ID */<br />

int type /* 0 = statistics, 1 = statistics & list */<br />

)<br />

This command displays statistics about the available and allocated memory in a specified<br />

memory partition. It shows the number of bytes, the number of blocks, and the average<br />

block size in both free and allocated memory, and also the maximum block size of free<br />

memory. It also shows the number of blocks currently allocated and the average allocated<br />

block size.<br />

In addition, if type is 1, the command displays a list of all the blocks in the free list of the<br />

specified partition.<br />

OK or ERROR.<br />

windsh, memShow(), browse(), <strong>Tornado</strong> User’s Guide: Shell<br />

memShow( )<br />

NAME<br />

SYNOPSIS<br />

DESCRIPTION<br />

memShow( ) – show system memory partition blocks and statistics<br />

void memShow<br />

(<br />

int type /* 1 = list all blocks in the free list */<br />

)<br />

This command displays statistics about the available and allocated memory in the system<br />

memory partition. It shows the number of bytes, the number of blocks, and the average<br />

block size in both free and allocated memory, and also the maximum block size of free<br />

memory. It also shows the number of blocks currently allocated and the average allocated<br />

block size.<br />

In addition, if type is 1, the command displays a list of all the blocks in the free list of the<br />

system partition.<br />

400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!