The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can a child process return a specific value to a parent process ? Ametis1970 High Level Programming 8 04-09-2008 11:22 PM
Child process is not getting started Crab High Level Programming 5 09-17-2006 09:15 PM
about child process compbug UNIX for Dummies Questions & Answers 12 03-22-2006 07:55 PM
gdb to child process shriashishpatil UNIX for Advanced & Expert Users 4 12-12-2005 07:57 AM
Child Process PID skannan High Level Programming 2 06-10-2002 07:54 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-18-2005
larryase larryase is offline
Registered User
  
 

Join Date: Nov 2004
Posts: 69
KDM child process

Hello all,

I got this little problem. I don't know what happen, but its not stopping work but is more of an FYI. I have this funny process running when I do ps -aef (on RedHat AS3 ) server I get this funny child process.

root 2345 1 .... /usr/bin/kdm -nodaemon
root 2346 2345 ... -:0

does anyone know what the second -:0 means or what it does? I think this is for X display. But this only seems to happen to some of the machine not all. If anyone knows. I would like to know how to configure to stop it. THANKS
  #2 (permalink)  
Old 01-18-2005
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2004
Location: USA
Posts: 511
Quote:
root 2346 2345 ... -:0
Can you get here all the fields of that process ?
  #3 (permalink)  
Old 01-18-2005
larryase larryase is offline
Registered User
  
 

Join Date: Nov 2004
Posts: 69
here it is

root 20734 20720 0 Jan18 ? 00:00:00 -:0

that how it looks. Funny
  #4 (permalink)  
Old 01-19-2005
larryase larryase is offline
Registered User
  
 

Join Date: Nov 2004
Posts: 69
I think this is a orphan process. I think this is a reset of me restart the X server from remote. Any idea?
  #5 (permalink)  
Old 01-19-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
It is certainly not an orphan since the ppid is not 1. It is a process which chosen to hide it's argument list. Do a "ps -lp 20734".
  #6 (permalink)  
Old 01-24-2005
larryase larryase is offline
Registered User
  
 

Join Date: Nov 2004
Posts: 69
Perderabo,

Here is the out put of the command:
Code:
F   S  UID    PID   PPID   C  PRI   NI    ADDR     SZ    WCHAN    TTY   CMD
1   S   0     3352   3334  0  77     0        -      699    pipe_w      ?      kdm
This pid is different from the orign, becasue I have rebooted the machine. The parent is the /usr/bin/kdm -nodaemon (3334). I don't really understand the output. If you could explain, that wouel be great. THANKs in advance.

Last edited by Perderabo; 01-24-2005 at 05:25 PM.. Reason: add code tags for readability
  #7 (permalink)  
Old 01-24-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
The code tags didn't help much in lining up the text.

The important field is CMD which is "kdm". Since the process had clobbered its arguments, you couldn't tell much from "ps -f". So now you know what the process is. kdm has forked a child process, but it did not exec another program.

Also pid is the process id of this process. ppid is the process id of the parent of this process. Should the parent die, this ppid will change to 1. That did not happen, so this this processs cannot be orphaned.

That's about all that you can gleen from this ouput, but it does answer a couple of questions that you raised. I'm not a kdm expert so I don't know how to stop this process from coming into existence which seems to be what you want.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0