Is there a command which can show CPU usage information (both for overall cpu and for individual cores), in a static way (i.e. just once) similar to how
free shows memory usage information?
When we run
top, the cpu information at the top part after hitting
1 to show individual core usage as well as overall cpu usage may be what I want. But
top by default dynamically update the information, and output more information (memory and per process information) than I need.