inxi is a full featured CLI system information tool. It is available in most Linux distribution repositories, and does its best to support the BSDs.
Go to file
inxi-svn dc4ed951b1 (change version)
a small issue fix, where cpu spike caused by inxi itself gives a bad cpu speed. Solution, put a 0.3 sleep time right before we get the cpu 
data.

Less than 0.3 wasn't s reliable, not sure how much time the kernel needs to slow down cpus again.

user can set config override of this time easily.

Maybe one day inxi will be released with config files in /etc, then this stuff can be documented better in the file.

I found the sleep largely unnoticeable in my tests.
2010-02-15 05:05:47 +00:00
inxi (change version) 2010-02-15 05:05:47 +00:00