View Single Post
Old 03-24-2016, 09:46 PM   #11
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
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

Last edited by knc1; 03-24-2016 at 09:55 PM.
knc1 is offline   Reply With Quote