Hey folks,
i build my own monitoring script and found only one fastest solution to get cpu usage per core, with:
It looks not perfect for me to extract usage per each core. May be anyone can recommend the best and easiest solution to get only cpu info for this command, without cut awk sed etc.
Many thanks in ahead.
i build my own monitoring script and found only one fastest solution to get cpu usage per core, with:
Code:
# vmstat -P
procs memory page disks faults cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7
r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy id us sy id us sy id us sy id us sy id us sy id us sy id us sy id
0 0 0 742M 30G 29 0 0 0 37 1 0 0 5 383 111 0 0 100 0 0 100 0 0 100 0 0 100 0 0 100 0 0 100 0 0 100 0 0 100
Many thanks in ahead.