im confuse to convert nanocore to core of CPU my formula is:
nanocore / 1000000000 = CORE (1000000000 is 1 billion)
if my linux os have 10 core. I want to calculator percentage cpu usage. This formula is:
(nanocore / 1000000000) / 10 * 100 = percentage cpu usage ?
is it right ?
我想它是你准确计算的
nanocore / 1000000000 = core
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.