On Wed, Jul 29, 2009 at 11:06:54AM -0400, Robert P. J. Day wrote: > > almost certainly about to embarrass myself with this question, but > is there a quick way to list the current HZ value for the running > kernel? without writing a C program. something under /proc, perhaps?
sysconf(_SC_CLK_TCK) Linux exports HZ to userspace via AT_CLKTCK auxiliary vector entry, for more details see include/linux/auxvec.h. The vector is area between process's environ[] and argv[]. I guess glibc reads the vector for the sysconf() call. Karel -- Karel Zak <k...@redhat.com> -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ