Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-07-2005, 05: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

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).


Last edited by Pavan mahoorker; 06-07-2005 at 06:51 AM.
Old 06-07-2005, 06:28 AM   #2
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.


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 11:41 AM
Bash - background process and exit ?? michael_util Programming 4 01-05-2005 11:03 AM
Spooler unix process did not start nyumedic2000 Linux - Newbie 2 08-30-2003 09:15 AM
child process did not exit kaidoggy Linux - General 0 10-18-2002 09:36 AM
Linux process termination souvik Programming 1 04-12-2002 05:55 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:25 PM.

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