this will do the same
top -bn 1 | awk 'NR>7{s+=$9} END {print s}'
imho that code shows wrong number, you have to divide by number of cores.
in my case system monitor shows approx: 20/20/10/10...
Type: Posts; User: Vaphell; Keyword(s):
this will do the same
top -bn 1 | awk 'NR>7{s+=$9} END {print s}'
imho that code shows wrong number, you have to divide by number of cores.
in my case system monitor shows approx: 20/20/10/10...