From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2c34bb22473a2166 X-Google-Attributes: gidfee84,public From: aidan_d@morph (Aidan Donnelly) Subject: Re: How to get the process name from a CORE file? Date: 1996/04/24 Message-ID: <4ll84k$lha@news.Ieunet.ie>#1/1 X-Deja-AN: 151169656 references: <4l6ies$q1e@bcarh8ab.bnr.ca> <4lbn3n$hk5@atlantis.atlantis.actrix.gen.nz> organization: Ieunet Limited followup-to: comp.unix.osf.osf1 newsgroups: comp.unix.osf.osf1 wgtn comb tax (taxis@atlantis.actrix.gen.nz) wrote: : In article <4l6ies$q1e@bcarh8ab.bnr.ca>, Kenny Chan wrote: : > : > Hi, : > : > I would like to get the process name from a core : > file. The following script runs okay on the : > HP UNIX environment: : > : > strings core |sed -n -e 6p -e 6q : > : > However, it doesn't work on the DEC Alpha running : > OSF/1. : > : > I would like to "collect" the core file on : > my DEC Alpha and change its name to : > core. and save it for : > further investigation. Any hint on how to get the : > name? : > : Have you tried crash? Just type 'file core'