Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!ix.netcom.com!news.maxwell.syr.edu!mr.net!newshub.tc.umn.edu!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: A shell oddity (bug?) Date: 13 Mar 1997 23:34:15 GMT Organization: Private BSD site, Dresden Lines: 21 Message-ID: <5ga2tn$pp@uriah.heep.sax.de> References: <jpt2g5.q2c.ln@dolphin.neosoft.com> <33274B3D.41C67EA6@worldnet.att.net> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37031 Steven Farmer <stevenfarmer@worldnet.att.net> wrote: > The real oddity is the fact that the grep command doesn't *always* > appear! It seems that there must oftentimes be a large delay between > the creation and scheduling of a process and the appearance of the > process info in /proc. Perhaps the more enlightened out there > can comment on this. /proc is not the culprit. ps (still) obtains the process list from /dev/mem. Prove: umount /proc, ps will still work, but won't display the process's start time and the argument list. Someone else already explained why it's random whether the grep can be seen in the list or not. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)