linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nirendra Awasthi <linux@nirendra.net>
To: linux-mm@kvack.org
Subject: Determining if process is having core dump
Date: Mon, 07 Jun 2004 15:51:38 +0530	[thread overview]
Message-ID: <ca1fk9$92t$3@sea.gmane.org> (raw)

Hi,
	Is there a way for a unrelated process to determine if another process 
is exiting and is in the state of having core dump.

		In solaris, this can be determined using libkvm(checking process flags 
for SDOCORE and COREDUMP). Is there a way to do this in linux 2.6

	One of the things I observed is flag in /proc/<pid>/stat (9th 
attribute) is set to non-zero after process receives a signal to quit 
after core dump (SIGABRT, SIGQUIT etc.). Is it an indication that 
process is going to exit or what does it indicates.
	
	Is there some other way to determine this. I don't want to limit size 
of core file to 0 using ulimit, as this file is required to be analyzed 
later.
	Also, while process is exiting and it receives another signal, it is 
corrupting the core dump.

-Nirendra

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

             reply	other threads:[~2004-06-07 11:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07 10:21 Nirendra Awasthi [this message]
2004-06-07 12:22 ` Nirendra Awasthi

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='ca1fk9$92t$3@sea.gmane.org' \
    --to=linux@nirendra.net \
    --cc=linux-mm@kvack.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