It doesn't have to Hertz
8:03 PM
When doing some performance analysis, it
is necessary to know the smallest kernel time slice. This value is
buried in the kernel headers and config system. So, how do you find what
this value is without installing the kernel source or the kernel
headers? Easy. Use Perl!
Just copy-n-paste the perl statement onto a command line and press Enter. Root privileges not necessary.
$ perl -e 'use POSIX; print POSIX::sysconf(&POSIX::_SC_CLK_TCK) . "\n";' 100
0 comments