lkml.org 
[lkml]   [1997]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectProcess 1, ppid != 0
Something odd just happened. I typed 'pstree -up' and was given what looked
like a 'recursive tree'.

Anyhow, I checked and for some reason, process 1 (init) thinks its ppid is 1
(itself). I've never seen this before.

This occurred under Linux 2.0.29. I have another 2.0.29 box which doesn't do
this. (ie. the ppid for process 1 is 0).

Any ideas?



-Chris

--------------------

blort:~# cat /proc/1/status
Name: init
State: S (sleeping)
Pid: 1
PPid: 1 <<-- Weird?
Uid: 0 0 0 0
Gid: 0 0 0 0
VmSize: 780 kB
VmLck: 0 kB
VmRSS: 324 kB
VmData: 208 kB
VmStk: 12 kB
VmExe: 20 kB
VmLib: 504 kB
SigPnd: 00000000
SigBlk: 00000000
SigIgn: d7f0defc
SigCgt: 280b2003
blort:/proc/1#

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.031 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site