SilkyFalcon

Generation

linuxWed, 23 Nov 2022

Get cpu usage in percentage

top -b -n1 | grep "Cpu(s)" | awk '{print $2 + $4}'

Want to kickstart your project?Use the new AI Studio to create your code