Tornado Reference : Tornado Utilities
vxsize - compute the size of a vxWorks image
vxsize [-v h_adr l_adr] [-k kbytes] [ -b hex] file
This tool calculates the size of a specified vxWorks image and compares the size of the image with the the system image as it would sit in RAM, i.e. the difference of RAM_HIGH_ADRS and RAM_LOW_ADRS. If the image size (text + data + bss) is greater than the difference, a warning is displayed.
- -v h_adr l_adr
- specifies the size of the h_adr and l_adr addresses in bytes base 16.
- -k kbytes
- specifies the size of the system image in RAM in kilobytes.
- -b hex
- specifies the size of the system image in RAM in bytes base 16.
% vxsize -v 0010000 002000 vxWorks vxWorks: 312720(t) + 28596(d) + 32430(b) = 373746 (57344 over) Warning: image is larger than 316402 bytes!
vxsize, UNIX documentation for size(1)