Bug 195717 - [patch] Bug in top(1) man page
Summary: [patch] Bug in top(1) man page
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Eitan Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-05 16:58 UTC by Fernando Apesteguía
Modified: 2018-05-20 18:00 UTC (History)
1 user (show)

See Also:


Attachments
patch to top's man page (518 bytes, patch)
2014-12-05 16:58 UTC, Fernando Apesteguía
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Apesteguía freebsd_committer freebsd_triage 2014-12-05 16:58:42 UTC
Created attachment 150240 [details]
patch to top's man page

top doesn't show CPU time's statistics if -d1 is provided.There was a brief discussion[1] in freebsd-hackers@ about this. However, the fact that this is not explicitly stated in the documentation is at least, to my undestanding, a violation of POLA.

The complete solution would be to patch top so it's able to show those percentages even for -d1 (as the GNU's version does). Because there seems to be no interest in this, I provide a patch to the man page instead.


[1] http://lists.freebsd.org/pipermail/freebsd-hackers/2014-November/046573.html
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-05-20 18:00:07 UTC
A commit references this bug:

Author: eadler
Date: Sun May 20 17:59:59 UTC 2018
New revision: 333929
URL: https://svnweb.freebsd.org/changeset/base/333929

Log:
  top(1): Make lack of "percent" information explicit

  When count is 1, no delta information can be produced. Make this
  explicit.

  PR:		195717
  Submitted by:	fernape

Changes:
  head/usr.bin/top/top.1