Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2013 17:50:01 GMT
From:      Kirill Diduk <kirill.diduk@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/177860: top(1) does not show time units when time &gt; 999 days.
Message-ID:  <201304151750.r3FHo1ne036709@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/177860; it has been noted by GNATS.

From: Kirill Diduk <kirill.diduk@gmail.com>
To: bug-followup@FreeBSD.org, mitya@yandex-team.ru
Cc:  
Subject: Re: bin/177860: top(1) does not show time units when time &gt; 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".



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