Display system uptime, logged-in user count, and one-, five-, and fifteen-minute load averages.
Which command is appropriate?
uptime prints continuous uptime, logged-in users, and the 1/5/15-minute load averages.
Detailed explanation
jobsIncorrect. jobs lists current-shell jobs.
kill -lIncorrect. kill -l lists signal names.
uptimeCorrect. uptime reports all requested system summary values.
fgIncorrect. fg changes a shell job's foreground state.
Try it yourself
An example you can run in a temporary verification environment.
uptimeExpected result
up期間、users、load average 3値Key points
- uptime
- Load average
- 1/5/15 minutes
Notes
- Environment: procps-ng系uptime
- Use a disposable process or test shell when checking lifecycle commands.
- Exact output and option names can vary slightly by distribution and tool version.
Foundation review
Place the operation
Load average is not a direct CPU percentage; interpret it with CPU count and I/O wait information.
Check the side effect
Compare all three windows to distinguish a brief spike from a sustained pressure trend.