bin/177860: top(1) does not show time units when time > 999 days.

Kirill Diduk kirill.diduk at gmail.com
Mon Apr 15 17:50:01 UTC 2013


The following reply was made to PR bin/177860; it has been noted by GNATS.

From: Kirill Diduk <kirill.diduk at gmail.com>
To: bug-followup at FreeBSD.org, mitya at 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".


More information about the freebsd-bugs mailing list