| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:31+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. #-#-#-#-# archlinux: memusage.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
#. type: SY |
| 21 |
#. #-#-#-#-# debian-trixie: memusage.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. type: TH |
| 23 |
#. #-#-#-#-# debian-unstable: memusage.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 24 |
#. type: SY |
| 25 |
#. #-#-#-#-# fedora-44: memusage.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. type: SY |
| 27 |
#. #-#-#-#-# fedora-rawhide: memusage.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 28 |
#. type: SY |
| 29 |
#. #-#-#-#-# mageia-cauldron: memusage.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 30 |
#. type: SY |
| 31 |
#. #-#-#-#-# opensuse-leap-16-1: memusage.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 32 |
#. type: SY |
| 33 |
#. #-#-#-#-# opensuse-tumbleweed: memusage.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 34 |
#. type: SY |
| 35 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 36 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 37 |
#, no-wrap |
| 38 |
msgid "memusage" |
| 39 |
msgstr "" |
| 40 |
|
| 41 |
#. type: TH |
| 42 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 43 |
#: opensuse-tumbleweed |
| 44 |
#, no-wrap |
| 45 |
msgid "2026-02-08" |
| 46 |
msgstr "" |
| 47 |
|
| 48 |
#. type: TH |
| 49 |
#: archlinux debian-unstable |
| 50 |
#, no-wrap |
| 51 |
msgid "Linux man-pages 6.18" |
| 52 |
msgstr "" |
| 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 "" |
| 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 "" |
| 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 "" |
| 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 "" |
| 221 |
|
| 222 |
#. type: TP |
| 223 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 224 |
#: opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "B<-n\\ >I<name>" |
| 227 |
msgstr "" |
| 228 |
|
| 229 |
#. type: TQ |
| 230 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 231 |
#: opensuse-tumbleweed |
| 232 |
#, no-wrap |
| 233 |
msgid "B<--progname=>I<name>" |
| 234 |
msgstr "" |
| 235 |
|
| 236 |
#. type: Plain text |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
msgid "Name of the program file to profile." |
| 240 |
msgstr "" |
| 241 |
|
| 242 |
#. type: TP |
| 243 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 244 |
#: opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "B<-p\\ >I<file>" |
| 247 |
msgstr "" |
| 248 |
|
| 249 |
#. type: TQ |
| 250 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 251 |
#: opensuse-tumbleweed |
| 252 |
#, no-wrap |
| 253 |
msgid "B<--png=>I<file>" |
| 254 |
msgstr "" |
| 255 |
|
| 256 |
#. type: Plain text |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
msgid "Generate PNG graphic and store it in I<file>." |
| 260 |
msgstr "" |
| 261 |
|
| 262 |
#. type: TP |
| 263 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 264 |
#: opensuse-tumbleweed |
| 265 |
#, no-wrap |
| 266 |
msgid "B<-d\\ >I<file>" |
| 267 |
msgstr "" |
| 268 |
|
| 269 |
#. type: TQ |
| 270 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 271 |
#: opensuse-tumbleweed |
| 272 |
#, no-wrap |
| 273 |
msgid "B<--data=>I<file>" |
| 274 |
msgstr "" |
| 275 |
|
| 276 |
#. type: Plain text |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
msgid "Generate binary data file and store it in I<file>." |
| 280 |
msgstr "" |
| 281 |
|
| 282 |
#. type: TP |
| 283 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 284 |
#: opensuse-tumbleweed |
| 285 |
#, no-wrap |
| 286 |
msgid "B<-u>" |
| 287 |
msgstr "" |
| 288 |
|
| 289 |
#. type: TQ |
| 290 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 291 |
#: opensuse-tumbleweed |
| 292 |
#, no-wrap |
| 293 |
msgid "B<--unbuffered>" |
| 294 |
msgstr "" |
| 295 |
|
| 296 |
#. type: Plain text |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
msgid "Do not buffer output." |
| 300 |
msgstr "" |
| 301 |
|
| 302 |
#. type: TP |
| 303 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 304 |
#: opensuse-tumbleweed |
| 305 |
#, no-wrap |
| 306 |
msgid "B<-b\\ >I<size>" |
| 307 |
msgstr "" |
| 308 |
|
| 309 |
#. type: TQ |
| 310 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 311 |
#: opensuse-tumbleweed |
| 312 |
#, no-wrap |
| 313 |
msgid "B<--buffer=>I<size>" |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
msgid "Collect I<size> entries before writing them out." |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#. type: TP |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
#, no-wrap |
| 326 |
msgid "B<--no-timer>" |
| 327 |
msgstr "" |
| 328 |
|
| 329 |
#. type: Plain text |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
msgid "Disable timer-based (B<SIGPROF>) sampling of stack pointer value." |
| 333 |
msgstr "" |
| 334 |
|
| 335 |
#. type: TP |
| 336 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 337 |
#: opensuse-tumbleweed |
| 338 |
#, no-wrap |
| 339 |
msgid "B<-m>" |
| 340 |
msgstr "" |
| 341 |
|
| 342 |
#. type: TQ |
| 343 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 344 |
#: opensuse-tumbleweed |
| 345 |
#, no-wrap |
| 346 |
msgid "B<--mmap>" |
| 347 |
msgstr "" |
| 348 |
|
| 349 |
#. type: Plain text |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
msgid "Also trace B<mmap>(2), B<mremap>(2), and B<munmap>(2)." |
| 353 |
msgstr "" |
| 354 |
|
| 355 |
#. type: TP |
| 356 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 357 |
#: opensuse-tumbleweed |
| 358 |
#, no-wrap |
| 359 |
msgid "B<-?>" |
| 360 |
msgstr "" |
| 361 |
|
| 362 |
#. type: TQ |
| 363 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 364 |
#: opensuse-tumbleweed |
| 365 |
#, no-wrap |
| 366 |
msgid "B<--help>" |
| 367 |
msgstr "" |
| 368 |
|
| 369 |
#. type: Plain text |
| 370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 372 |
msgid "Print help and exit." |
| 373 |
msgstr "" |
| 374 |
|
| 375 |
#. type: TP |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
#, no-wrap |
| 379 |
msgid "B<--usage>" |
| 380 |
msgstr "" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
msgid "Print a short usage message and exit." |
| 386 |
msgstr "" |
| 387 |
|
| 388 |
#. type: TP |
| 389 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 390 |
#: opensuse-tumbleweed |
| 391 |
#, no-wrap |
| 392 |
msgid "B<-V>" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: TQ |
| 396 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 397 |
#: opensuse-tumbleweed |
| 398 |
#, no-wrap |
| 399 |
msgid "B<--version>" |
| 400 |
msgstr "" |
| 401 |
|
| 402 |
#. type: Plain text |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
msgid "Print version information and exit." |
| 406 |
msgstr "" |
| 407 |
|
| 408 |
#. type: TP |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
#, no-wrap |
| 412 |
msgid "The following options apply only when generating graphical output:" |
| 413 |
msgstr "" |
| 414 |
|
| 415 |
#. type: TP |
| 416 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 417 |
#: opensuse-tumbleweed |
| 418 |
#, no-wrap |
| 419 |
msgid "B<-t>" |
| 420 |
msgstr "" |
| 421 |
|
| 422 |
#. type: TQ |
| 423 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 424 |
#: opensuse-tumbleweed |
| 425 |
#, no-wrap |
| 426 |
msgid "B<--time-based>" |
| 427 |
msgstr "" |
| 428 |
|
| 429 |
#. type: Plain text |
| 430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 432 |
msgid "" |
| 433 |
"Use time (rather than number of function calls) as the scale for the X axis." |
| 434 |
msgstr "" |
| 435 |
|
| 436 |
#. type: TP |
| 437 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 438 |
#: opensuse-tumbleweed |
| 439 |
#, no-wrap |
| 440 |
msgid "B<-T>" |
| 441 |
msgstr "" |
| 442 |
|
| 443 |
#. type: TQ |
| 444 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 445 |
#: opensuse-tumbleweed |
| 446 |
#, no-wrap |
| 447 |
msgid "B<--total>" |
| 448 |
msgstr "" |
| 449 |
|
| 450 |
#. type: Plain text |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
msgid "Also draw a graph of total memory use." |
| 454 |
msgstr "" |
| 455 |
|
| 456 |
#. type: TP |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
#, no-wrap |
| 460 |
msgid "B<--title=>I<name>" |
| 461 |
msgstr "" |
| 462 |
|
| 463 |
#. type: Plain text |
| 464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 466 |
msgid "Use I<name> as the title of the graph." |
| 467 |
msgstr "" |
| 468 |
|
| 469 |
#. type: TP |
| 470 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 471 |
#: opensuse-tumbleweed |
| 472 |
#, no-wrap |
| 473 |
msgid "B<-x\\ >I<size>" |
| 474 |
msgstr "" |
| 475 |
|
| 476 |
#. type: TQ |
| 477 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 478 |
#: opensuse-tumbleweed |
| 479 |
#, no-wrap |
| 480 |
msgid "B<--x-size=>I<size>" |
| 481 |
msgstr "" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
msgid "Make the graph I<size> pixels wide." |
| 487 |
msgstr "" |
| 488 |
|
| 489 |
#. type: TP |
| 490 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 491 |
#: opensuse-tumbleweed |
| 492 |
#, no-wrap |
| 493 |
msgid "B<-y\\ >I<size>" |
| 494 |
msgstr "" |
| 495 |
|
| 496 |
#. type: TQ |
| 497 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 498 |
#: opensuse-tumbleweed |
| 499 |
#, no-wrap |
| 500 |
msgid "B<--y-size=>I<size>" |
| 501 |
msgstr "" |
| 502 |
|
| 503 |
#. type: Plain text |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
msgid "Make the graph I<size> pixels high." |
| 507 |
msgstr "" |
| 508 |
|
| 509 |
#. type: SH |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
#, no-wrap |
| 513 |
msgid "EXIT STATUS" |
| 514 |
msgstr "" |
| 515 |
|
| 516 |
#. type: Plain text |
| 517 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 518 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 519 |
msgid "" |
| 520 |
"The exit status of B<memusage> is equal to the exit status of the profiled " |
| 521 |
"program." |
| 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 "BUGS" |
| 529 |
msgstr "" |
| 530 |
|
| 531 |
#. type: Plain text |
| 532 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 533 |
#: opensuse-tumbleweed |
| 534 |
msgid "" |
| 535 |
"To report bugs, see E<.UR http:\\://www.gnu.org/software/libc/bugs.html> " |
| 536 |
"E<.UE>" |
| 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 "EXAMPLES" |
| 544 |
msgstr "" |
| 545 |
|
| 546 |
#. type: Plain text |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
msgid "" |
| 550 |
"Below is a simple program that reallocates a block of memory in cycles that " |
| 551 |
"rise to a peak before then cyclically reallocating the memory in smaller " |
| 552 |
"blocks that return to zero. After compiling the program and running the " |
| 553 |
"following commands, a graph of the memory usage of the program can be found " |
| 554 |
"in the file I<memusage.png>:" |
| 555 |
msgstr "" |
| 556 |
|
| 557 |
#. type: Plain text |
| 558 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 559 |
#: opensuse-tumbleweed |
| 560 |
#, no-wrap |
| 561 |
msgid "" |
| 562 |
"$B< memusage --data=memusage.dat ./a.out>;\n" |
| 563 |
"\\&...\n" |
| 564 |
"Memory usage summary: heap total: 45200, heap peak: 6440, stack peak: 224\n" |
| 565 |
" total calls total memory failed calls\n" |
| 566 |
" malloc| 1 400 0\n" |
| 567 |
"realloc| 40 44800 0 (nomove:40, dec:19, free:0)\n" |
| 568 |
" calloc| 0 0 0\n" |
| 569 |
" free| 1 440\n" |
| 570 |
"Histogram for block sizes:\n" |
| 571 |
" 192-207 1 2% ================\n" |
| 572 |
"\\&...\n" |
| 573 |
" 2192-2207 1 2% ================\n" |
| 574 |
" 2240-2255 2 4% =================================\n" |
| 575 |
" 2832-2847 2 4% =================================\n" |
| 576 |
" 3440-3455 2 4% =================================\n" |
| 577 |
" 4032-4047 2 4% =================================\n" |
| 578 |
" 4640-4655 2 4% =================================\n" |
| 579 |
" 5232-5247 2 4% =================================\n" |
| 580 |
" 5840-5855 2 4% =================================\n" |
| 581 |
" 6432-6447 1 2% ================\n" |
| 582 |
"$B< memusagestat memusage.dat memusage.png>;\n" |
| 583 |
msgstr "" |
| 584 |
|
| 585 |
#. type: SS |
| 586 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 587 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 588 |
#, no-wrap |
| 589 |
msgid "Program source" |
| 590 |
msgstr "" |
| 591 |
|
| 592 |
#. type: Plain text |
| 593 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 594 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 595 |
#, no-wrap |
| 596 |
msgid "" |
| 597 |
"#include E<lt>stdio.hE<gt>\n" |
| 598 |
"#include E<lt>stdlib.hE<gt>\n" |
| 599 |
"\\&\n" |
| 600 |
"#define CYCLES 20\n" |
| 601 |
"\\&\n" |
| 602 |
"int\n" |
| 603 |
"main(int argc, char *argv[])\n" |
| 604 |
"{\n" |
| 605 |
" int i, j;\n" |
| 606 |
" size_t size;\n" |
| 607 |
" int *p;\n" |
| 608 |
"\\&\n" |
| 609 |
" size = sizeof(*p) * 100;\n" |
| 610 |
" printf(\"malloc: %zu\\[rs]n\", size);\n" |
| 611 |
" p = malloc(size);\n" |
| 612 |
"\\&\n" |
| 613 |
" for (i = 0; i E<lt> CYCLES; i++) {\n" |
| 614 |
" if (i E<lt> CYCLES / 2)\n" |
| 615 |
" j = i;\n" |
| 616 |
" else\n" |
| 617 |
" j--;\n" |
| 618 |
"\\&\n" |
| 619 |
" size = sizeof(*p) * (j * 50 + 110);\n" |
| 620 |
" printf(\"realloc: %zu\\[rs]n\", size);\n" |
| 621 |
" p = realloc(p, size);\n" |
| 622 |
"\\&\n" |
| 623 |
" size = sizeof(*p) * ((j + 1) * 150 + 110);\n" |
| 624 |
" printf(\"realloc: %zu\\[rs]n\", size);\n" |
| 625 |
" p = realloc(p, size);\n" |
| 626 |
" }\n" |
| 627 |
"\\&\n" |
| 628 |
" free(p);\n" |
| 629 |
" exit(EXIT_SUCCESS);\n" |
| 630 |
"}\n" |
| 631 |
msgstr "" |
| 632 |
|
| 633 |
#. type: SH |
| 634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 636 |
#, no-wrap |
| 637 |
msgid "SEE ALSO" |
| 638 |
msgstr "" |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 643 |
msgid "B<memusagestat>(1), B<mtrace>(1), B<ld.so>(8)" |
| 644 |
msgstr "" |
| 645 |
|
| 646 |
#. type: TH |
| 647 |
#: debian-trixie |
| 648 |
#, no-wrap |
| 649 |
msgid "2024-06-15" |
| 650 |
msgstr "" |
| 651 |
|
| 652 |
#. type: TH |
| 653 |
#: debian-trixie |
| 654 |
#, no-wrap |
| 655 |
msgid "Linux man-pages 6.9.1" |
| 656 |
msgstr "" |
| 657 |
|
| 658 |
#. type: Plain text |
| 659 |
#: debian-trixie |
| 660 |
#, no-wrap |
| 661 |
msgid "B<memusage> [I<option>]... I<program> [I<programoption>]...\n" |
| 662 |
msgstr "" |
| 663 |
|
| 664 |
#. type: Plain text |
| 665 |
#: debian-trixie |
| 666 |
msgid "" |
| 667 |
"B<memusage> is a bash script which profiles memory usage of the program, " |
| 668 |
"I<program>. It preloads the B<libmemusage.so> library into the caller's " |
| 669 |
"environment (via the B<LD_PRELOAD> environment variable; see B<ld.so>(8)). " |
| 670 |
"The B<libmemusage.so> library traces memory allocation by intercepting calls " |
| 671 |
"to B<malloc>(3), B<calloc>(3), B<free>(3), and B<realloc>(3); optionally, " |
| 672 |
"calls to B<mmap>(2), B<mremap>(2), and B<munmap>(2) can also be intercepted." |
| 673 |
msgstr "" |
| 674 |
|
| 675 |
#. type: Plain text |
| 676 |
#: debian-trixie |
| 677 |
msgid "" |
| 678 |
"Sum of I<size> arguments of all B<malloc>(3) calls, products of arguments " |
| 679 |
"(I<nmemb>*I<size>) of all B<calloc>(3) calls, and sum of I<length> " |
| 680 |
"arguments of all B<mmap>(2) calls. In the case of B<realloc>(3) and " |
| 681 |
"B<mremap>(2), if the new size of an allocation is larger than the previous " |
| 682 |
"size, the sum of all such differences (new size minus old size) is added." |
| 683 |
msgstr "" |
| 684 |
|
| 685 |
#. type: Plain text |
| 686 |
#: debian-trixie |
| 687 |
msgid "" |
| 688 |
"Maximum of all I<size> arguments of B<malloc>(3), all products of " |
| 689 |
"I<nmemb>*I<size> of B<calloc>(3), all I<size> arguments of B<realloc>(3), " |
| 690 |
"I<length> arguments of B<mmap>(2), and I<new_size> arguments of B<mremap>(2)." |
| 691 |
msgstr "" |
| 692 |
|
| 693 |
#. type: TP |
| 694 |
#: debian-trixie fedora-44 fedora-rawhide |
| 695 |
#, no-wrap |
| 696 |
msgid "B<-n\\ >I<name>,\\ B<--progname=>I<name>" |
| 697 |
msgstr "" |
| 698 |
|
| 699 |
#. type: TP |
| 700 |
#: debian-trixie fedora-44 fedora-rawhide |
| 701 |
#, no-wrap |
| 702 |
msgid "B<-p\\ >I<file>,\\ B<--png=>I<file>" |
| 703 |
msgstr "" |
| 704 |
|
| 705 |
#. type: TP |
| 706 |
#: debian-trixie fedora-44 fedora-rawhide |
| 707 |
#, no-wrap |
| 708 |
msgid "B<-d\\ >I<file>,\\ B<--data=>I<file>" |
| 709 |
msgstr "" |
| 710 |
|
| 711 |
#. type: TP |
| 712 |
#: debian-trixie fedora-44 fedora-rawhide |
| 713 |
#, no-wrap |
| 714 |
msgid "B<-u>,\\ B<--unbuffered>" |
| 715 |
msgstr "" |
| 716 |
|
| 717 |
#. type: TP |
| 718 |
#: debian-trixie fedora-44 fedora-rawhide |
| 719 |
#, no-wrap |
| 720 |
msgid "B<-b\\ >I<size>,\\ B<--buffer=>I<size>" |
| 721 |
msgstr "" |
| 722 |
|
| 723 |
#. type: TP |
| 724 |
#: debian-trixie fedora-44 fedora-rawhide |
| 725 |
#, no-wrap |
| 726 |
msgid "B<-m>,\\ B<--mmap>" |
| 727 |
msgstr "" |
| 728 |
|
| 729 |
#. type: TP |
| 730 |
#: debian-trixie fedora-44 fedora-rawhide |
| 731 |
#, no-wrap |
| 732 |
msgid "B<-?>,\\ B<--help>" |
| 733 |
msgstr "" |
| 734 |
|
| 735 |
#. type: TP |
| 736 |
#: debian-trixie fedora-44 fedora-rawhide |
| 737 |
#, no-wrap |
| 738 |
msgid "B<-V>,\\ B<--version>" |
| 739 |
msgstr "" |
| 740 |
|
| 741 |
#. type: TP |
| 742 |
#: debian-trixie fedora-44 fedora-rawhide |
| 743 |
#, no-wrap |
| 744 |
msgid "B<-t>,\\ B<--time-based>" |
| 745 |
msgstr "" |
| 746 |
|
| 747 |
#. type: TP |
| 748 |
#: debian-trixie fedora-44 fedora-rawhide |
| 749 |
#, no-wrap |
| 750 |
msgid "B<-T>,\\ B<--total>" |
| 751 |
msgstr "" |
| 752 |
|
| 753 |
#. type: TP |
| 754 |
#: debian-trixie fedora-44 fedora-rawhide |
| 755 |
#, no-wrap |
| 756 |
msgid "B<-x\\ >I<size>,\\ B<--x-size=>I<size>" |
| 757 |
msgstr "" |
| 758 |
|
| 759 |
#. type: TP |
| 760 |
#: debian-trixie fedora-44 fedora-rawhide |
| 761 |
#, no-wrap |
| 762 |
msgid "B<-y\\ >I<size>,\\ B<--y-size=>I<size>" |
| 763 |
msgstr "" |
| 764 |
|
| 765 |
#. type: Plain text |
| 766 |
#: debian-trixie fedora-44 fedora-rawhide |
| 767 |
msgid "" |
| 768 |
"To report bugs, see E<.UR http://www.gnu.org/software/libc/bugs.html> E<.UE>" |
| 769 |
msgstr "" |
| 770 |
|
| 771 |
#. type: Plain text |
| 772 |
#: debian-trixie fedora-44 fedora-rawhide |
| 773 |
#, no-wrap |
| 774 |
msgid "" |
| 775 |
"$ B<memusage --data=memusage.dat ./a.out>\n" |
| 776 |
"\\&...\n" |
| 777 |
"Memory usage summary: heap total: 45200, heap peak: 6440, stack peak: 224\n" |
| 778 |
" total calls total memory failed calls\n" |
| 779 |
" malloc| 1 400 0\n" |
| 780 |
"realloc| 40 44800 0 (nomove:40, dec:19, free:0)\n" |
| 781 |
" calloc| 0 0 0\n" |
| 782 |
" free| 1 440\n" |
| 783 |
"Histogram for block sizes:\n" |
| 784 |
" 192-207 1 2% ================\n" |
| 785 |
"\\&...\n" |
| 786 |
" 2192-2207 1 2% ================\n" |
| 787 |
" 2240-2255 2 4% =================================\n" |
| 788 |
" 2832-2847 2 4% =================================\n" |
| 789 |
" 3440-3455 2 4% =================================\n" |
| 790 |
" 4032-4047 2 4% =================================\n" |
| 791 |
" 4640-4655 2 4% =================================\n" |
| 792 |
" 5232-5247 2 4% =================================\n" |
| 793 |
" 5840-5855 2 4% =================================\n" |
| 794 |
" 6432-6447 1 2% ================\n" |
| 795 |
"$ B<memusagestat memusage.dat memusage.png>\n" |
| 796 |
msgstr "" |
| 797 |
|
| 798 |
#. type: TH |
| 799 |
#: fedora-44 fedora-rawhide |
| 800 |
#, no-wrap |
| 801 |
msgid "2024-11-25" |
| 802 |
msgstr "" |
| 803 |
|
| 804 |
#. type: TH |
| 805 |
#: fedora-44 fedora-rawhide |
| 806 |
#, no-wrap |
| 807 |
msgid "Linux man-pages 6.13" |
| 808 |
msgstr "" |
| 809 |
|
| 810 |
#. type: Plain text |
| 811 |
#: fedora-44 fedora-rawhide |
| 812 |
msgid "" |
| 813 |
"Sum of I<size> arguments of all B<malloc>(3) calls, products of arguments " |
| 814 |
"(I<n>*I<size>) of all B<calloc>(3) calls, and sum of I<length> arguments of " |
| 815 |
"all B<mmap>(2) calls. In the case of B<realloc>(3) and B<mremap>(2), if " |
| 816 |
"the new size of an allocation is larger than the previous size, the sum of " |
| 817 |
"all such differences (new size minus old size) is added." |
| 818 |
msgstr "" |
| 819 |
|
| 820 |
#. type: TH |
| 821 |
#: mageia-cauldron |
| 822 |
#, no-wrap |
| 823 |
msgid "Linux man-pages 6.17" |
| 824 |
msgstr "" |
| 825 |
|
| 826 |
#. type: TH |
| 827 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 828 |
#, no-wrap |
| 829 |
msgid "Linux man-pages (unreleased)" |
| 830 |
msgstr "" |