Originally Posted by John.Michael.Kane Try these lines. Code: Core: ${execi 8 sensors | grep -A 1 'CPU Temp:' | cut -c12-17 | sed '/^$/d'}C MB: ${execi 8 sensors | grep -A 1 'M/B Temp:' | cut -c12-17 | sed '/^$/d'}C OK, I see this on my screen: (less the stuff in brackets) Core: +49 +41.0 MB: +41.0 1.650 C
Core: ${execi 8 sensors | grep -A 1 'CPU Temp:' | cut -c12-17 | sed '/^$/d'}C MB: ${execi 8 sensors | grep -A 1 'M/B Temp:' | cut -c12-17 | sed '/^$/d'}C
Last edited by Bruce M.; January 16th, 2008 at 06:02 PM.
View Tag Cloud
Ubuntu Forums Code of Conduct
Bookmarks