Rev | Line | |
---|
[9] | 1 | .TH SIZE 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | size \- print text, data, and bss size of a program
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBsize\fR [\fIfile\fR] ...\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH EXAMPLES
|
---|
| 18 | .EX "size file" "Print the size of \fIfile\fP"
|
---|
| 19 | .SH DESCRIPTION
|
---|
| 20 | .PP
|
---|
| 21 | The text, data, bss, and total sizes for each argument are printed.
|
---|
| 22 | If no arguments are present,
|
---|
| 23 | .I a.out
|
---|
| 24 | is assumed.
|
---|
| 25 | The amount of memory available for combined stack and data segment growth
|
---|
| 26 | is printed in the column \&'stack.\&'
|
---|
| 27 | This is the value manipulated by the
|
---|
| 28 | .I chmem
|
---|
| 29 | command.
|
---|
| 30 | The total amount of memory allocated to the program when it is loaded is
|
---|
| 31 | listed under \&'memory.\&'
|
---|
| 32 | This value is just the sum of the other four columns.
|
---|
| 33 | .SH "SEE ALSO"
|
---|
| 34 | .BR anm (1),
|
---|
| 35 | .BR asize (1),
|
---|
| 36 | .BR ar (1),
|
---|
| 37 | .BR chmem (1),
|
---|
| 38 | .BR install (1),
|
---|
| 39 | .BR nm (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.