Practice
The given example displays how to check if the processor is busy or idle.
# SAR -u 2 2
17:59:40 %usr %sys %wio %idle (-u)
17:59:42 0 0 0 100
17:59:44 0 0 0 100
Average 0 0 0 100
In the given example, %sys represents the percentage of time in which the processor is in system mode. The %user represents the percentage of time the processor is in user mode. %wio denotes the percentage of time the processor is idle or waiting for I/O completion. %idle displays the percentage of time the processor is idle and is not waiting for Input/ Output. SAR reports may denote in which the processor takes more time in processing the user requests. There may be some programs in which use several unwanted system calls, which is, some shell scripts that may refer unwanted files that results in unwanted system calls.