You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -202,6 +202,51 @@ This diagram provides an overview of the key classes and functions in the projec
202
202
203
203
## Basic docker prompts
204
204
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.
0 commit comments