LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-07-2005, 06:42 AM   #1
Pavan mahoorker
LQ Newbie
 
Registered: Sep 2004
Location: Bangalore
Posts: 7

Rep: Reputation: 0
How to know on termination or exit of a perticular process in Unix


Hi,
I have a process XYD with PID ABC and i want to get intimated on the exit or termination of this process. Is there are any system call which helps to achive this. And one more thing is i dont want to use /proc file system or any unix flavor dependent calls like "PS -xy" or TOP & etc.....

Making still more clarifications...
i am writing a Unix script but now a C program, so lot of limitations are there. More things to add are i dont want to use any blocking commands like wait, sleep and i have issues with Signals so dont even want to use signals as signals work only within the process family (Ex. SIGCLD).

regards
-Pavan

Last edited by Pavan mahoorker; 06-07-2005 at 07:51 AM.
 
Old 06-07-2005, 07:28 AM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
You're looking for the return command probably.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH connection termination during a running process... jayemef Linux - General 1 08-16-2005 12:41 PM
Bash - background process and exit ?? michael_util Programming 4 01-05-2005 12:03 PM
Spooler unix process did not start nyumedic2000 Linux - Newbie 2 08-30-2003 10:15 AM
child process did not exit kaidoggy Linux - General 0 10-18-2002 10:36 AM
Linux process termination souvik Programming 1 04-12-2002 06:55 PM


All times are GMT -5. The time now is 01:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration