Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 1995 07:30:10 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-commiters@freefall.cdrom.com, cvs-ports@freefall.cdrom.com, swallace@freefall.cdrom.com
Cc:        wosch@cs.tu-berlin.de
Subject:   Re: cvs commit: ports/utils/top/scripts post-configure
Message-ID:  <199501042030.HAA03954@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified:    utils/top/files machine.c top.1
>...
>  o use 128 Hertz (2<<(SHIFT_HZ)-1) instead 100Hz from variable hz

This should look at the kernel variable `stathz' and set
hz = (stathz ? stathz : hz).  E.g., see the iostat and systat sources.

SHIFT_HZ is a private kernel macro related to hz.  It has nothing to
do with stathz.

Bruce



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