Progress - the script reads:
Code:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
And outputs this string:
PHP Code:
<dl>
<dt style='font-style:bold'>Scaling Available Governors</dt>
<dd><ul>
<li>ondemand</li>
<li>userspace</li>
<li>powersave</li>
<li>performance</li>
</ul></dd>
</dl>
None too shabby for a first script using the PenLight library.
Which will look like this in the final page:
Scaling Available Governors- ondemand
- userspace
- powersave
- performance