public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: SCOTT FIELDS <Scott.Fields@kyndryl.com>
To: "gdb@gnu.org" <gdb@gnu.org>
Subject: Getting core estimate for "gcore" command and conversely gcore/generate-core-file in GDB
Date: Tue, 5 Sep 2023 18:41:50 +0000	[thread overview]
Message-ID: <CY8PR14MB59318EFE2C1E7780B8BBEFC38AE8A@CY8PR14MB5931.namprd14.prod.outlook.com> (raw)
In-Reply-To: <CY8PR14MB5931CCE141777E6626F4F4558AE8A@CY8PR14MB5931.namprd14.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

Are there other commands that will estimate the current space required for a successful run of "gcore"?

Neither "gcore" command or gcore/generate-core-file command in GDB provide any option to get such an estimate.

Has there been a request to get this kind of information from "gcore" as a future enhancement, since it can be difficult to know just how much space a large running process actually needs.

Scott Fields
Kyndryl
Senior Lead SRE


  reply	other threads:[~2023-09-05 18:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-05 18:25 SCOTT FIELDS
2023-09-05 18:41 ` SCOTT FIELDS [this message]
2023-09-08 16:56 ` Tom Tromey
2023-09-08 17:07   ` Luis Machado
2023-09-08 17:29   ` SCOTT FIELDS
2023-09-08 22:41     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CY8PR14MB59318EFE2C1E7780B8BBEFC38AE8A@CY8PR14MB5931.namprd14.prod.outlook.com \
    --to=scott.fields@kyndryl.com \
    --cc=gdb@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).