Hi, i have a script that use the code below to show cpu usage in a web page, the code is write for arch linux, how can i modify the code to extract the CPU data usage in Tiny Core?
$CPUUSE="ps aux|awk 'NR > 0 { s +=$3 }; END {print \"cpu %\",s}' | awk '{ print $3 }'";
Thanks in advance Luca