Uptime and Load Average Audit
Beginner Mode
Start your terminal to use beginner mode.
Scenario
A Linux server is under review for stability and recent performance evaluation.
Task
Use the uptime command to determine how long the server has been running and extract the 15-minute load average as a floating-point number (e.g., 0.45). Save the uptime to /home/devops/uptime.txt and the 15-minute load average to /home/devops/loadavg.txt.
Example
Contents of `/home/devops/uptime.txt`: `2 days, 5:37`
Contents of `/home/devops/loadavg.txt`: `0.45`
Terminal requires a larger screen
Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.
Linux Terminal Environment
Write and execute your solution in the terminal below.
Track
| Question | Difficulty | Company | Access |
|---|
Need more practice in this area? Explore more questions →
Microsoft