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.

C<br />

<strong>Tornado</strong> Tools Reference<br />

EXAMPLE -> memShow 1<br />

FREE LIST:<br />

num addr size<br />

--- ---------- ----------<br />

1 0x3fee18 16<br />

2 0x3b1434 20<br />

3 0x4d188 2909400<br />

SUMMARY:<br />

status bytes blocks avg block max block<br />

------ --------- -------- ---------- ----------<br />

current<br />

free 2909436 3 969812 2909400<br />

alloc 969060 16102 60 -<br />

cumulative<br />

alloc 1143340 16365 69 -<br />

C<br />

RETURNS<br />

SEE ALSO<br />

N/A<br />

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

moduleIdFigure( )<br />

NAME moduleIdFigure() – figure out module ID, given name or number (*)<br />

SYNOPSIS<br />

DESCRIPTION<br />

RETURNS<br />

SEE ALSO<br />

int moduleIdFigure<br />

(<br />

int modNameOrId /* target module ID or name */<br />

)<br />

The list of module IDs known to the target server is searched for the given number; if<br />

found, it is returned (thus verifying its validity). Otherwise, if the given address points to<br />

a string that matches an existing module name, that module’s ID is returned. If all this<br />

fails, ERROR (-1) is returned.<br />

There is no target-resident version of moduleIdFigure().<br />

A module ID, or ERROR.<br />

windsh, <strong>Tornado</strong> User’s Guide: Shell<br />

401

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

Saved successfully!

Ooh no, something went wrong!