The uptime and top commands can be used to determine how long the system has been running. The uptime command displays the current time, the system load, the number of users logged in, and the time since the system was last booted. The top command displays information about the processes running on the system, as well as the system load, the number of users logged in, and the time since the system was last booted. The other options are either invalid or do not perform the desired task. The up command is not a valid Linux command. The uname -u command displays the user ID of the current user, not the system uptime. The time –up command is not a valid syntax for the time command, which measures the execution time of a command, not the system uptime. References:
LPIC-1 Exam 101 Objectives, Topic 103: GNU and Unix Commands, 103.2 Process management
LPIC-1 Linux Administrator 101-500 Exam FAQ, LPIC-1 Exam 101 Objectives, GNU and Unix Commands (Total Weight: 25)
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit