Subject: kern/18910: time(1) reports garbage user and system times
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gson@gson.org>
List: netbsd-bugs
Date: 11/03/2002 16:25:40
>Number:         18910
>Category:       kern
>Synopsis:       time(1) reports garbage user and system times
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 03 16:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Gustafsson
>Release:        NetBSD 1.6I (-current as of Oct 20, 2002)
>Organization:
>Environment:
System: NetBSD guava.araneus.fi 1.6I NetBSD 1.6I (GUAVAMP) #1: Sun Oct 6 19:38:50 PDT 2002 gson@guava.araneus.fi:/usr/src/sys/arch/i386.sp/compile/GUAVAMP i386
Architecture: i386
Machine: i386
>Description:

When I build a NetBSD release using a command like

  time build.sh -j 2 -d -D $build/destdir -R $build/release -T $build/tools -O $build/obj

on a dual AMD Athlon 1800 running a multiprocessor kernel, the output
from time(1) frequently has garbage in the user and/or system time
fields.  Here are two specimens:

    9051.58 real      4255.13 user -140461532.55 sys

    3970.16 real -1306333211.13 user -1446799052.29 sys

I have also seen similar garbage in the output from "ps -S".

>How-To-Repeat:

See above.

>Fix:

Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: