From owner-freebsd-questions Thu Jul 22 19: 6: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 9CC9414E9A for ; Thu, 22 Jul 1999 19:05:55 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA29794; Fri, 23 Jul 1999 11:34:22 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA33822; Fri, 23 Jul 1999 11:34:19 +0930 (CST) Date: Fri, 23 Jul 1999 11:34:19 +0930 From: Greg Lehey To: Joshua Albertson Cc: Ben Gras , freebsd-questions@FreeBSD.ORG Subject: Re: ps question Message-ID: <19990723113419.F84734@freebie.lemis.com> References: <01BED445.030F0320.jalbertson@jcrt.harvard.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <01BED445.030F0320.jalbertson@jcrt.harvard.edu>; from Joshua Albertson on Thu, Jul 22, 1999 at 01:20:47PM -0400 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 22 July 1999 at 13:20:47 -0400, Joshua Albertson wrote: > On Thursday, July 22, 1999 10:36 AM, Ben Gras wrote: >>> ps currently reports a start time of "Wed Dec 31 19:00:00 1969" for all my processes. >>> what may be causing ps to incorrectly report lstart? >>> clock is functioning, procfs looks allright... >> >> First of all, make sure your kernel and ps binary are in sync .. > > ok, I just cvsupped ps and kernel, compiled, installed, rebooted,... > > bash-2.02$ ps aux > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > j 208 0.0 0.3 392 228 p0 R+ 31Dec69 0:00.01 ps -aux > root 1 0.0 0.4 500 288 ?? SLs 31Dec69 0:00.02 /sbin/init -- > root 2 0.0 0.0 0 0 ?? DL 31Dec69 0:00.00 (pagedaemon) > root 3 0.0 0.0 0 0 ?? DL 31Dec69 0:00.00 (vmdaemon) > root 4 0.0 0.0 0 0 ?? DL 31Dec69 0:00.00 (bufdaemon) > root 5 0.0 0.0 0 0 ?? DL 31Dec69 0:00.00 (syncer) > root 35 0.0 0.1 204 84 ?? Is 31Dec69 0:00.00 adjkerntz -i > root 102 0.0 0.8 828 560 ?? Ss 31Dec69 0:00.10 syslogd > daemon 111 0.0 0.6 828 416 ?? Is 31Dec69 0:00.00 portmap > ... > bash-2.02$ date > Thu Jul 22 13:07:21 EDT 1999 First, you shouldn't be asking these questions on -questions. If you're running -CURRENT, you should be subscribed to FreeBSD-current. But you shouldn't ask this question there either: it's a FAQ. From "The Complete FreeBSD" One of the more common problems that people see after building a new -CURRENT kernel looks like this: $ ps ps: proc size mismatch (15800 total, 656 chunks) This is a sure indication that your ps program or the kvm library no longer match your kernel. To solve this problem, do the following: # cd /usr/src/lib/libkvm # make all install clean # cd /usr/src/bin/ps # make all install clean Yes, it doesn't cover the possibility that the output is just garbled. But it's the same problem. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message