To find out how efficiently a program a used the system resources, which command is used?
To find out how efficiently a program a used the system resources, which command is used? Correct Answer time
When there are multiple versions of a program and we want to find out how efficiently they’ve used the system resources we can use the time command. The time command accepts the entire command line to be timed as its argument. It executes the command and also displays the time usage on the terminal. For example, $ time sort -o emp.txt invoi.txt real 0m19.811s // time elapsed from the invocation of command until its termination user 0m1.851s // time spent in executing itself sys 0m9.761s // time spent by the kernel in doing work on behalf of the user process
মোঃ আরিফুল ইসলাম
Feb 20, 2025