From owner-freebsd-questions Sat Aug 31 18:25:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA29407 for questions-outgoing; Sat, 31 Aug 1996 18:25:48 -0700 (PDT) Received: from orion.webspan.net (root@orion.webspan.net [206.154.70.41]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA29402 for ; Sat, 31 Aug 1996 18:25:46 -0700 (PDT) Received: from localhost (gpalmer@localhost [127.0.0.1]) by orion.webspan.net (8.7.5/8.6.12) with SMTP id VAA22682; Sat, 31 Aug 1996 21:25:35 -0400 (EDT) X-Authentication-Warning: orion.webspan.net: Host gpalmer@localhost [127.0.0.1] didn't use HELO protocol To: "Frode Nordahl" cc: "questions@FreeBSD.org" From: "Gary Palmer" Subject: Re: Strange TCSH operation... In-reply-to: Your message of "Sat, 31 Aug 1996 13:17:54 BST." <199608311115.NAA03381@login.bigblue.no> Date: Sat, 31 Aug 1996 21:25:34 -0400 Message-ID: <22676.841541134@orion.webspan.net> Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk "Frode Nordahl" wrote in message ID <199608311115.NAA03381@login.bigblue.no>: > ftp:~> ps -aux |grep froden > froden 6428 0.0 0.1 628 12 p1 RV 1Jan70 0:00.00 -tcsh (tcsh) > froden 6409 0.0 6.8 628 972 p1 Ds 1:02PM 0:00.28 -tcsh (tcsh) > froden 6427 0.0 1.9 452 272 p1 R+ 1:03PM 0:00.01 ps -aux > ftp:~> Look at the PID's. The tcsh with the funny start time is actually the tcsh which is about to be turned into the 2nd half of your pipe (the grep). I am not 100% sure WHY, but something in the fork/exec process can cause that to happen ... for a VERY brief period, the parent exists with a funny start time. There must be a race condition or something. It's not all that important (since it only affects ps output), so I don't think anyone has spent time looking into why. The `problem' has been around for a while tho (probably all 2.x releases have had this). Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info