Skip to content

Commit 846af86

Browse files
Copilotj143
andcommitted
Update README with monitoring system documentation
Co-authored-by: j143 <53068787+j143@users.noreply.github.com>
1 parent e6877ea commit 846af86

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,51 @@ This diagram provides an overview of the key classes and functions in the projec
202202

203203
## Basic docker prompts
204204

205+
### Docker Monitoring System
206+
207+
The basic-docker engine now includes comprehensive monitoring capabilities that address the "Docker monitoring problem" by providing visibility across process, container, and host isolation levels.
208+
209+
#### Monitor Commands
210+
211+
```bash
212+
# Monitor host-level metrics
213+
./basic-docker monitor host
214+
215+
# Monitor specific process
216+
./basic-docker monitor process <PID>
217+
218+
# Monitor specific container
219+
./basic-docker monitor container <container-id>
220+
221+
# Monitor all levels (process, container, host)
222+
./basic-docker monitor all
223+
224+
# Analyze monitoring gaps between isolation levels
225+
./basic-docker monitor gap
226+
227+
# Show correlation between monitoring levels
228+
./basic-docker monitor correlation <container-id>
229+
```
230+
231+
#### Example Output
232+
233+
```bash
234+
./basic-docker monitor correlation container-1234
235+
```
236+
237+
Shows the correlation table as described in the Docker monitoring problem:
238+
239+
| Aspect | Process | Container | Host |
240+
|--------|---------|-----------|------|
241+
| Spec | Source | Dockerfile | Kickstart |
242+
| On disk | .TEXT | /var/lib/docker | / |
243+
| In memory | PID | Container ID | Hostname |
244+
| In network | Socket | veth* | eth* |
245+
| Runtime context | server core | host | data center |
246+
| Isolation | moderate | private OS view | full |
247+
248+
See [MONITORING.md](MONITORING.md) for detailed documentation.
249+
205250
### `basic-docker info`
206251

207252
```bash

0 commit comments

Comments
 (0)