Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

process id

Status
Not open for further replies.

bandez

IS-IT--Management
Jul 8, 2002
42
GB
Hi !!

How can find out the process id of a dead process?
I mean , if somebody kill a process how I can define the process id .
I think there is no way to do that but... maybe there is.
 
You are right -- once it's killed, you won't know the process ID. However, there are some processes that write their process ID to a text file when they are started. If that is the kind of process that was killed, you might be able to find it in the text file -- if you know where the file is.
 
If you have a script you can print the $$ var to show your script's pid. Works on the command line too, gives pid of your shell. IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top