2011-07-21 14:27:47 +02:00
|
|
|
.TH ACKSIZE 1
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH NAME
|
2011-07-21 14:27:47 +02:00
|
|
|
acksize \- print text, data, and bss size of a program
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH SYNOPSIS
|
2011-07-21 14:27:47 +02:00
|
|
|
\fBacksize\fR [\fIfile\fR] ...\fR
|
2005-05-02 15:01:42 +02:00
|
|
|
.br
|
|
|
|
.de FL
|
|
|
|
.TP
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
\\$2
|
|
|
|
..
|
|
|
|
.de EX
|
|
|
|
.TP 20
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
# \\$2
|
|
|
|
..
|
|
|
|
.SH EXAMPLES
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 20
|
|
|
|
.B acksize file
|
|
|
|
# Print the size of \fIfile\fP
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
The text, data, bss, and total sizes for each argument are printed.
|
|
|
|
If no arguments are present,
|
|
|
|
.I a.out
|
|
|
|
is assumed.
|
|
|
|
The amount of memory available for combined stack and data segment growth
|
|
|
|
is printed in the column \&'stack.\&'
|
|
|
|
This is the value manipulated by the
|
|
|
|
.I chmem
|
|
|
|
command.
|
|
|
|
The total amount of memory allocated to the program when it is loaded is
|
|
|
|
listed under \&'memory.\&'
|
|
|
|
This value is just the sum of the other four columns.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR anm (1),
|
|
|
|
.BR asize (1),
|
|
|
|
.BR ar (1),
|
|
|
|
.BR chmem (1),
|
|
|
|
.BR install (1),
|
|
|
|
.BR nm (1).
|