Here’s my script, without any “0.0” processes:
do shell script "/bin/ps -Acr -o %cpu,command | /usr/bin/grep -v ' 0.0 ' | /usr/bin/ruby -ne 'STDIN.readlines.each {|thisLine| puts thisLine.strip.sub(\" \", \"\\n\")}'"
set psList to paragraphs of result
Not sure how to get Dashboard widget names.