From owner-freebsd-alpha Thu Jan 31 15:35: 3 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 747E937B416 for ; Thu, 31 Jan 2002 15:35:01 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020131233501.MQPT26243.rwcrmhc51.attbi.com@peter3.wemm.org> for ; Thu, 31 Jan 2002 23:35:01 +0000 Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id g0VNZ0s57063 for ; Thu, 31 Jan 2002 15:35:00 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 965D53809; Thu, 31 Jan 2002 15:35:00 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Steve Price Cc: alpha@FreeBSD.ORG Subject: Re: ps(1) output Q In-Reply-To: <20020130220015.B14534@bsd.havk.org> Date: Thu, 31 Jan 2002 15:35:00 -0800 From: Peter Wemm Message-Id: <20020131233500.965D53809@overcee.wemm.org> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Steve Price wrote: > Here's a really stupid question but something I've wondered for a long > time. Why is it that the output of ps(1) on the Alpha always looks like > this? > > PID TT STAT TIME COMMAND > 77337 p0 Ss 0:00.21 (csh) > 78179 p0 R+ 0:00.00 (ps) > > While on the x86 it look like this? > > PID TT STAT TIME COMMAND > 80796 p0 Is+ 0:00.04 zsh > 14534 r5 I+ 3:48.99 mutt -y > > Can anyone point out what I'm obviously missing besides a clue? :) This is a 4.x bug in the ps and psargs sysctls. I fixed this in -current some time ago. If you dont have /proc mounted (eg: on the axp* cluster) then ps does silly things. It was something silly like a SYSCTL_INT() pointing to a long or vice versa and/or libkvm having a different size to what the kernel had. I'll see if I can find it. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message