![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| command terminated abnormally | tkbharani | UNIX for Advanced & Expert Users | 0 | 08-02-2007 03:36 AM |
| Recursive method call getting terminated ??? | tipsy | Shell Programming and Scripting | 3 | 10-18-2006 10:44 AM |
| start time of a terminated process | k_chaaya | UNIX for Advanced & Expert Users | 2 | 09-04-2006 12:57 AM |
| Process got terminated automatically | Elango | AIX | 4 | 01-02-2006 11:37 PM |
| How to supress a "Killed" message when a process is terminated? | kenwolff | UNIX for Advanced & Expert Users | 2 | 03-22-2004 11:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
PID - Getting the processname of terminated/old Process
Hi all!
I'm using CentOS 5.2 with KDE. Is it possible to get a processname/cmd of a terminated process (= PID not present with PS-command) ? Are the processnames/scriptnames logged somewhere? (I did not find them in /var/log/messages) Last edited by JohnMurdoch; 08-27-2008 at 04:24 AM.. |
|
||||
|
There is not normally any way to recover the PID of a process after it's removed from the process table. Some process-accounting add-ons such as sar might be able to provide you with this information.
|
|
||||
|
There is some standardization but no generally applicable convention, other than that 0 means success and other values are failure codes. Examine the exit codes for grep as a good example (they are explained in its manual page); many of them are rather specific to the application.
|
|
||||
|
Actually on Linux /usr/include/errno.h is just a morass of conditional #includes and no real documentation. /usr/include/asm-generic/errno-base.h is closer to what used historically to be in the generic top-level errno.h; see also asm-generic/errno.h
|
| Sponsored Links | ||
|
|