<get total cpu usage in %> Hello! Can you please h...
# community-feeds
r
get total cpu usage in % Hello! Can you please help me to write a query for the current cpu usage in % under linux? I tried the following query, but as far as I know all the stats are from the boot time, so it can't calculate the current cpu usage. Also it shows it per core, but I would like to have it in total. select ((user+system)*100.0)/(user+system+idle) from cpu_time; Thank you! submitted by /u/Electronic_Ad2796 <a...