From 05475f60a3ee2b66b9e8213cabe3db0c6ea83dd7 Mon Sep 17 00:00:00 2001 From: jjanella <1+jjanella@noreply.localhost> Date: Tue, 11 Aug 2026 18:55:51 -0400 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6b3c95..e2ab0a3 100644 --- a/README.md +++ b/README.md @@ -177,13 +177,15 @@ The results will look almost identical to my A1. Each 'frame' will show the opti ``` ### Examples: Graph the memory usage every half second for 20 samples +``` ./myMonitoringTool 20 500000 --memory ./myMonitoringTool --memory --samples=20 --tdelay=500000 - +``` Graph the cpu usage every half second for 200 samples, then show system information +``` ./myMonitoringTool 200 500000 --cpu --cores ./myMonitoringTool --cpu --cores --samples=20 --tdelay=500000 - +``` ## 8. Test Cases I tested for one-off errors in number of samples printed in the graph, capping values to 100% and prventing them from going over the graph, different combinations of Ctrl+C/Z and resuming, and various CLA arguments. All goes well and all cases are handled. If invalid CLA are provided the program will warn to STDOUT (not STDERR like others as this is the users err so they have to look at it) and exit.