gpu - CPU on Ubuntu running high - Ask Ubuntu
in terminal used "top" check processes , how of cpu being used thought max 100%, restored 292,000 photos recoverjpeg on sda1 hdd, opened folder , nautalis fluctuating between 130% , 170% , should close program , @ risk of gpu locking ?
when looking @ cpu% or load factor have divide number of cpu cores x hyper threading. if have quad core processor hyper threading it's in interpreted 8 cpu's.
if cpu% shows 200% , 8 cpus real cpu usage 25%.
if load factor show ".92" , have 8 cpus real load factor ".115". in conky massage load factor (for 5 minutes, 10 minutes , 15 minutes) using:
${execpi .001 (awk '{printf "%s/", $1}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $2}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $3}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4}
the real cpu percentage can never go on 100% , real load factor can never go on 1 have mentally math dividing number of cpus or use conky accurate results instead of top
or whatever program using.
Comments
Post a Comment