Search Results

Search: Posts Made By: aman jain
8,653
Posted By aman jain
how to capture PID for a child script
Thanks for the information about trap command. I'm stuck in a specific situation here. I have a code snippet.

#!/bin/ksh
set -vx
PID=$$
echo "parent PID =$$"
echo "calling process1"
....
8,653
Posted By aman jain
how to capture PID for a child script
thanks for your response. But i found what i was looking for.
by $! we can capture the pid for the processes ran in background.
8,653
Posted By aman jain
how to capture PID for a child script
Hi,

I'm looking for a method where we can capture the PID and if possible the progress of child process especially the ones running in background.

can anyone help?
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy