[Bug 32667] systat(1) waste too much time reading input

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 27 13:16:05 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=32667

Jilles Tjoelker <jilles at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Progress                 |Closed
                 CC|                            |jilles at FreeBSD.org
         Resolution|---                         |DUPLICATE

--- Comment #7 from Jilles Tjoelker <jilles at FreeBSD.org> ---
For PR bin/107171, SVN r197956 changed systat to exit if getch() returns an
error other than [EINTR]. This fixes the infinite loop problem.

The VM_METER sysctl is inherently slow because what it does: it iterates over
all processes, threads and VM objects. The sysctl(8) output suggests that the
totals are computed every five seconds, but in fact this happens when the
sysctl is read.

*** This bug has been marked as a duplicate of bug 107171 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list