[LIP] Determining whether a process is exiting
Nirendra Awasthi <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
Hi, Is there a way for a unrelated process to determine if another process is exiting and is in the process of 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 flag in /proc/<pid>/stat (9th attribute) is set to non-zero after process receives a signal. 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 may be analyzed later. -Nirendra ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504