Debian Codegraph @

po/es/man1/memusage.1.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n 4.11.0\n"
7 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
8 "PO-Revision-Date: 2021-09-03 21:00+0200\n"
9 "Last-Translator: Automatically generated\n"
10 "Language-Team: Spanish <[email protected]>\n"
11 "Language: es\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17 #. #-#-#-#-# archlinux: memusage.1.pot (PACKAGE VERSION) #-#-#-#-#
18 #. type: SY
19 #. #-#-#-#-# debian-trixie: memusage.1.pot (PACKAGE VERSION) #-#-#-#-#
20 #. type: TH
21 #. #-#-#-#-# debian-unstable: memusage.1.pot (PACKAGE VERSION) #-#-#-#-#
22 #. type: SY
23 #. #-#-#-#-# fedora-44: memusage.1.pot (PACKAGE VERSION) #-#-#-#-#
24 #. type: SY
25 #. #-#-#-#-# fedora-rawhide: memusage.1.pot (PACKAGE VERSION) #-#-#-#-#
26 #. type: SY
27 #. #-#-#-#-# mageia-cauldron: memusage.1.pot (PACKAGE VERSION) #-#-#-#-#
28 #. type: SY
29 #. #-#-#-#-# opensuse-leap-16-1: memusage.1.pot (PACKAGE VERSION) #-#-#-#-#
30 #. type: SY
31 #. #-#-#-#-# opensuse-tumbleweed: memusage.1.pot (PACKAGE VERSION) #-#-#-#-#
32 #. type: SY
33 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
34 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
35 #, fuzzy, no-wrap
36 #| msgid "Usage"
37 msgid "memusage"
38 msgstr "Modo de empleo"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2026-02-08"
45 msgstr "8 Febrero 2026"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, fuzzy, no-wrap
50 #| msgid "Linux man-pages 6.17"
51 msgid "Linux man-pages 6.18"
52 msgstr "Páginas de Manual de Linux 6.17"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "NAME"
59 msgstr "NOMBRE"
60
61 #. type: Plain text
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "memusage - profile memory usage of a program"
65 msgstr ""
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SINOPSIS"
73
74 #. type: Plain text
75 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
76 #: opensuse-leap-16-1 opensuse-tumbleweed
77 msgid "[I<option>\\ .\\|.\\|.\\&] I<program> [I<programoption>\\ .\\|.\\|.]"
78 msgstr ""
79
80 #. type: SH
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "DESCRIPTION"
85 msgstr "DESCRIPCIÓN"
86
87 #. type: Plain text
88 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
89 #: opensuse-leap-16-1 opensuse-tumbleweed
90 msgid ""
91 "B<memusage> is a B<bash>(1) script which profiles memory usage of the "
92 "program, I<program>. It preloads the B<libmemusage.so> library into the "
93 "caller's environment (via the B<LD_PRELOAD> environment variable; see "
94 "B<ld.so>(8)). The B<libmemusage.so> library traces memory allocation by "
95 "intercepting calls to B<malloc>(3), B<calloc>(3), B<free>(3), and "
96 "B<realloc>(3); optionally, calls to B<mmap>(2), B<mremap>(2), and "
97 "B<munmap>(2) can also be intercepted."
98 msgstr ""
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid ""
104 "B<memusage> can output the collected data in textual form, or it can use "
105 "B<memusagestat>(1) (see the B<-p> option, below) to create a PNG file "
106 "containing graphical representation of the collected data."
107 msgstr ""
108
109 #. type: SS
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "Memory usage summary"
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "The \"Memory usage summary\" line output by B<memusage> contains three "
121 "fields:"
122 msgstr ""
123
124 #. type: TP
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, no-wrap
128 msgid "B<heap total>"
129 msgstr ""
130
131 #. type: Plain text
132 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
133 #: opensuse-tumbleweed
134 msgid ""
135 "Sum of I<size> arguments of all B<malloc>(3) calls, products of arguments "
136 "(I<n>*I<size>) of all B<calloc>(3) calls, and sum of I<length> arguments "
137 "of all B<mmap>(2) calls. In the case of B<realloc>(3) and B<mremap>(2), "
138 "if the new size of an allocation is larger than the previous size, the sum "
139 "of all such differences (new size minus old size) is added."
140 msgstr ""
141
142 #. type: TP
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 #, no-wrap
146 msgid "B<heap peak>"
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
151 #: opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "Maximum of all I<size> arguments of B<malloc>(3), all products of "
154 "I<n>*I<size> of B<calloc>(3), all I<size> arguments of B<realloc>(3), "
155 "I<length> arguments of B<mmap>(2), and I<new_size> arguments of B<mremap>(2)."
156 msgstr ""
157
158 #. type: TP
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "B<stack peak>"
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "Before the first call to any monitored function, the stack pointer address "
170 "(base stack pointer) is saved. After each function call, the actual stack "
171 "pointer address is read and the difference from the base stack pointer "
172 "computed. The maximum of these differences is then the stack peak."
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "Immediately following this summary line, a table shows the number calls, "
180 "total memory allocated or deallocated, and number of failed calls for each "
181 "intercepted function. For B<realloc>(3) and B<mremap>(2), the additional "
182 "field \"nomove\" shows reallocations that changed the address of a block, "
183 "and the additional \"dec\" field shows reallocations that decreased the size "
184 "of the block. For B<realloc>(3), the additional field \"free\" shows "
185 "reallocations that caused a block to be freed (i.e., the reallocated size "
186 "was 0)."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "The \"realloc/total memory\" of the table output by B<memusage> does not "
194 "reflect cases where B<realloc>(3) is used to reallocate a block of memory "
195 "to have a smaller size than previously. This can cause sum of all \"total "
196 "memory\" cells (excluding \"free\") to be larger than the \"free/total "
197 "memory\" cell."
198 msgstr ""
199
200 #. type: SS
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "Histogram for block sizes"
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "The \"Histogram for block sizes\" provides a breakdown of memory allocations "
212 "into various bucket sizes."
213 msgstr ""
214
215 #. type: SH
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "OPTIONS"
220 msgstr "OPCIONES"
221
222 #. type: TP
223 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
224 #: opensuse-tumbleweed
225 #, fuzzy, no-wrap
226 #| msgid "B<-a >I<aname>"
227 msgid "B<-n\\ >I<name>"
228 msgstr "B<-a >I<array>"
229
230 #. type: TQ
231 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
232 #: opensuse-tumbleweed
233 #, fuzzy, no-wrap
234 #| msgid "B<--target=>I<bfdname>"
235 msgid "B<--progname=>I<name>"
236 msgstr "B<--target=>I<nombrebfd>"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid "Name of the program file to profile."
242 msgstr ""
243
244 #. type: TP
245 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
246 #: opensuse-tumbleweed
247 #, fuzzy, no-wrap
248 #| msgid "B<-O >I<file>"
249 msgid "B<-p\\ >I<file>"
250 msgstr "B<-O >I<archivo>"
251
252 #. type: TQ
253 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
254 #: opensuse-tumbleweed
255 #, fuzzy, no-wrap
256 #| msgid "B<-O >I<file>"
257 msgid "B<--png=>I<file>"
258 msgstr "B<-O >I<archivo>"
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid "Generate PNG graphic and store it in I<file>."
264 msgstr ""
265
266 #. type: TP
267 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
268 #: opensuse-tumbleweed
269 #, fuzzy, no-wrap
270 #| msgid "B<-O >I<file>"
271 msgid "B<-d\\ >I<file>"
272 msgstr "B<-O >I<archivo>"
273
274 #. type: TQ
275 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
276 #: opensuse-tumbleweed
277 #, fuzzy, no-wrap
278 #| msgid "B<-O >I<file>"
279 msgid "B<--data=>I<file>"
280 msgstr "B<-O >I<archivo>"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid "Generate binary data file and store it in I<file>."
286 msgstr ""
287
288 #. type: TP
289 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
290 #: opensuse-tumbleweed
291 #, no-wrap
292 msgid "B<-u>"
293 msgstr "B<-u>"
294
295 #. type: TQ
296 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
297 #: opensuse-tumbleweed
298 #, fuzzy, no-wrap
299 #| msgid "B<-u>, B<--unbuffered>"
300 msgid "B<--unbuffered>"
301 msgstr "B<-u>, B<--unbuffered>"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid "Do not buffer output."
307 msgstr ""
308
309 #. type: TP
310 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
311 #: opensuse-tumbleweed
312 #, fuzzy, no-wrap
313 #| msgid "B<-O >I<file>"
314 msgid "B<-b\\ >I<size>"
315 msgstr "B<-O >I<archivo>"
316
317 #. type: TQ
318 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
319 #: opensuse-tumbleweed
320 #, fuzzy, no-wrap
321 #| msgid "B<--image=>I<image>"
322 msgid "B<--buffer=>I<size>"
323 msgstr "B<--image=>I<imagen>"
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid "Collect I<size> entries before writing them out."
329 msgstr ""
330
331 #. type: TP
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<--no-timer>"
336 msgstr ""
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid "Disable timer-based (B<SIGPROF>) sampling of stack pointer value."
342 msgstr ""
343
344 #. type: TP
345 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
346 #: opensuse-tumbleweed
347 #, no-wrap
348 msgid "B<-m>"
349 msgstr "B<-m>"
350
351 #. type: TQ
352 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
353 #: opensuse-tumbleweed
354 #, fuzzy, no-wrap
355 #| msgid "B<mmap>(2)"
356 msgid "B<--mmap>"
357 msgstr "B<mmap>(2)"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid "Also trace B<mmap>(2), B<mremap>(2), and B<munmap>(2)."
363 msgstr ""
364
365 #. type: TP
366 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
367 #: opensuse-tumbleweed
368 #, no-wrap
369 msgid "B<-?>"
370 msgstr "B<-?>"
371
372 #. type: TQ
373 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
374 #: opensuse-tumbleweed
375 #, no-wrap
376 msgid "B<--help>"
377 msgstr "B<--help>"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid "Print help and exit."
383 msgstr "Muestra la ayuda y finaliza."
384
385 #. type: TP
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "B<--usage>"
390 msgstr "B<--usage>"
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid "Print a short usage message and exit."
396 msgstr ""
397
398 #. type: TP
399 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
400 #: opensuse-tumbleweed
401 #, no-wrap
402 msgid "B<-V>"
403 msgstr "B<-V>"
404
405 #. type: TQ
406 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
407 #: opensuse-tumbleweed
408 #, no-wrap
409 msgid "B<--version>"
410 msgstr "B<--version>"
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid "Print version information and exit."
416 msgstr ""
417
418 #. type: TP
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "The following options apply only when generating graphical output:"
423 msgstr ""
424
425 #. type: TP
426 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
427 #: opensuse-tumbleweed
428 #, no-wrap
429 msgid "B<-t>"
430 msgstr "B<-t>"
431
432 #. type: TQ
433 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
434 #: opensuse-tumbleweed
435 #, fuzzy, no-wrap
436 #| msgid "B<--base64>"
437 msgid "B<--time-based>"
438 msgstr "B<--base64>"
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "Use time (rather than number of function calls) as the scale for the X axis."
445 msgstr ""
446
447 #. type: TP
448 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
449 #: opensuse-tumbleweed
450 #, no-wrap
451 msgid "B<-T>"
452 msgstr "B<-T>"
453
454 #. type: TQ
455 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
456 #: opensuse-tumbleweed
457 #, no-wrap
458 msgid "B<--total>"
459 msgstr "B<--total>"
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid "Also draw a graph of total memory use."
465 msgstr ""
466
467 #. type: TP
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 #, no-wrap
471 msgid "B<--title=>I<name>"
472 msgstr ""
473
474 #. type: Plain text
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 msgid "Use I<name> as the title of the graph."
478 msgstr ""
479
480 #. type: TP
481 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
482 #: opensuse-tumbleweed
483 #, fuzzy, no-wrap
484 #| msgid "B<-O >I<file>"
485 msgid "B<-x\\ >I<size>"
486 msgstr "B<-O >I<archivo>"
487
488 #. type: TQ
489 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
490 #: opensuse-tumbleweed
491 #, fuzzy, no-wrap
492 #| msgid "B<--image=>I<image>"
493 msgid "B<--x-size=>I<size>"
494 msgstr "B<--image=>I<imagen>"
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid "Make the graph I<size> pixels wide."
500 msgstr ""
501
502 #. type: TP
503 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
504 #: opensuse-tumbleweed
505 #, fuzzy, no-wrap
506 #| msgid "B<-O >I<file>"
507 msgid "B<-y\\ >I<size>"
508 msgstr "B<-O >I<archivo>"
509
510 #. type: TQ
511 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
512 #: opensuse-tumbleweed
513 #, fuzzy, no-wrap
514 #| msgid "B<--image=>I<image>"
515 msgid "B<--y-size=>I<size>"
516 msgstr "B<--image=>I<imagen>"
517
518 #. type: Plain text
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 msgid "Make the graph I<size> pixels high."
522 msgstr ""
523
524 #. type: SH
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "EXIT STATUS"
529 msgstr "ESTADO DE SALIDA"
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "The exit status of B<memusage> is equal to the exit status of the profiled "
536 "program."
537 msgstr ""
538
539 #. type: SH
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 #, no-wrap
543 msgid "BUGS"
544 msgstr "ERRORES"
545
546 #. type: Plain text
547 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
548 #: opensuse-tumbleweed
549 #, fuzzy
550 #| msgid ""
551 #| "GNU recutils home page: E<lt>https://www.gnu.org/software/recutils/E<gt>"
552 msgid ""
553 "To report bugs, see E<.UR http:\\://www.gnu.org/software/libc/bugs.html> "
554 "E<.UE>"
555 msgstr ""
556 "GNU recutils página inicial: E<lt>https://www.gnu.org/software/recutils/E<gt>"
557
558 #. type: SH
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, no-wrap
562 msgid "EXAMPLES"
563 msgstr "EJEMPLOS"
564
565 #. type: Plain text
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 msgid ""
569 "Below is a simple program that reallocates a block of memory in cycles that "
570 "rise to a peak before then cyclically reallocating the memory in smaller "
571 "blocks that return to zero. After compiling the program and running the "
572 "following commands, a graph of the memory usage of the program can be found "
573 "in the file I<memusage.png>:"
574 msgstr ""
575
576 #. type: Plain text
577 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
578 #: opensuse-tumbleweed
579 #, no-wrap
580 msgid ""
581 "$B< memusage --data=memusage.dat ./a.out>;\n"
582 "\\&...\n"
583 "Memory usage summary: heap total: 45200, heap peak: 6440, stack peak: 224\n"
584 " total calls total memory failed calls\n"
585 " malloc| 1 400 0\n"
586 "realloc| 40 44800 0 (nomove:40, dec:19, free:0)\n"
587 " calloc| 0 0 0\n"
588 " free| 1 440\n"
589 "Histogram for block sizes:\n"
590 " 192-207 1 2% ================\n"
591 "\\&...\n"
592 " 2192-2207 1 2% ================\n"
593 " 2240-2255 2 4% =================================\n"
594 " 2832-2847 2 4% =================================\n"
595 " 3440-3455 2 4% =================================\n"
596 " 4032-4047 2 4% =================================\n"
597 " 4640-4655 2 4% =================================\n"
598 " 5232-5247 2 4% =================================\n"
599 " 5840-5855 2 4% =================================\n"
600 " 6432-6447 1 2% ================\n"
601 "$B< memusagestat memusage.dat memusage.png>;\n"
602 msgstr ""
603
604 #. type: SS
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "Program source"
609 msgstr "Código fuente"
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 #, no-wrap
615 msgid ""
616 "#include E<lt>stdio.hE<gt>\n"
617 "#include E<lt>stdlib.hE<gt>\n"
618 "\\&\n"
619 "#define CYCLES 20\n"
620 "\\&\n"
621 "int\n"
622 "main(int argc, char *argv[])\n"
623 "{\n"
624 " int i, j;\n"
625 " size_t size;\n"
626 " int *p;\n"
627 "\\&\n"
628 " size = sizeof(*p) * 100;\n"
629 " printf(\"malloc: %zu\\[rs]n\", size);\n"
630 " p = malloc(size);\n"
631 "\\&\n"
632 " for (i = 0; i E<lt> CYCLES; i++) {\n"
633 " if (i E<lt> CYCLES / 2)\n"
634 " j = i;\n"
635 " else\n"
636 " j--;\n"
637 "\\&\n"
638 " size = sizeof(*p) * (j * 50 + 110);\n"
639 " printf(\"realloc: %zu\\[rs]n\", size);\n"
640 " p = realloc(p, size);\n"
641 "\\&\n"
642 " size = sizeof(*p) * ((j + 1) * 150 + 110);\n"
643 " printf(\"realloc: %zu\\[rs]n\", size);\n"
644 " p = realloc(p, size);\n"
645 " }\n"
646 "\\&\n"
647 " free(p);\n"
648 " exit(EXIT_SUCCESS);\n"
649 "}\n"
650 msgstr ""
651
652 #. type: SH
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "SEE ALSO"
657 msgstr "VÉASE TAMBIÉN"
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 msgid "B<memusagestat>(1), B<mtrace>(1), B<ld.so>(8)"
663 msgstr ""
664
665 #. type: TH
666 #: debian-trixie
667 #, no-wrap
668 msgid "2024-06-15"
669 msgstr "15 Junio 2024"
670
671 #. type: TH
672 #: debian-trixie
673 #, no-wrap
674 msgid "Linux man-pages 6.9.1"
675 msgstr "Páginas de Manual de Linux 6.9.1"
676
677 #. type: Plain text
678 #: debian-trixie
679 #, no-wrap
680 msgid "B<memusage> [I<option>]... I<program> [I<programoption>]...\n"
681 msgstr ""
682
683 #. type: Plain text
684 #: debian-trixie
685 msgid ""
686 "B<memusage> is a bash script which profiles memory usage of the program, "
687 "I<program>. It preloads the B<libmemusage.so> library into the caller's "
688 "environment (via the B<LD_PRELOAD> environment variable; see B<ld.so>(8)). "
689 "The B<libmemusage.so> library traces memory allocation by intercepting calls "
690 "to B<malloc>(3), B<calloc>(3), B<free>(3), and B<realloc>(3); optionally, "
691 "calls to B<mmap>(2), B<mremap>(2), and B<munmap>(2) can also be intercepted."
692 msgstr ""
693
694 #. type: Plain text
695 #: debian-trixie
696 msgid ""
697 "Sum of I<size> arguments of all B<malloc>(3) calls, products of arguments "
698 "(I<nmemb>*I<size>) of all B<calloc>(3) calls, and sum of I<length> "
699 "arguments of all B<mmap>(2) calls. In the case of B<realloc>(3) and "
700 "B<mremap>(2), if the new size of an allocation is larger than the previous "
701 "size, the sum of all such differences (new size minus old size) is added."
702 msgstr ""
703
704 #. type: Plain text
705 #: debian-trixie
706 msgid ""
707 "Maximum of all I<size> arguments of B<malloc>(3), all products of "
708 "I<nmemb>*I<size> of B<calloc>(3), all I<size> arguments of B<realloc>(3), "
709 "I<length> arguments of B<mmap>(2), and I<new_size> arguments of B<mremap>(2)."
710 msgstr ""
711
712 #. type: TP
713 #: debian-trixie fedora-44 fedora-rawhide
714 #, no-wrap
715 msgid "B<-n\\ >I<name>,\\ B<--progname=>I<name>"
716 msgstr ""
717
718 #. type: TP
719 #: debian-trixie fedora-44 fedora-rawhide
720 #, no-wrap
721 msgid "B<-p\\ >I<file>,\\ B<--png=>I<file>"
722 msgstr ""
723
724 #. type: TP
725 #: debian-trixie fedora-44 fedora-rawhide
726 #, no-wrap
727 msgid "B<-d\\ >I<file>,\\ B<--data=>I<file>"
728 msgstr ""
729
730 #. type: TP
731 #: debian-trixie fedora-44 fedora-rawhide
732 #, no-wrap
733 msgid "B<-u>,\\ B<--unbuffered>"
734 msgstr ""
735
736 #. type: TP
737 #: debian-trixie fedora-44 fedora-rawhide
738 #, no-wrap
739 msgid "B<-b\\ >I<size>,\\ B<--buffer=>I<size>"
740 msgstr ""
741
742 #. type: TP
743 #: debian-trixie fedora-44 fedora-rawhide
744 #, no-wrap
745 msgid "B<-m>,\\ B<--mmap>"
746 msgstr ""
747
748 #. type: TP
749 #: debian-trixie fedora-44 fedora-rawhide
750 #, no-wrap
751 msgid "B<-?>,\\ B<--help>"
752 msgstr ""
753
754 #. type: TP
755 #: debian-trixie fedora-44 fedora-rawhide
756 #, no-wrap
757 msgid "B<-V>,\\ B<--version>"
758 msgstr "B<-V>,\\ B<--version>"
759
760 #. type: TP
761 #: debian-trixie fedora-44 fedora-rawhide
762 #, no-wrap
763 msgid "B<-t>,\\ B<--time-based>"
764 msgstr ""
765
766 #. type: TP
767 #: debian-trixie fedora-44 fedora-rawhide
768 #, no-wrap
769 msgid "B<-T>,\\ B<--total>"
770 msgstr ""
771
772 #. type: TP
773 #: debian-trixie fedora-44 fedora-rawhide
774 #, no-wrap
775 msgid "B<-x\\ >I<size>,\\ B<--x-size=>I<size>"
776 msgstr ""
777
778 #. type: TP
779 #: debian-trixie fedora-44 fedora-rawhide
780 #, no-wrap
781 msgid "B<-y\\ >I<size>,\\ B<--y-size=>I<size>"
782 msgstr ""
783
784 #. type: Plain text
785 #: debian-trixie fedora-44 fedora-rawhide
786 msgid ""
787 "To report bugs, see E<.UR http://www.gnu.org/software/libc/bugs.html> E<.UE>"
788 msgstr ""
789
790 #. type: Plain text
791 #: debian-trixie fedora-44 fedora-rawhide
792 #, no-wrap
793 msgid ""
794 "$ B<memusage --data=memusage.dat ./a.out>\n"
795 "\\&...\n"
796 "Memory usage summary: heap total: 45200, heap peak: 6440, stack peak: 224\n"
797 " total calls total memory failed calls\n"
798 " malloc| 1 400 0\n"
799 "realloc| 40 44800 0 (nomove:40, dec:19, free:0)\n"
800 " calloc| 0 0 0\n"
801 " free| 1 440\n"
802 "Histogram for block sizes:\n"
803 " 192-207 1 2% ================\n"
804 "\\&...\n"
805 " 2192-2207 1 2% ================\n"
806 " 2240-2255 2 4% =================================\n"
807 " 2832-2847 2 4% =================================\n"
808 " 3440-3455 2 4% =================================\n"
809 " 4032-4047 2 4% =================================\n"
810 " 4640-4655 2 4% =================================\n"
811 " 5232-5247 2 4% =================================\n"
812 " 5840-5855 2 4% =================================\n"
813 " 6432-6447 1 2% ================\n"
814 "$ B<memusagestat memusage.dat memusage.png>\n"
815 msgstr ""
816
817 #. type: TH
818 #: fedora-44 fedora-rawhide
819 #, no-wrap
820 msgid "2024-11-25"
821 msgstr "25 Noviembre 2024"
822
823 #. type: TH
824 #: fedora-44 fedora-rawhide
825 #, no-wrap
826 msgid "Linux man-pages 6.13"
827 msgstr "Páginas de Manual de Linux 6.13"
828
829 #. type: Plain text
830 #: fedora-44 fedora-rawhide
831 msgid ""
832 "Sum of I<size> arguments of all B<malloc>(3) calls, products of arguments "
833 "(I<n>*I<size>) of all B<calloc>(3) calls, and sum of I<length> arguments of "
834 "all B<mmap>(2) calls. In the case of B<realloc>(3) and B<mremap>(2), if "
835 "the new size of an allocation is larger than the previous size, the sum of "
836 "all such differences (new size minus old size) is added."
837 msgstr ""
838
839 #. type: TH
840 #: mageia-cauldron
841 #, no-wrap
842 msgid "Linux man-pages 6.17"
843 msgstr "Páginas de Manual de Linux 6.17"
844
845 #. type: TH
846 #: opensuse-leap-16-1 opensuse-tumbleweed
847 #, no-wrap
848 msgid "Linux man-pages (unreleased)"
849 msgstr "Páginas de Manual de Linux (no publicadas)"