Browse Source

Improve the README

Add example of the output expected ...
Oz Tiram 5 years ago
parent
commit
34e3351571
1 changed files with 14 additions and 2 deletions
  1. 14 2
      README.md

+ 14 - 2
README.md

@@ -42,9 +42,21 @@ $ make test
 
 Usage
 -----
+```
+$ gutpa [-c|-l|-m|-p <partition>|-n <interface>] [-f <sec>]
+```
 
-gutpa [-c|-l|-m|-p <partition>|-n <interface>] -i <sec>
-
+You should see something like this:
+```
+$ gupta -c 
+{
+   "timestamp": <epoch>,
+   "metrics": [
+      {"name": "cpu user", "metric": 60.0},
+	  ...
+   ]
+}
+```
 
 Removing
 --------