

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Docker Logs
incomplete
2: Stats
incomplete
3: Top
incomplete
4: Resource Limits
incomplete
This lesson's interactive features are locked, please to keep using them
The docker top command shows the running processes inside a container.
docker top CONTAINER [ps OPTIONS]
Use stats for entire containers and top for processes in a container.
Make sure you still have your cpu-stress and mem-stress containers running.
# Check the processes in the CPU-intensive container
docker top cpu-stress
# Check the processes in the memory-intensive container
docker top mem-stress
You should notice that the CPU intensive container has two processes with high CPU usage (The "C" column), while the memory intensive container only has one.
Answer the question.