User Story
As a Team Member participating in a server administration exercise,
I want to execute various terminal commands to gather server telemetry data (CPU, Load, Memory, Network, Disk),
so that I can gain hands-on experience with basic server monitoring tools and understand how to interpret their output to assess server performance.
Acceptance Criteria
Tasks
INVEST Principle
I: Independent, N: Negotiable, V: Valuable, E: Estimable, S: Small, T: Testable
- Independent: Yes, this exercise focuses specifically on command-line telemetry gathering and can be completed independently of other features, although it might be part of a broader training module.
- Negotiable: Yes, the specific commands or the depth of analysis could be slightly adjusted based on the learning goals or available time. For instance, different flags for
du could be explored.
- Valuable: Yes, provides direct, practical value to anyone needing to understand or troubleshoot server performance by teaching fundamental diagnostic commands.
- Estimable: Yes, the effort can be reasonably estimated based on the number of commands to run and the expected time for group discussion (e.g., likely 1-3 hours depending on depth).
- Small: Yes, the scope is limited to executing a defined set of commands and basic interpretation, making it suitable for a single learning session or lab.
- Testable: Yes, the acceptance criteria are directly testable by verifying that each command was run, output was observed, and discussion occurred.
Additional Context / Notes (Optional)
- This exercise is designed for learning and exploration, not for setting up a persistent monitoring solution.
- Emphasis should be placed on understanding the type of information each command provides.
- This is intended as group work, encouraging discussion and shared learning.
- Root/sudo privileges may be required for some commands (
iftop, nethogs, potentially apt-get).
User Story
As a Team Member participating in a server administration exercise,
I want to execute various terminal commands to gather server telemetry data (CPU, Load, Memory, Network, Disk),
so that I can gain hands-on experience with basic server monitoring tools and understand how to interpret their output to assess server performance.
Acceptance Criteria
topcommand and observe CPU usage, running processes, and memory overview.uptimecommand and identify the server's load average.free -mcommand and identify total, used, and free memory.grepanddmesgcommands to search logs for evidence of processes killed due to Out-Of-Memory errors.iftopto monitor network connection usage.nethogsto monitor network bandwidth usage per process.df -hto view filesystem disk space usage.du -h(in a relevant directory) to view directory disk space usage.Tasks
topand observe the output for at least one refresh cycle.uptimeand note the load averages.free -mand note the memory figures.grep -i -r 'killed process' /var/log/to search log files.dmesg | grep -i 'killed process'to search kernel messages.iftopandnethogsare installed; install usingsudo apt-get install iftop nethogsif needed.sudo iftopand observe network traffic flow.sudo nethogsand observe per-process network traffic.df -hand identify the main filesystem's usage.du -h(e.g.,du -h /var/logordu -h ~) and observe directory sizes.INVEST Principle
I: Independent, N: Negotiable, V: Valuable, E: Estimable, S: Small, T: Testable
ducould be explored.Additional Context / Notes (Optional)
iftop,nethogs, potentiallyapt-get).