GCORE(1)
πΈ GCORE(1) β the gcore glow-up π
ok so real talk bestie: this is a page out of GNU Development Tools, and it's about gcore, aka the tool that takes a lil snapshot of a running program's whole soul without actually unaliving it. iconic behavior honestly π«Ά
β¨ NAME β¨
gcore β Generate a core file of a running program.
π SYNOPSIS π
gcore [-v | --version] [-h | --help] [-a] [-o prefix] [-d directory]
pid1 [pid2...pidN]
π DESCRIPTION π
So here's the vibe: you give gcore one or more running programs' process IDs β pid1, pid2, etc. β and it generates core dumps for them. β¨
A core file produced by gcore is equivalent to one produced by the kernel when the process crashes (and when "ulimit -c" was used to set up an appropriate core dump limit). Same energy, same result. π«Ά
But here's the main character twist: unlike after a crash, after gcore finishes its job the program remains running without any change. It doesn't get wrecked, it doesn't get stopped, it just keeps living its life. no cap. π₯
π¦ OPTIONS π¦
-aβ Dump all memory mappings. ngl the actual effect of this option depends on the Operating System, so don't @ me. On GNU/Linux, it will disable"use-coredump-filter"and enable"dump-excluded-mappings". π-oprefix β The optional argument prefix specifies the prefix to be used when composing the file names of the core dumps. The file name is composed asprefix.pid, wherepidis the process ID of the running program being analyzed bygcore. If not specified, prefix defaults tocore. β¨-ddirectory β Use directory as the data directory when invoking GDB for running thegcorecommand. This argument is optional. π--help,-hβ List all options, with brief explanations. your gurl loves a cheat sheet π--version,-vβ Print version information and then exit. bye bestie π
π ENVIRONMENT π
ok so this section is genuinely, actually empty. like, the manpage has the heading and then nothing. no environment variables listed. not a single one. it's giving "I have nothing to say" and honestly? respect the honesty. π
β SEE ALSO β
The full documentation for GDB is maintained as a Texinfo manual. If the "info" and "gdb" programs and GDB's Texinfo documentation are properly installed at your site, the command
info gdb
should give you access to the complete manual. π
Also on the reading list:
- Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H. Pesch, July 1991. a classic, we stan a vintage king π§
π COPYRIGHT π
Copyright (c) 1988-2026 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being "Free Software" and "Free Software Needs Free Documentation", with the Front-Cover Texts being "A GNU Manual," and with the Back-Cover Texts as in (a) below. π
(a) The FSF's Back-Cover Text is: "You are free to copy and modify this GNU Manual. Buying copies from GNU Press supports the FSF in developing GNU and promoting software freedom." @sp 1 Copyright (c) 2026, Intel Corporation. Intel's modifications are provided pursuant to the GNU Free Documentation license.
yes the @sp 1 is literally sitting there in the text, that's just how it is, we don't fix it, we respect it π«‘
anyway that's the whole page bestie, ily, go dump some cores responsibly π
so this glorious specimen of a manpage is gdb-17.1.2026.be1840694+, dated 2026-04-07, and it's the GCORE(1) page. periodt. πβ¨π¦
π¦ where this page comes from
- arch rolling: intel-oneapi-dpcpp-debugger 2026.0.0_220-1 Β· LicenseRef-Intel-EULA-Developer-Tools
- arch rolling: intel-oneapi-toolkit 2026.0.1.27+c9c3d3e3_ddb4_490e_bb41_6e9041ba32a7-2 Β· LicenseRef-Intel-EULA-Developer-Tools AND LicenseRef-Intel-Simplified
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms