Sponsored Content
Full Discussion: child processess
Top Forums Shell Programming and Scripting child processess Post 302091649 by uni_ajay_r on Wednesday 4th of October 2006 08:52:02 AM
Old 10-04-2006
child processess

Hi,
suppose i want to display the child processess that are running at the background.how do u do it.
ps -ef shows both parent and child processess i need to see only the child processess.


cheers.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

about child process

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

Parent/Child Processes

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

Child process is not getting started

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

fork() with su (child with other user)

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

killing a child process

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

child shell..

How to create a child shell ? (1 Reply)
Discussion started by: anupdas
1 Replies

7. Shell Programming and Scripting

Child Process Name

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

[Solved] How to remove / kill defunct processess?

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

Need help with deleting childīs parent and child subprocess

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

forking a child process and kill its parent to show that child process has init() as its parent

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
XmObjectAtPoint(library call)											     XmObjectAtPoint(library call)

NAME
XmObjectAtPoint -- A toolkit function that determines which child intersects or comes closest to a specified point SYNOPSIS
#include <Xm/Xm.h> Widget XmObjectAtPoint( Widget widget, Position x, Position y); DESCRIPTION
XmObjectAtPoint searches the child list of the specified manager widget and returns the child most closely associated with the specified x,y coordinate pair. For the typical Motif manager widget, XmObjectAtPoint uses the following rules to determine the returned object: o If one child intersects x,y, XmObjectAtPoint returns the widget ID of that child. o If more than one child intersects x,y, XmObjectAtPoint returns the widget ID of the visible child. o If no child intersects x,y, XmObjectAtPoint returns NULL. The preceding rules are only general. In fact, each manager widget is free to define "most closely associated" as it desires. For example, if no child intersects x,y, a manager might return the child closest to x,y. widget Specifies a manager widget. x Specifies the x-coordinate about which you are seeking child information. The x-coordinate must be specified in pixels, relative to the left side of manager. y Specifies the y-coordinate about which you are seeking child information. The y-coordinate must be specified in pixels, relative to the top side of manager. RETURN
Returns the child of manager most closely associated with x,y. If none of its children are sufficiently associated with x,y, returns NULL. RELATED
XmManager(3). XmObjectAtPoint(library call)
All times are GMT -4. The time now is 07:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy