From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 15 17:50:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6D3D2AFD for ; Mon, 15 Apr 2013 17:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5CA9510F7 for ; Mon, 15 Apr 2013 17:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3FHo10S036710 for ; Mon, 15 Apr 2013 17:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3FHo1ne036709; Mon, 15 Apr 2013 17:50:01 GMT (envelope-from gnats) Date: Mon, 15 Apr 2013 17:50:01 GMT Message-Id: <201304151750.r3FHo1ne036709@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kirill Diduk Subject: Re: bin/177860: top(1) does not show time units when time > 999 days. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kirill Diduk List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 17:50:01 -0000 The following reply was made to PR bin/177860; it has been noted by GNATS. From: Kirill Diduk To: bug-followup@FreeBSD.org, mitya@yandex-team.ru Cc: Subject: Re: bin/177860: top(1) does not show time units when time > 999 days. Date: Mon, 15 Apr 2013 20:42:45 +0300 Hello, I think, it's not a bug. Here is what I have found in the "top" source code: /* Explanation: We want to keep the output within 6 characters. For low values we use the format mm:ss. For values that exceed 999:59, we switch to a format that displays hours and fractions: hhh.tH. For values that exceed 999.9, we use hhhh.t and drop the "H" designator. For values that exceed 9999.9, we use "???". */ So, omiting 'H' designator for values more than 999 days is normal behavior of "top".