10-04-2006
child process
if i give man jobs i am getting the answer as "command not found"
cheers.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello every one,
i want to know more about creation of child process.
UNDER WHAT CIRCUMSTANCES child process is created?
WHAT ARE THE PREREQUISITES for a child process to be created?
let us say we have a prog.c, prog.obj(compiled.c),.a\.out files.
is any child PROCESS CREATED... (12 Replies)
Discussion started by: compbug
12 Replies
2. Shell Programming and Scripting
Hello.
I have a global function name func1() that I am sourcing in from script A. I call the function from script B. Is there a way to find out which script called func1() dynamically so that the func1() can report it in the event there are errors?
Thanks (2 Replies)
Discussion started by: yoi2hot4ya
2 Replies
3. Programming
Hi,
When i m trying to run below code,its entering into wait stage.
output: In parent
pid=2134 // some random value assigned to child process
parent waiting.....
and then it keeps on waiting for child to get terminate
Y this child is not getting... (5 Replies)
Discussion started by: Crab
5 Replies
4. Programming
Hi all, i need to execute a program from within my c++ code. This is no problem. system(), fork(), execxy(). But now i want to able to execute the program as another user as the parent process.
The whole thing is on solaris. I should be possible for both, users with no shell and no password... (1 Reply)
Discussion started by: heck
1 Replies
5. Shell Programming and Scripting
I am calling another script from my main script and making it run in the background,based upon the value of the input provided by the user I want to kill the child process ,I have written this code
timer.ksh &
PID=$$
print "\n Do you wish to continue .. (Y/N) : \c "
read kill_proc
if ]... (4 Replies)
Discussion started by: mervin2006
4 Replies
6. Shell Programming and Scripting
How to create a child shell ? (1 Reply)
Discussion started by: anupdas
1 Replies
7. Shell Programming and Scripting
Hi ,
I want to find out the child process name given its PID. I have used the ps command but it displays the parent process name against child PID.
Is there any way to find out name of child program executing under any parent program? (1 Reply)
Discussion started by: sneha_heda
1 Replies
8. HP-UX
Hi,
Is there a way or a command to remove defunct processes on my hp-ux server?
Its shows a lot of them and i think its affecting the performance of the server.
who -d |wc -l
580
who -d shows
aktarafr pts/109 Oct 1 15:05
passji pts/119 Feb 25 14:20
forthm ... (6 Replies)
Discussion started by: jinslick25
6 Replies
9. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I need to make an program that in a loop creates one parent and five children with fork(). The problem i'm trying to solve is how to delete the parent and child of the childīs process.
2. Relevant commands, code, scripts,... (0 Replies)
Discussion started by: WhiteFace
0 Replies
10. Shell Programming and Scripting
Hi everyone
i am very new to linux , working on bash shell.
I am trying to solve the given problem
1. Create a process and then create children using fork
2. Check the Status of the application for successful running.
3. Kill all the process(threads) except parent and first child... (2 Replies)
Discussion started by: vizz_k
2 Replies
LEARN ABOUT HPUX
list_child
list child(1m) list child(1m)
NAME
list child - Displays a list of all the child pointers whose names match the specified child name
SYNOPSIS
cdscp list child child-name [with attribute-name = attribute-value]
ARGUMENTS
The full name of a specific child pointer. The last simple name can contain wildcard characters. The name of a particular attribute. The
value of a particular attribute.
DESCRIPTION
The list child command displays a list of all the child pointers whose names match the specified child name. The last simple name can con-
tain wildcard characters. You can use a with attribute-name = attribute-value clause to limit output only to child pointers whose
attributes have values equal to the specified values. A space must precede and follow the = (equals sign).
Privilege Required
You must have read permission to the directory that stores the child pointer. If you use a with attribute-name = attribute-value clause in
the command, you also need read or test permission to the selected child pointers.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command displays a list of all the child pointers named in the /.:/sales directory:
cdscp> list child /.:/sales/*
LIST
CHILD /.../abc.com/sales
AT 1991-10-15-15:56:00 Q1 Q2 Q3 Q4
RELATED INFORMATION
Commands: create child(1m), delete child(1m), show child(1m)
list child(1m)