Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 1998 18:12:22 +0930 (CST)
From:      Greg Lehey <grog@lemis.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/7881: Current ps -u not showing correct %CPU and %MEM values
Message-ID:  <199809100842.SAA11394@freebie.lemis.com>

next in thread | raw e-mail | index | archive | help

>Number:         7881
>Category:       bin
>Synopsis:       The %CPU and %MEM fields in ps -u are always 0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 10 01:50:00 PDT 1998
>Last-Modified:
>Originator:     Greg Lehey
>Organization:
LEMIS
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	Recent 3.0-CURRENT

>Description:

	In -CURRENT versions supped on 30 August and 6 September (and
	presumably in between), ps -u shows %CPU and %MEM values of
	0.0 for all processes.

	This may be a kernel problem, but top shows the values
	correctly.  For example, on a looping process:

	ps:

	USER   PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
	grog  6030  0.0  0.0 96168 60812  v0  R     7:01PM  10:54.06 /T/local/bin/netscape

	top:

	  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
	 6030 grog     105   0 96168K 60812K RUN     11:08 89.65% 89.65% netscape



>How-To-Repeat:

	Run ps -aux

>Fix:
	
	Not known


>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809100842.SAA11394>