[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Finding CPU Usage of A Process


What's the reason behind the difference in CPU usage outputs of the
commands "ps -oe pcpu,args | grep [q]emu" and "top -b -n 1 | grep
qemu". OTOH, while "top" output is accurate, "ps" output is always quite
low. And what are my alternatives over above commands to find the CPU
usage of a specific process from command line?


Reply to: