Getting core estimate for "gcore" command and conversely gcore/generate-core-file in GDB

SCOTT FIELDS via Gdb <[email protected]> Tue, 5 Sep 2023 18:25:41 +0000
Newsgroups gmane.comp.gdb.devel,gmane.comp.gdb.general
Message-ID <CY8PR14MB5931CCE141777E6626F4F4558AE8A@CY8PR14MB5931.namprd14.prod.outlook.com>
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 - BNSF