5.5. Memory Diagnostic Tools

Memory data are provided by memory diagnostic tools including size, vmstat and ipcs, as well as by glance and sar.

5.5.1. size

Size produces section size information for each section in the object files. The size of the text, data and BSS (uninitialized data) sections are printed along with the total size of the object file. Two examples of output from the size command are shown below; the first provides a summary, and the second, using the -v option, provides the information in more detail.

The output of the size command may be misleading for executables that use shared libraries or shared memory, and have large heap and/or stack sizes. The text and data metrics reported by size do not include any of these areas. ...

Get HP-UX 11i Tuning and Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.