Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* forcing a core dump
@ 2001-02-13 18:48 JM
  2001-02-16  9:09 ` kavitha malar
  2001-02-16 13:19 ` Andrew Duane USG
  0 siblings, 2 replies; 3+ messages in thread
From: JM @ 2001-02-13 18:48 UTC (permalink / raw)


Is there a way to force a core dump of a running process without killing the
process?

Under Solaris you can use gcore, but I am looking for a Tru64 equivalent.

Thanks
-James





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: forcing a core dump
  2001-02-13 18:48 forcing a core dump JM
@ 2001-02-16  9:09 ` kavitha malar
  2001-02-16 13:19 ` Andrew Duane USG
  1 sibling, 0 replies; 3+ messages in thread
From: kavitha malar @ 2001-02-16  9:09 UTC (permalink / raw)


Use assert function to get core dump.
 This function will abort the process and give the core dump.

Regard's
jude malar

"JM" <cbfrog1@hotmail.com> wrote in message
news:96bvh4$5g9$1@iac5.navix.net...
> Is there a way to force a core dump of a running process without killing
the
> process?
>
> Under Solaris you can use gcore, but I am looking for a Tru64 equivalent.
>
> Thanks
> -James
>
>
>




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: forcing a core dump
  2001-02-13 18:48 forcing a core dump JM
  2001-02-16  9:09 ` kavitha malar
@ 2001-02-16 13:19 ` Andrew Duane USG
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Duane USG @ 2001-02-16 13:19 UTC (permalink / raw)


In article <96bvh4$5g9$1@iac5.navix.net> "JM" <cbfrog1@hotmail.com> writes:
>Is there a way to force a core dump of a running process without killing the
>process?

I sent you mail a little bit ago about how to do this with procfs,
but I forgot there is a user program to do this: coredump.

# coredump [<directory>] <pid>

You do not have to be root to use it, but you must have ownership of
the process, and permissions to the directory to dump into.

--

Andrew L. Duane (JOT-7)			duane@zk3.dec.com
Compaq Computer Corporation		(603)-884-1294
110 Spit Brook Road
M/S ZKO3-3/U14
Nashua, NH    03062-2698



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-02-16 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-13 18:48 forcing a core dump JM
2001-02-16  9:09 ` kavitha malar
2001-02-16 13:19 ` Andrew Duane USG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox