101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 81


Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

Show Answer
Correct Answer: AC

The 'uptime' command provides a direct and clear output of how long the system has been running. The 'top' command, while primarily a process viewer, also includes information about system uptime within its detailed output. Both these commands can, therefore, be used to determine how long the system has been running.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclairOptions: AD
Oct 21, 2023

Command C, "top," is used to display dynamic system information about processes and system performance. While it provides information about running processes and system statistics, including uptime, it is primarily a process viewer rather than a command for directly displaying system uptime. Commands A and D, `uptime` and `uname -u`, are more focused on specifically reporting system uptime and are generally easier to use for that specific purpose.