I want to count the CPU usage approximately but I don’t want to use accton or any other software. Just only script.
Can I use top to get the topmost CPU usage or memory usage’s process name?
When I use top -b I get a lot of unuseful information.
I want to count the CPU usage approximately but I don’t want to use
Share
For cpu usage:
For memory: