OSDN Git Service

144345d5f9482fc2b6db4c0d00f6afa3c26c75bc
[linuxjm/LDP_man-pages.git] / release / man3 / malloc_stats.3
1 .\" t
2 .\" Copyright (c) 2012 by Michael Kerrisk <mtk.manpages@gmail.com>
3 .\"
4 .\" %%%LICENSE_START(VERBATIM)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" %%%LICENSE_END
25 .\"
26 .\"*******************************************************************
27 .\"
28 .\" This file was generated with po4a. Translate the source file.
29 .\"
30 .\"*******************************************************************
31 .TH MALLOC_STATS 3 2012\-05\-06 Linux "Linux Programmer's Manual"
32 .SH 名前
33 malloc_stats \- メモリ割り当ての統計を表示する
34 .SH 書式
35 \fB#include <malloc.h>\fP
36
37 \fBvoid malloc_stats(void);\fP
38 .SH 説明
39 .\" .SH VERSIONS
40 .\" Available already in glibc 2.0, possibly earlier
41 The \fBmalloc_stats\fP()  function prints (on standard error) statistics about
42 memory allocated by \fBmalloc\fP(3)  and related functions.  For each arena
43 (allocation area), this function prints the total amount of memory allocated
44 and the total number of bytes consumed by in\-use allocations.  (These two
45 values correspond to the \fIarena\fP and \fIuordblks\fP fields retrieved by
46 \fBmallinfo\fP(3).)  In addition, the function prints the sum of these two
47 statistics for all arenas, and the maximum number of blocks and bytes that
48 were ever simultaneously allocated using \fBmmap\fP(2).
49 .SH 準拠
50 この関数は GNU による拡張である。
51 .SH 注意
52 More detailed information about memory allocations in the main arena can be
53 obtained using \fBmallinfo\fP(3).
54 .SH 関連項目
55 \fBmmap\fP(2), \fBmallinfo\fP(3), \fBmalloc\fP(3), \fBmalloc_info\fP(3), \fBmallopt\fP(3)
56 .SH この文書について
57 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
58 である。プロジェクトの説明とバグ報告に関する情報は
59 http://www.kernel.org/doc/man\-pages/ に書かれている。