Date: Mon, 27 Apr 2015 13:16:05 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 32667] systat(1) waste too much time reading input Message-ID: <bug-32667-8-O4cqc1ITVV@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-32667-8@https.bugs.freebsd.org/bugzilla/> References: <bug-32667-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=32667 Jilles Tjoelker <jilles@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed CC| |jilles@FreeBSD.org Resolution|--- |DUPLICATE --- Comment #7 from Jilles Tjoelker <jilles@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-32667-8-O4cqc1ITVV>